Re: [GENERAL] Problem - any password accepted

2007-05-30 Thread Tom Lane
Richard Huxton <[EMAIL PROTECTED]> writes: > With a libpq call you could set "sslmode", but I'm not sure if you can > do that from the command-line. I think you can set it via a PGSSLMODE environment variable. regards, tom lane ---(end of broadcas

Re: [GENERAL] Problem - any password accepted

2007-05-30 Thread Oliver Elphick
On Wed, 2007-05-30 at 19:38 +0200, Martijn van Oosterhout wrote: > On Wed, May 30, 2007 at 05:58:24PM +0100, Oliver Elphick wrote: > > While experimenting just now, I seem to have found a weird problem with > > passwords, in that _anything_ I type in is accepted as a valid password. > > > # TYPE

Re: [GENERAL] Problem - any password accepted

2007-05-30 Thread Martijn van Oosterhout
On Wed, May 30, 2007 at 05:58:24PM +0100, Oliver Elphick wrote: > While experimenting just now, I seem to have found a weird problem with > passwords, in that _anything_ I type in is accepted as a valid password. > # TYPE DATABASEUSERCIDR-ADDRESS METHOD > # IPv4 local connect

Re: [GENERAL] Problem - any password accepted

2007-05-30 Thread Richard Huxton
Oliver Elphick wrote: While experimenting just now, I seem to have found a weird problem with passwords, in that _anything_ I type in is accepted as a valid password. Here are the relevant bits of pg_hba.conf # TYPE DATABASEUSERCIDR-ADDRESS METHOD hostnossljunk

[GENERAL] Problem - any password accepted

2007-05-30 Thread Oliver Elphick
While experimenting just now, I seem to have found a weird problem with passwords, in that _anything_ I type in is accepted as a valid password. Here are the relevant bits of pg_hba.conf # Database administrative login by UNIX sockets local all postgres ident sa