Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 175FF8820F3 for ; Tue, 7 Aug 2012 07:52:02 -0300 (ADT) Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SyhOJ-00038l-RN for pgsql-odbc@postgresql.org; Tue, 07 Aug 2012 10:52:02 +0000 Received: (qmail 12826 invoked by uid 512); 7 Aug 2012 10:51:45 -0000 Received: from unknown (HELO ?100.0.32.108?) (100.0.32.108) by sd2.tpf-fw-c.co.jp with SMTP; 7 Aug 2012 10:51:45 -0000 Message-ID: <5020F33F.20209@tpf.co.jp> Date: Tue, 07 Aug 2012 19:51:43 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: John Slattery CC: pgsql-odbc@postgresql.org Subject: Re: GSSAPI Authentication Problem References: <501CE24F.5070203@tpf.co.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/19 X-Sequence-Number: 10928 (2012/08/07 1:02), John Slattery wrote: > On Sat, Aug 4, 2012 at 3:50 AM, Hiroshi Inoue wrote: >> Hi John, >> >> >> (2012/08/03 21:31), John Slattery wrote: >>> >>> Hi, >>> >>> I would like to report what seems like a problem with the driver. It >>> doesn't seem possible to override the default user name for >>> authentication by GSSAPI. I'm using a map in pg_ident.conf since my >>> Active Directory user name isn't the same as my Postgresql user name. >>> pgAdmin III and psql allow for this, the former by setting Username in >>> the GUI to my Postgresql user name and the latter by specifying the -U >>> option. I tried setting UID in the connection string I am using to my >>> Postgresql user name but that caused the driver to return the >>> following exception: >>> >>> Run-time error '-2147217843 (800040e4d)': >>> >>> Service negotiation failed; >>> The specified target is unknown or unreachable in >>> DoKerberosEtcProcessAuthentication:PerformKerberosEtcClientHandSh >> >> >> How do you login to your Kerberos system? >> >> regards, >> Hiroshi Inoue >> > > Hiroshi, > > I'm not sure I understand your question, but I'll take a shot at > answering it. The client is Windows XP, so I would say I'm using the > standard/default Windows GINA for Winlogon. OK I'd like to confirm SSPI is used. Could you try to set SSLMODE to 'allow' with the user name John? regards, Hiroshi Inoue