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