[DB-SIG] pypg pure Python db driver for Postgresql
randall at tnr.cc
Tue Jul 12 17:40:08 CEST 2005
Jul 12 10:23:32 localhost identd: started
Jul 12 10:23:32 localhost identd: netlink_lookup: write failed:
So what probably happened is that there is no 'AuthenticationOk' message
returned for ident. That's why you got the immediate
For now, I know that md5, cleartext, and trust work.
I have updated pypg to work with ident authentication and put the new
version on the website http://www.tnr.cc/pypg.html.
I'll add support for Unix sockets later.
Thanks. You've been helpful.
Stephane Bortzmeyer wrote:
> On Tue, Jul 12, 2005 at 09:56:49AM -0500,
> Randall Smith <randall at tnr.cc> wrote
> a message of 56 lines which said:
>>On top of that I don't know how you authenticated using IDENT
>>because my attempts to do so failed.
> With 'host = localhost' (but I insist that Unix socket support is
> necessary to me), you need an ident server (not with Unix sockets
> which uses the PEERCREED option of the socket). May be you did not
> have one?
> % telnet localhost ident
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> % psql -h localhost registry
> Welcome to psql 7.4.7, the PostgreSQL interactive terminal.
> % tail /var/log/daemon.log
> Jul 12 17:15:12 batilda identd: started
More information about the DB-SIG