pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: local kerberos authentication?
Date: Tue, 10 Jul 2007 06:14:56 -0400
Message-ID: <20070710101456.GZ4887@tamriel.snowman.net> (raw)
In-Reply-To: <4692DC2C.3080903@gmail.com>
References: <4692DC2C.3080903@gmail.com>

* Peter Koczan (pjkoczan@gmail.com) wrote:
> If I change the method to trust, it works, so it looks like krb5 isn't 
> supported for local connections, at least not on the surface. I'd also like 
> to get away from trust authentication because of the wonderful security 
> problems it entails.

'local' in this case means 'unix socket'.  Kerberos does a reverse-DNS
lookup on the IP address it's going to connect to in order to figure out
what service princ to ask the KDC for.  That doesn't work for unix
sockets.

> Has anyone done this? Is this even possible? It's not a huge deal if it 
> can't be done, but I'd like to know.

Can't be done as far as I'm aware because Kerberos doesn't know what
princ to use.  I'm not sure if any of the Kerberos folks have really
looked into making it work, it might be possible to just use the fqdn or
some such.  You might google around for 'kerberos over unix sockets' or
ask folks on the Kerberos lists.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (3+ messages)

Message-ID: <20070710101456.GZ4887@tamriel.snowman.net>
Permalink:  ../20070710101456.GZ4887@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20070710101456.GZ4887@tamriel.snowman.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sfrost@snowman.net, pjkoczan@gmail.com
  Subject: Re: local kerberos authentication?
  In-Reply-To: <20070710101456.GZ4887@tamriel.snowman.net>

* 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