Re: [GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread Rory Campbell-Lange
On 16/10/13, Tom Lane (t...@sss.pgh.pa.us) wrote: > Rory Campbell-Lange writes: > > 2013-10-16 16:21:16 BST template1 LOG: local user with ID does > > not exist > > 2013-10-16 16:21:16 BST template1 FATAL: Peer authentication failed > > for user "postgres" > > > However /etc/passwd h

Re: [GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread John R Pierce
On 10/16/2013 8:34 AM, Rory Campbell-Lange wrote: I've just turned the setting in pg_hba.conf from md5 back to peer and reloaded the server so that it now reads as: local all postgrespeer Attempting to log in fails with the following error on t

Re: [GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread Tom Lane
Rory Campbell-Lange writes: > Thanks for the suggestion for checking the logs. My apologies for not > checking that. The logs show: > 2013-10-16 16:21:16 BST template1 LOG: local user with ID does not > exist > 2013-10-16 16:21:16 BST template1 FATAL: Peer authentication failed for >

Re: [GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread Rory Campbell-Lange
On 16/10/13, Adrian Klaver (adrian.kla...@gmail.com) wrote: > On 10/16/2013 06:56 AM, Rory Campbell-Lange wrote: > >I have just done an update on my Debian servers running postgresql 9.2 > >(Postgres is from 9.2.4-2.pgdg70+1 from apt.postgresql.org) and suddenly > >can't login to postgresql as post

Re: [GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread Adrian Klaver
On 10/16/2013 06:56 AM, Rory Campbell-Lange wrote: I have just done an update on my Debian servers running postgresql 9.2 (Postgres is from 9.2.4-2.pgdg70+1 from apt.postgresql.org) and suddenly can't login to postgresql as postgres with the normal peer/ident authentication over a local Unix sock

[GENERAL] ident authentication problems postgresql 9.2

2013-10-16 Thread Rory Campbell-Lange
I have just done an update on my Debian servers running postgresql 9.2 (Postgres is from 9.2.4-2.pgdg70+1 from apt.postgresql.org) and suddenly can't login to postgresql as postgres with the normal peer/ident authentication over a local Unix socket. I've worked around it (I'm using md5 for the ti

Re: [GENERAL] Ident authentication failed for user

2012-03-01 Thread John R Pierce
On 03/01/12 10:03 AM, Ruben Blanco wrote: El día 1 de marzo de 2012 17:25, John R Pierce escribió: > On 03/01/12 9:02 AM, Ruben Blanco wrote: > specify host=localhost, otherwise its using the first 'local' line, which > specifies 'ident' authentication, as the error implies. Where should I

Re: [GENERAL] Ident authentication failed for user

2012-03-01 Thread Ruben Blanco
Hi John. Thanks a lot for your reply: El día 1 de marzo de 2012 17:25, John R Pierce escribió: > On 03/01/12 9:02 AM, Ruben Blanco wrote: > specify host=localhost, otherwise its using the first 'local' line, which > specifies 'ident' authentication, as the error implies. Where should I specify

Re: [GENERAL] Ident authentication failed for user

2012-03-01 Thread John R Pierce
On 03/01/12 9:02 AM, Ruben Blanco wrote: I cannot connect to my Postgres database from my PHP scripts. I get the error: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: Ident authentication failed for user "postgres" in ... I have tried many combinations for "hos

[GENERAL] Ident authentication failed for user

2012-03-01 Thread Ruben Blanco
Hi: I cannot connect to my Postgres database from my PHP scripts. I get the error: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: Ident authentication failed for user "postgres" in ... I have tried many combinations for "host" TYPE in "pg_hba.conf" (restarting po

Re: [GENERAL] Ident authentication failed for user - URGENT

2006-12-05 Thread brian
Marina Olhovsky wrote: Hello, I'm trying to assign a password for a postgres user. I've logged in as postgres, issued "alter user my_user with password 'my_passwd'". Doing "select * from pg_users" shows the new user with password assigned. However, when I try to start psql as the new user: "ps

Re: [GENERAL] Ident authentication failed for user - URGENT

2006-12-05 Thread Andreas Kretschmer
Marina Olhovsky <[EMAIL PROTECTED]> schrieb: > > Hello, > > I'm trying to assign a password for a postgres user. I've logged in as > postgres, issued "alter user my_user with password 'my_passwd'". Doing > "select > * from pg_users" shows the new user with password assigned. However, when I

[GENERAL] Ident authentication failed for user - URGENT

2006-12-05 Thread Marina Olhovsky
Hello, I'm trying to assign a password for a postgres user. I've logged in as postgres, issued "alter user my_user with password 'my_passwd'". Doing "select * from pg_users" shows the new user with password assigned. However, when I try to start psql as the new user: "psql -U my_user -W" and

Re: [GENERAL] Ident authentication failed for user "dsivam"

2006-11-30 Thread Martijn van Oosterhout
On Tue, Nov 28, 2006 at 03:40:09PM -0800, [EMAIL PROTECTED] wrote: > Hi- > > I've run into a problem using Postgres 8.1 that has me stumped: > > I'm logged on as user 'postgres' and I can connect using the following > command: > > bash$>psql > > However when I specify the host: > > bas

[GENERAL] Ident authentication failed for user "dsivam"

2006-11-30 Thread dsivam
Hi- I've run into a problem using Postgres 8.1 that has me stumped: I'm logged on as user 'postgres' and I can connect using the following command: bash$>psql However when I specify the host: bash$>psql -h localhost or bash$>psql -h hostname.domain.com I get the following error:

Re: [GENERAL] ident authentication with named localhost

2006-05-12 Thread Tom Lane
David Link <[EMAIL PROTECTED]> writes: > Thanks for your suggestion. I'm new to the concept of packet sniffing > and tracing. Can you suggest where I should go or what I should read to > better understand this? "man strace" ... strace is probably easier to use for this purpose than a packet sn

Re: [GENERAL] ident authentication with named localhost

2006-05-12 Thread David Link
Tom Lane wrote: David Link <[EMAIL PROTECTED]> writes: Does anyone know how I can test ident? I'd try sniffing the IP traffic to and from it with a packet sniffer and/or tracing the daemon's system calls with strace. Manually invoking the daemon isn't going to prove a lot, you want to

Re: [GENERAL] ident authentication with named localhost

2006-05-11 Thread Tom Lane
David Link <[EMAIL PROTECTED]> writes: > Does anyone know how I can test ident? I'd try sniffing the IP traffic to and from it with a packet sniffer and/or tracing the daemon's system calls with strace. Manually invoking the daemon isn't going to prove a lot, you want to watch its reaction to Pos

[GENERAL] ident authentication with named localhost

2006-05-11 Thread David Link
Hi, I am having trouble with ident authentication. Everything is working fine except when specifying host for connections on the local machine. pg_hba.conf: local all all ident wp hostall all 10.97.8.0/24 ident wp pg_ident.conf:

Re: [GENERAL] Ident authentication failed without su to user

2006-02-17 Thread jim_bowery
Yes. It turns out the problem was that my pg_hba.conf file was replaced by another file during a yum install of the new postgresql but in a different path. When I used "locate pg_hba.conf" it returned the path of the old file which didn't have the 'ident sameuser' rule.

Re: [GENERAL] Ident authentication failed without su to user

2006-02-16 Thread Chris
[EMAIL PROTECTED] wrote: I've created a database "bugs" and a user "bugs" (postgresql user as well as unix) and even made user "bugs" not require a password but I still get this: [EMAIL PROTECTED] bugzilla-2.20]# psql bugs bugs psql: FATAL: Ident authentication failed for user "bugs" ... but if

Re: [GENERAL] Ident authentication failed without su to user

2006-02-16 Thread Douglas McNaught
[EMAIL PROTECTED] writes: > I've created a database "bugs" and a user "bugs" (postgresql user as > well as unix) and even made user "bugs" not require a password but I > still get this: > [EMAIL PROTECTED] bugzilla-2.20]# psql bugs bugs > psql: FATAL: Ident authentication failed for user "bugs"

[GENERAL] Ident authentication failed without su to user

2006-02-16 Thread jim_bowery
I've created a database "bugs" and a user "bugs" (postgresql user as well as unix) and even made user "bugs" not require a password but I still get this: [EMAIL PROTECTED] bugzilla-2.20]# psql bugs bugs psql: FATAL: Ident authentication failed for user "bugs" ... but if I [EMAIL PROTECTED] bugzill

Re: [GENERAL] Ident authentication failed

2006-01-02 Thread Lucky Leavell
On Mon, 2 Jan 2006, Madison Kelly wrote: > Lucky Leavell wrote: > > v8.0.3 > > OS: SuSE 10.0 Pro > > > > I am new to PostgreSQL but fairly familiar with other RDBMS' such as Ingres, > > Informix and MySQL. > > > > I am attempting to switch from using MySQL to PostgreSQL with postfix. I > > hav

Re: [GENERAL] Ident authentication failed

2006-01-02 Thread Madison Kelly
Lucky Leavell wrote: v8.0.3 OS: SuSE 10.0 Pro I am new to PostgreSQL but fairly familiar with other RDBMS' such as Ingres, Informix and MySQL. I am attempting to switch from using MySQL to PostgreSQL with postfix. I have created the postfix user using createuser with a password but denying

[GENERAL] Ident authentication failed

2006-01-02 Thread Lucky Leavell
v8.0.3 OS: SuSE 10.0 Pro I am new to PostgreSQL but fairly familiar with other RDBMS' such as Ingres, Informix and MySQL. I am attempting to switch from using MySQL to PostgreSQL with postfix. I have created the postfix user using createuser with a password but denying the ability to create da

Re: [GENERAL] IDENT Authentication

2005-03-04 Thread Ragnar Hafstað
On Fri, 2005-03-04 at 19:59 -0500, David A. Cobb wrote: > I've newly transitioned from Windoze to Debian Linux. And, of course, > I'm installing things left and right. > > I had pgsql up and running, then I had to do a lot of tearing out and > reinstalling other stuff. Now, when I try to conne

[GENERAL] IDENT Authentication

2005-03-04 Thread David A. Cobb
I've newly transitioned from Windoze to Debian Linux. And, of course, I'm installing things left and right. I had pgsql up and running, then I had to do a lot of tearing out and reinstalling other stuff. Now, when I try to connect to psql I get: psql: FATAL: IDENT authentication failed for u

Re: [GENERAL] Ident authentication

2005-01-24 Thread Paul Thomas
On 24/01/2005 16:28 Jarkko Elfving wrote: On Mon, 2005-01-24 at 09:21 -0700, Michael Fuhr wrote: > Are you using a TCP connection or a Unix-domain socket connection? > If the former, do you have an IDENT server running? If the latter, > what platform are you using? Not all operating systems can p

Re: [GENERAL] Ident authentication SOLVED

2005-01-24 Thread Michael Fuhr
On Mon, Jan 24, 2005 at 06:46:25PM +0200, Jarkko Elfving wrote: > On Mon, 2005-01-24 at 09:39 -0700, Michael Fuhr wrote: > > > > What was the solution? It might be informative to people searching > > the list archives because they're having the same problem. > > I just modify the pg_hba.conf fil

Re: [GENERAL] Ident authentication SOLVED

2005-01-24 Thread Jarkko Elfving
On Mon, 2005-01-24 at 09:39 -0700, Michael Fuhr wrote: > On Mon, Jan 24, 2005 at 06:35:36PM +0200, Jarkko Elfving wrote: > > > I did get it work, thanks for help. > > What was the solution? It might be informative to people searching > the list archives because they're having the same problem. >

Re: [GENERAL] Ident authentication SOLVED

2005-01-24 Thread Michael Fuhr
On Mon, Jan 24, 2005 at 06:35:36PM +0200, Jarkko Elfving wrote: > I did get it work, thanks for help. What was the solution? It might be informative to people searching the list archives because they're having the same problem. -- Michael Fuhr http://www.fuhr.org/~mfuhr/ -

Re: [GENERAL] Ident authentication SOLVED

2005-01-24 Thread Jarkko Elfving
Hi... I did get it work, thanks for help. -- Jarkko Elfving <[EMAIL PROTECTED]> ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [GENERAL] Ident authentication

2005-01-24 Thread Jarkko Elfving
On Mon, 2005-01-24 at 09:21 -0700, Michael Fuhr wrote: > Are you using a TCP connection or a Unix-domain socket connection? > If the former, do you have an IDENT server running? If the latter, > what platform are you using? Not all operating systems can pass > credentials over Unix-domain sockets

Re: [GENERAL] Ident authentication

2005-01-24 Thread Tom Lane
Jarkko Elfving <[EMAIL PROTECTED]> writes: > I'm trying to connect to my test DB in localhost with pgAdmin3 but I got > an error message > Error connecting to the server: FATAL: Ident authentication failed for > user "jarkko" > What should I do? Either run an identd daemon, or use a different aut

Re: [GENERAL] Ident authentication

2005-01-24 Thread Michael Fuhr
On Mon, Jan 24, 2005 at 05:55:29PM +0200, Jarkko Elfving wrote: > I'm trying to connect to my test DB in localhost with pgAdmin3 but I got > an error message > > Error connecting to the server: FATAL: Ident authentication failed for > user "jarkko" Are you using a TCP connection or a Unix-domai

[GENERAL] Ident authentication

2005-01-24 Thread Jarkko Elfving
Hi. I'm trying to connect to my test DB in localhost with pgAdmin3 but I got an error message Error connecting to the server: FATAL: Ident authentication failed for user "jarkko" What should I do? I'm reading documents about this and there was something about pg_hba.conf and pg_ident.conf. I d

Re: [GENERAL] ident authentication problem

2004-04-22 Thread Alvaro Herrera
On Thu, Apr 22, 2004 at 01:58:14PM +0200, Karsten Hilbert wrote: > a) it seems SQL ledger wants to store data in PostgreSQL > b) I assume it wants to store *financial* data > c) local/all/trust means *all* *local* users are *trusted*, eg >don't require any authentication, hence system account

Re: [GENERAL] ident authentication problem

2004-04-22 Thread Karsten Hilbert
> > > Do yourself a favour and change authentication type in pg_hba.conf to > > > > > > local all trust > > If you follow this sage advice you'll open up your financial > > data to anyone happening to have an account on the machine in > > question. Anyone. Not just people wh

Re: [GENERAL] ident authentication problem

2004-04-22 Thread Jim Seymour
> > Jim Seymour wrote: > > Karsten Hilbert <[EMAIL PROTECTED]> wrote: > >>If you follow this sage advice you'll open up your financial > >>data to anyone happening to have an account on the machine in > >>question. Anyone. Not just people who also happen to have > >>*PostgreSQL* DB accounts. > >

Re: [GENERAL] ident authentication problem

2004-04-21 Thread Uwe C. Schroeder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 21 April 2004 04:53 pm, Shanta McBain wrote: > On April 21, 2004 13:26, Karsten Hilbert wrote: > > If you follow this sage advice you'll open up your financial > > data to anyone happening to have an account on the machine in > > question.