X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B4966DA8A6 for ; Thu, 20 Oct 2005 11:24:40 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24540-09 for ; Thu, 20 Oct 2005 14:24:33 +0000 (GMT) Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by svr1.postgresql.org (Postfix) with ESMTP id 15C73DA893 for ; Thu, 20 Oct 2005 11:24:29 -0300 (ADT) Received: (from luf@localhost) by smtp.pzkagis.cz (8.11.6/8.11.6) id j9KEOTo18600 for pgsql-admin@postgresql.org; Thu, 20 Oct 2005 16:24:29 +0200 Date: Thu, 20 Oct 2005 16:24:29 +0200 From: Ludek Finstrle To: pgsql-admin@postgresql.org Subject: krb_server_hostname Message-ID: <20051020142429.GA18506@soptik.pzkagis.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/230 X-Sequence-Number: 19302 Hello, when I read documentation for PgSQL 8.1beta3 about krb_server_hostname I think that it's enough insert into kerberos keytab only: krb_srvname/krb_server_hostname@REALM But pgsql have different behaviour for: # psql -U pgsql -h localhost template1 psql: krb5_sendauth: Server not found in Kerberos database and # psql -U pgsql -h dejmal template1 Welcome to psql 8.1beta3, the PostgreSQL interactive terminal. Part of postgresql.conf: # Kerberos krb_server_keyfile = '/data/pgsql/pgsql.keytab' krb_srvname = 'pgsql' krb_server_hostname = 'dejmal' krb_caseins_users = off Part of pg_hba.conf (dejmal has IP 192.168.1.13): host all all 127.0.0.1/32 krb5 host all all 192.168.1.13/32 krb5 Do you have any idea what's going wrong? Thanks Luf