SilentShadow n00b
Joined: 25 Oct 2004 Posts: 36 Location: Italia
|
Posted: Tue Aug 09, 2005 4:55 pm Post subject: Postgres and Active Directory authentication with Kerberos |
|
|
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 |
|