Re: krb_server_keyfile setting doesn't work on Windows - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: krb_server_keyfile setting doesn't work on Windows
Date
Msg-id 4B3BD918.60802@tpf.co.jp
Whole thread Raw
In response to Re: krb_server_keyfile setting doesn't work on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Hiroshi Inoue <inoue@tpf.co.jp> writes:
>> Because gssapi32.dll(krb5_32.dll) seems to call
>> getenv("KRB5_KTNAME") in msvcr71, postgres.exe
>> should call putenv("KRB5_KTNAME=...") in msvcr71.
>> The attached patch fixes the problem in my test
>> case.
> 
> Don't we already have something like that in our src/port putenv
> substitute?

Yes, pgwin32_putenv() calls putenv() in msvcrt which libintl
or other MINGW dlls use. I'm not sure if it's appropriate toadd msvcr71's putenv call to pgwin32_putenv()
(src/port/win32env.c).

regards,
Hiroshi Inoue



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thoughts on statistics for continuously advancing columns
Next
From: Tim Bunce
Date:
Subject: Status of plperl inter-sp calling