Re: pgAdmin3 question

From: User Roman <neuhauser(at)sigpipe(dot)cz>
To: lmyho <lm_yho(at)yahoo(dot)com>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: pgAdmin3 question
Date: 2006-04-08 16:37:37
Message-ID: 20060408163737.GA12026@dagan.sigpipe.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

# lm_yho(at)yahoo(dot)com / 2006-04-07 14:31:04 -0700:
> A further question: we are using Debian system. So when we leave the 'Address' box
> blank (on the Add Server page of pgAdmin), according to the help file, it will go to
> use the default Postgresql socket on the local machine.
> We actually have a line as 'local all all ident sameuser' in the pg_hba.conf
> file. But when I tried, pgAdmin couldn't log the user in and shows "Ident
> Authentication Failed". Then I modified the line pg_hba.conf file to 'local all all
> ident', and aaded a map line in the pg_ident.conf file to map the new user to user
> 'postgres'. Still not work.

Did you instruct postmaster to reread the config files?

http://www.postgresql.org/docs/8.1/static/client-authentication.html#AUTH-PG-HBA-CONF

The pg_hba.conf file is read on start-up and when the main server
process (postmaster) receives a SIGHUP signal. If you edit the file
on an active system, you will need to signal the postmaster (using
pg_ctl reload or kill -HUP) to make it re-read the file.

http://www.postgresql.org/docs/8.1/static/auth-methods.html#AUTH-IDENT

The pg_ident.conf file is read on start-up and when the main server
process (postmaster) receives a SIGHUP signal. If you edit the file
on an active system, you will need to signal the postmaster (using
pg_ctl reload or kill -HUP) to make it re-read the file.

--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2006-04-08 17:28:53 Re: PostgreSQL (file based) database restore
Previous Message Daniel McBrearty 2006-04-08 15:31:14 advice on schema for multilingual text