Re: krb_server_keyfile setting doesn't work on Windows

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: krb_server_keyfile setting doesn't work on Windows
Дата
Msg-id 4B3BD918.60802@tpf.co.jp
обсуждение исходный текст
Ответ на Re: krb_server_keyfile setting doesn't work on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Thoughts on statistics for continuously advancing columns
Следующее
От: Tim Bunce
Дата:
Сообщение: Status of plperl inter-sp calling