Here's pg_hba.conf: # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all ident sameus er host all all 127.0.0.1 255.255.255.255 ident sameus er host all all 0.0.0.0 255.255.255.255 reject pg_ident.conf seems to be all comments. I can connect through DBI, but not using the postgres module. Very strange. Additionally, I can connect by just using "psql" on the command line... -Kurt On Sat, Aug 16, 2003 at 06:39:58PM +0900, Dmitry Borodaenko wrote: > On Sat, Aug 16, 2003 at 11:34:58AM +0900, Kurt M. Dresner wrote: > KMD> irb(main):003:0> conn = PGconn.connect("localhost", 5432, "", "", > KMD> "music") > KMD> PGError: FATAL: IDENT authentication failed for user "kdresner" > <...> > KMD> I created the database, so I should have the rights to access it.. > > Not necessarily. What's in your pg_hba.conf and pg_ident.conf? > > Also, don't forget that connecting directly ('local' in pg_hba.conf) is > not the same as connecting to localhost over TCP. > > -- > Dmitry Borodaenko > >======= End of Original Message =======<