pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: pgsql-admin@postgresql.org
Subject: krb_server_hostname
Date: Thu, 20 Oct 2005 16:24:29 +0200
Message-ID: <20051020142429.GA18506@soptik.pzkagis.cz> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <20051020142429.GA18506@soptik.pzkagis.cz>
Permalink:  ../20051020142429.GA18506@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20051020142429.GA18506@soptik.pzkagis.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: luf@pzkagis.cz
  Subject: Re: krb_server_hostname
  In-Reply-To: <20051020142429.GA18506@soptik.pzkagis.cz>
  References: <20051020142429.GA18506@soptik.pzkagis.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox