Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postgres and Active Directory authentication with Kerberos
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SilentShadow
n00b
n00b


Joined: 25 Oct 2004
Posts: 36
Location: Italia

PostPosted: Tue Aug 09, 2005 4:55 pm    Post subject: Postgres and Active Directory authentication with Kerberos Reply with quote

Actualy my kerberos configuration seems to work, I'm able to use the kinit utility:

Code:

onet003 / # kinit -V postgres
Password for postgres@OWORD.LOCAL:
Authenticated to Kerberos v5
onet003 / #


in the postgres pg_hba.conf file I put this configuration lines:

Code:

host    DBNAME               all             IP-address          Mask krb5


I also create a kerberos principal with the windows ktpass utility

Code:

c:\> ktpass -princ postgres/onet003@OWORD.LOCAL -pass xxxx -mapuser postgres@OWORD.LOCAL -out onet003_keytab


and then imported it on the linux machine with the ktutil utility in the /etc/krb5.keytab file, that is readable for the postgres user

And now? the problem is that I can't figure out how to proceed! What I want is to grant the AD user to access the postgres DB as I just able to do with OPENLDAP in other installation.

Can anyone light my way with a good hint?

Thanks in advance
Dario
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum