[DB-SIG] pypg pure Python db driver for Postgresql

Randall Smith randall at tnr.cc
Tue Jul 12 17:40:08 CEST 2005

That's it.

tail /var/log/daemon.log

Jul 12 10:23:32 localhost identd[568]: started
Jul 12 10:23:32 localhost identd[568]: netlink_lookup: write failed: 
Connection refused

So what probably happened is that there is no 'AuthenticationOk' message 
  returned for ident.  That's why you got the immediate 
'ParameterStatus' message.

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
> Connected to localhost.
> Escape character is '^]'.
> ...
> % psql -h localhost registry
> Welcome to psql 7.4.7, the PostgreSQL interactive terminal.
> ...
> registry=> 
> % tail /var/log/daemon.log
> ...
> Jul 12 17:15:12 batilda identd[30936]: started

More information about the DB-SIG mailing list