Re: [PATCHES] initdb authentication

2004-07-31 Thread Bruce Momjian
gt; > >-Original Message- > >From: Bruce Momjian [mailto:[EMAIL PROTECTED] > >Sent: den 17 juli 2004 03:11 > >To: Magnus Hagander > >Cc: [EMAIL PROTECTED] > >Subject: Re: [PATCHES] initdb authentication > > > > > > > >I got a ne

Re: [PATCHES] initdb authentication

2004-07-23 Thread Magnus Hagander
> > > Ok, here is another one. > > > > > > Doc patches coming up if/when this one is approved. > > > > I think this warning is seriously going to annoy me. Can we do > > without it? > > What if we skip the warning if the user specifically asks for > 'trust'? > Would that help? Uh. That's how

Re: [PATCHES] initdb authentication

2004-07-22 Thread Bruce Momjian
Peter Eisentraut wrote: > Magnus Hagander wrote: > > Ok, here is another one. > > > > Doc patches coming up if/when this one is approved. > > I think this warning is seriously going to annoy me. Can we do without > it? What if we skip the warning if the user specifically asks for 'trust'? Woul

Re: [PATCHES] initdb authentication

2004-07-22 Thread Peter Eisentraut
Magnus Hagander wrote: > Ok, here is another one. > > Doc patches coming up if/when this one is approved. I think this warning is seriously going to annoy me. Can we do without it? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)-

Re: [PATCHES] initdb authentication

2004-07-22 Thread Magnus Hagander
>>Ok, here is another one. >> >>Doc patches coming up if/when this one is approved. >> >>//Magnus >> >> >> >> >> >+ /* Kerberos methods not listed because they are not supported >+* over local connections and are rejected in hba.c */ > >Is this true of all local connections, or only

Re: [PATCHES] initdb authentication

2004-07-22 Thread Bruce Momjian
I assume he means 'local' lines in the config file, not local INET connections. Maybe local needs quotes --- Andrew Dunstan wrote: > > > Magnus Hagander wrote: > > >Ok, here is another one. > > > >Doc patches coming up i

Re: [PATCHES] initdb authentication

2004-07-22 Thread Andrew Dunstan
Magnus Hagander wrote: Ok, here is another one. Doc patches coming up if/when this one is approved. //Magnus + /* Kerberos methods not listed because they are not supported +* over local connections and are rejected in hba.c */ Is this true of all local connections, or only Unix

Re: [PATCHES] initdb authentication

2004-07-22 Thread Magnus Hagander
Ok, here is another one. Doc patches coming up if/when this one is approved. //Magnus >-Original Message- >From: Bruce Momjian [mailto:[EMAIL PROTECTED] >Sent: den 17 juli 2004 03:11 >To: Magnus Hagander >Cc: [EMAIL PROTECTED] >Subject: Re: [PATCHES] initdb authentic

Re: [PATCHES] initdb authentication

2004-07-16 Thread Bruce Momjian
w multiple words in the string. --- Magnus Hagander wrote: > Here's a version of this patch that includes documentation updates. > > //Magnus > > > >-Original Message- > >From: Magnus Hagander > >Sent: den 15 juli 2004 23:02

Re: [PATCHES] initdb authentication

2004-07-16 Thread Magnus Hagander
Here's a version of this patch that includes documentation updates. //Magnus >-Original Message- >From: Magnus Hagander >Sent: den 15 juli 2004 23:02 >To: [EMAIL PROTECTED] >Subject: [PATCHES] initdb authentication > > >Ok, here is one more try at the

Re: [PATCHES] initdb authentication

2004-07-16 Thread Magnus Hagander
> > > This one makes it mandatory to pick some kind of > authentication. If > > > that's not wanted, it's easy to change it to default to > trust (which > > > I think is wrong, but we've been through that already..) > > > > I don't think I like any of this. Sooner rather than later, people >

Re: [PATCHES] initdb authentication

2004-07-15 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I think the basic problem is that right now there is no way to do an > > initdb and have it be secure _before_ you edit pg_hba.conf. That isn't > > acceptable. If I am on an insecure machine, the window if time between > > initdb and

Re: [PATCHES] initdb authentication

2004-07-15 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I think the basic problem is that right now there is no way to do an > initdb and have it be secure _before_ you edit pg_hba.conf. That isn't > acceptable. If I am on an insecure machine, the window if time between > initdb and editing of pg_hba.conf is

Re: [PATCHES] initdb authentication

2004-07-15 Thread Alvaro Herrera
On Thu, Jul 15, 2004 at 11:20:46PM +0200, Peter Eisentraut wrote: > Magnus Hagander wrote: > > This one makes it mandatory to pick some kind of authentication. If > > that's not wanted, it's easy to change it to default to trust (which > > I think is wrong, but we've been through that already..) >

Re: [PATCHES] initdb authentication

2004-07-15 Thread Bruce Momjian
Peter Eisentraut wrote: > Magnus Hagander wrote: > > This one makes it mandatory to pick some kind of authentication. If > > that's not wanted, it's easy to change it to default to trust (which > > I think is wrong, but we've been through that already..) > > I don't think I like any of this. Soon

Re: [PATCHES] initdb authentication

2004-07-15 Thread Peter Eisentraut
Magnus Hagander wrote: > This one makes it mandatory to pick some kind of authentication. If > that's not wanted, it's easy to change it to default to trust (which > I think is wrong, but we've been through that already..) I don't think I like any of this. Sooner rather than later, people need t

[PATCHES] initdb authentication

2004-07-15 Thread Magnus Hagander
Ok, here is one more try at the initdb default authentication stuff. This one adds the switches "--ident" and "--trust", which will configure pg_hba.conf with ident and trust authentication respectively. If trust authentication is selected, a warning is written to pg_hba.conf. The old switches for