From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Fred Pederndong" <fred_j_pederndong(at)yahoo(dot)com>, <pgsql-ports(at)postgresql(dot)org> |
Subject: | Re: Windows XP could not get token information: 122 |
Date: | 2004-11-13 22:56:00 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE47613D@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
This is clearly a case of oversight in my fix of token buffers in
src/backend/port/win32/security.c.
pgwin32_is_admin() correctly uses a dynamic buffer. pgwin32_is_service()
does not.
I'll code up a patch for this tomorrow, unless beaten to it. If you want
to do it yourself, just copy the logic from is_admin to is_service. note
that there are two calls to gettokeninformation in is_service - both
need dynamic buffers.
//Magnus
-----Original Message-----
From: Fred Pederndong [mailto:fred_j_pederndong(at)yahoo(dot)com]
Sent: den 9 november 2004 21:33
To: pgsql-ports(at)postgresql(dot)org
Subject: [PORTS] Windows XP could not get token information: 122
Greetings,
I built postgreSQL 8.0 beta 4 from scratch on Windows XP SP1
using minGW/MSYS and encountered the following error when attempting to
run the resulting executable:
could not get token information: 122
I appreciate any help...
Fred J.
_____
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Alejandro D. Burne | 2004-11-15 14:07:14 | Problem installing Postgresql on MDK10.0 |
Previous Message | Fred Pederndong | 2004-11-09 20:32:34 | Windows XP could not get token information: 122 |