Re: simple md5 authentication problems

From: kmh496 <kmh496(at)kornet(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: simple md5 authentication problems
Date: 2006-05-08 14:10:31
Message-ID: 1147097431.29626.16.camel@var.sirfsup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > >
> > > # "local" is for Unix domain socket connections only
> > > local all all ident sameuser
> > > # IPv4 local connections:
> > > host all all 127.0.0.1/32 md5
> > > # IPv6 local connections:
> > > host all all ::1/128 ident sameuser
> > >
> > > I created my db as:
> > > postgres=# CREATE DATABASE maragato_test OWNER postgres;
> > >
> > > I seem to have a user 'postgres' - I'm using the default.
> > >
> > > postgres=# SELECT * FROM "pg_user";
> > > usename | usesysid | usecreatedb | usesuper | usecatupd | passwd |
> > > valuntil | useconfig
> > > ----------+----------+-------------+----------+-----------+----------+----------+-----------
> > > postgres | 10 | t | t | t | ******** |
> > > |
> > >
> > > However, I get this error:
> > >
> > > /home/postgres> psql -h localhost maragato_test postgres
> > > Password for user postgres:
> > > psql: FATAL: autenticação do tipo password falhou para usuário
> > > "postgres"
> > >
doesn't that user have to exist since you are using ident method? that
means unix username == postgres username.
do you have a user named maragato_test on the system?
did you create that user in postgres and on the system?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-05-08 14:43:13 Re: catalog is missing 16 attribute(s) for relid 8202590
Previous Message Joao Miguel Ferreira 2006-05-08 13:56:25 Re: database size grows (even after vacuum (full and