pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
ident authentication 2+ messages / 2 participants [nested] [flat]
* ident authentication @ 2008-11-21 05:56 Shilpa Sudhakar <ssudhakar@internode.com.au> 0 siblings, 1 reply; 2+ messages in thread From: Shilpa Sudhakar @ 2008-11-21 05:56 UTC (permalink / raw) To: pgsql-admin Hi, 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 working. 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 password. Thanks and Regards, Shilpa ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ident authentication @ 2008-11-29 18:38 Robert Treat <xzilla@users.sourceforge.net> parent: Shilpa Sudhakar <ssudhakar@internode.com.au> 0 siblings, 0 replies; 2+ messages in thread From: Robert Treat @ 2008-11-29 18:38 UTC (permalink / raw) To: pgsql-admin; +Cc: Shilpa Sudhakar <ssudhakar@internode.com.au> On Friday 21 November 2008 00:56:53 Shilpa Sudhakar wrote: > Hi, > > 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 > working. > > In the hba.conf file, i add the below entry > > local all all ident sameuser > did you reload the file after modifying it? > 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" > What error do you get if you do "psql -d dbname" ? > 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 > password. > > Thanks and Regards, > Shilpa -- Robert Treat Conjecture: http://www.xzilla.net Consulting: http://www.omniti.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-11-29 18:38 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2008-11-21 05:56 ident authentication Shilpa Sudhakar <ssudhakar@internode.com.au> 2008-11-29 18:38 ` Robert Treat <xzilla@users.sourceforge.net>
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