X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 52F3A9F9F3D for ; Sun, 28 May 2006 17:05:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 63132-09 for ; Sun, 28 May 2006 17:05:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by postgresql.org (Postfix) with ESMTP id 3E4EF9FA38E for ; Sun, 28 May 2006 17:05:47 -0300 (ADT) Received: from [192.168.0.102] (c-67-160-213-188.hsd1.ca.comcast.net[67.160.213.188]) by comcast.net (rwcrmhc14) with ESMTP id <20060528200544m1400krntke>; Sun, 28 May 2006 20:05:44 +0000 Message-ID: <447A028D.9080705@comcast.net> Date: Sun, 28 May 2006 13:05:33 -0700 From: Eric Montague User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pgsql-ports@postgresql.org Subject: psql: krb5_sendauth: Bad application version was sent (via sendauth) - Windows 2000, MIT Kerberos, PG v 8.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/60 X-Sequence-Number: 2441 I'm trying to setup Kerberos authentication with PG on Windows 2000. I have installed the MIT Kerberos Windows dlls into the PG bin directory - replacing the krb5_32.dll and comerr32.dll from the PG install. I did this because the PG install did not have the krbcc32.dll, which is needed to find the credentials cache on Windows. The name of the service is 'POSTGRES', as is the name of the user who starts the service. I've created the krb5.keytab, and set its location in postgresql.conf, and set krb_srvname = 'POSTGRES' krb_server_hostname = 'host.domain.com' (the host machine) I've set pg_hba.conf to use krb5 for my username. When I try to connect with psql, I get the following error in the cmd window: 'krb5_sendauth: Bad application version was sent (via sendauth)' and the following msg in the pg_log 'authentication LOG: Kerberos recvauth returned error -1765328179' I found a thread in the mailing list regarding a problem with the kerberos authenication on windows in the 8.1beta2 version of PG. Kerberos brokenness and oops question in 8.1beta2 http://archives.postgresql.org/pgsql-hackers/2005-10/msg00376.php Is this related to the error I'm getting? Thanks. ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings