Re: [BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-12-03 Thread Magnus Hagander
On Mon, Nov 21, 2011 at 19:03, Diego Elio Pettenò wrote: > Il giorno lun, 21/11/2011 alle 18.59 +0100, Magnus Hagander ha scritto: >> So a simple extension of the check to be for both ENOENT and ENOTDIR >> would work, right? > > In this case, yes... Ok, I've applied this quick-fix for head, 9.1 a

Re: [BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-11-21 Thread Diego Elio Pettenò
Il giorno lun, 21/11/2011 alle 18.59 +0100, Magnus Hagander ha scritto: > So a simple extension of the check to be for both ENOENT and ENOTDIR > would work, right? In this case, yes... > Without validating the server certificate, however, it's kind of hard > to actually call it secure. As you sa

Re: [BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-11-21 Thread Diego Elio Pettenò
Il giorno lun, 21/11/2011 alle 09.08 +0100, Magnus Hagander ha scritto: > What actual error do you get? ENOTDIR, sorry but I don't really want to break my system again just to show the strerror output ;) > Its still impossible to use it securely, but I agree we shouldn't just > error out in a si

Re: [BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-11-21 Thread Magnus Hagander
On Mon, Nov 21, 2011 at 18:43, Diego Elio Pettenò wrote: > Il giorno lun, 21/11/2011 alle 09.08 +0100, Magnus Hagander ha scritto: >> What actual error do you get? > > ENOTDIR, sorry but I don't really want to break my system again just to > show the strerror output ;) So a simple extension of th

Re: [BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-11-21 Thread Magnus Hagander
On Nov 21, 2011 8:29 AM, "Diego Elio Pettenò" wrote: > > > The following bug has been logged online: > > Bug reference: 6302 > Logged by: Diego Elio Pettenò > Email address: flamee...@flameeyes.eu > PostgreSQL version: 9.1.1 > Operating system: Gentoo Linux > Description:

[BUGS] BUG #6302: Certificate lookup fails for users with /dev/null as home directory

2011-11-20 Thread Diego Elio Pettenò
The following bug has been logged online: Bug reference: 6302 Logged by: Diego Elio Pettenò Email address: flamee...@flameeyes.eu PostgreSQL version: 9.1.1 Operating system: Gentoo Linux Description:Certificate lookup fails for users with /dev/null as home directory D