Skip site navigation (1) Skip section navigation (2)

krb_server_hostname

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: pgsql-admin(at)postgresql(dot)org
Subject: krb_server_hostname
Date: 2005-10-20 14:24:29
Message-ID: 20051020142429.GA18506@soptik.pzkagis.cz (view raw or flat)
Thread:
Lists: pgsql-admin
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(at)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

pgsql-admin by date

Next:From: Alfredo RicoDate: 2005-10-20 17:45:41
Subject: Integration PostgreSQL with Oracle.
Previous:From: Colton A SmithDate: 2005-10-20 14:23:40
Subject: excluding a table from pg_dump

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group