krb_server_keyfile setting doesn't work on Windows

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: krb_server_keyfile setting doesn't work on Windows
Date: 2009-12-30 15:27:45
Message-ID: 4B3B7171.6000107@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

As far as I tested, the krb_server_keyfile setting
in postgres.conf doesn't work on Windows.

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.

regards,
Hiroshi Inoue

Attachment Content-Type Size
auth.patch text/plain 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-12-30 15:33:59 Re: test/example does not support win32.
Previous Message Alvaro Herrera 2009-12-30 15:24:08 Re: Stats for inheritance trees