[Zope] Re: [Psycopg] Authentication Problem with Postgres

Andre Schubert andre.schubert@geyer.kabeljournal.de
Mon, 26 Nov 2001 08:39:20 +0100


Federico Di Gregorio schrieb:
> 
> On Fri, 2001-11-23 at 11:10, Hannu Krosing wrote:
> >
> >
> > Andre Schubert wrote:
> >
> > >Hi,
> > >
> > >the problems is not DA-dependant, because i had both ZPsycopg and
> > >ZPygres running.
> > >And the problem occurs at the same time on both DA's.
> > >Maybe could it be inside the Zopes TM???
> > >
> > Could it be some subtle interaction between ZPsycopg, ZPygresql and
> > libpq (which
> > both use for actual connection, including the encryption) ?
> 
> psycopg simply calls libpq PQconnectdb(dsn) function, where dsn is the
> string with the cleartext password inserted when creating/editing a new
> ZPsycopgDA object. all the encription is done by libpq. better to look
> for a bug there, imo.
>

Is there a way to log the PGconnectdb() calls to see which password is
sent to postgres????

as
 
> --
> Federico Di Gregorio
> Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
> INIT.D Developer                                           fog@initd.org
>                            Don't dream it. Be it. -- Dr. Frank'n'further
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature