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

ident authentication

From: Shilpa Sudhakar <ssudhakar(at)internode(dot)com(dot)au>
To: pgsql-admin(at)postgresql(dot)org
Subject: ident authentication
Date: 2008-11-21 05:56:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

I am trying to test different kinds of authentication in postgres.

I'm to find a efficient way to link the OS user with the postgres user. 
This is to help for auditing purpose. This is similar to the query 
raised by another postgres user.

As suggested by Tom to use ident, i tried setting up ident but it isn't 

In the hba.conf file, i add the below entry

local     all     all      ident       sameuser

The user logged in at OS level is "abc".  I created a user "abc" in 
postgres but when i do "psql -U abc -d dbname", i get the below error:

FATAL: Ident authentication failed for user "abc"

Should i put an entry in pg_ident.conf file?

Is using ident still the right way to go? Is LDAP a better option 
because when we login to the server, we login with our LDAP username and 
Thanks and Regards,


pgsql-admin by date

Next:From: Jaume SabaterDate: 2008-11-21 11:53:41
Subject: Variable table name in a trigger function or in a rule
Previous:From: Robert TreatDate: 2008-11-20 19:37:06
Subject: Re: Is it safe to reset relfrozenxid without using vacuum?

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