pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed[Fwd: [Zope-dev] Authentication Problem with Postgres]
4+ messages / 2 participants
[nested] [flat]
* [Fwd: [Zope-dev] Authentication Problem with Postgres]
@ 2001-11-23 05:33 Andre Schubert <andre.schubert@geyer.kabeljournal.de>
2001-11-23 20:01 ` Re: [Fwd: [Zope-dev] Authentication Problem with Postgres] Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Andre Schubert @ 2001-11-23 05:33 UTC (permalink / raw)
To: psycopg@lists.initd.org <psycopg@lists.initd.org>; pgsql-admin
Hi, i have forwarded this message from Zope in hope of an answer.
Hi all,
sometimes i have a curios problem with my Zope.
Without any errors in any logs Zope could not authenticate himself with
postgres.
The error message is that there is a wrong password.
After a restart of Zope everything works fine until the eror occurs
again.
My sysop has traced the protcols before and after the error.
Zope sends some data and then a crypted password with the salt.
If the error is occured the password that Zope sends is crypted wrong.
After a restart of Zope the password is right crypted.
Could anybody help or explain me this problem, it is very important for
the further use of Zope
for our websites.
Thanks as
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [Fwd: [Zope-dev] Authentication Problem with Postgres]
2001-11-23 05:33 [Fwd: [Zope-dev] Authentication Problem with Postgres] Andre Schubert <andre.schubert@geyer.kabeljournal.de>
@ 2001-11-23 20:01 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-11-26 09:56 ` Re: [Fwd: [Zope-dev] Authentication Problem with Postgres] Andre Schubert <andre.schubert@geyer.kabeljournal.de>
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2001-11-23 20:01 UTC (permalink / raw)
To: Andre Schubert <andre.schubert@geyer.kabeljournal.de>; +Cc: psycopg@lists.initd.org <psycopg@lists.initd.org>; pgsql-admin
Andre Schubert <andre.schubert@geyer.kabeljournal.de> writes:
> sometimes i have a curios problem with my Zope.
> My sysop has traced the protcols before and after the error.
> Zope sends some data and then a crypted password with the salt.
> If the error is occured the password that Zope sends is crypted wrong.
> After a restart of Zope the password is right crypted.
If you've determined that in fact the wrong password is being sent
from the client side, then it seems that there are only two
possibilities: one, Zope is handing the wrong password to libpq,
or two, there's something broken in the crypt library on your client
machine. libpq's handling of the password is so trivial that I find
it hard to see how there could be such a problem inside libpq itself.
If you're not convinced, I'd suggest adding some debug logging printout
to libpq (look in fe-connect.c and fe-auth.c). Try tracing the
arguments and result of the actual crypt() call in fe-auth.c, and
then work outwards if you need to.
You didn't say what platform you're on, but on some platforms I believe
that crypt() supports both traditional (DES variant) and MD5 encryption
styles. Possibly the problem is somehow related to choosing the wrong
encryption style (where "wrong" = "not what the postmaster is using").
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [Fwd: [Zope-dev] Authentication Problem with Postgres]
2001-11-23 05:33 [Fwd: [Zope-dev] Authentication Problem with Postgres] Andre Schubert <andre.schubert@geyer.kabeljournal.de>
2001-11-23 20:01 ` Re: [Fwd: [Zope-dev] Authentication Problem with Postgres] Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-11-26 09:56 ` Andre Schubert <andre.schubert@geyer.kabeljournal.de>
0 siblings, 0 replies; 4+ messages in thread
From: Andre Schubert @ 2001-11-26 09:56 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: psycopg@lists.initd.org <psycopg@lists.initd.org>; pgsql-admin
Tom Lane schrieb:
>
> Andre Schubert <andre.schubert@geyer.kabeljournal.de> writes:
> > sometimes i have a curios problem with my Zope.
> > My sysop has traced the protcols before and after the error.
> > Zope sends some data and then a crypted password with the salt.
> > If the error is occured the password that Zope sends is crypted wrong.
> > After a restart of Zope the password is right crypted.
>
> If you've determined that in fact the wrong password is being sent
> from the client side, then it seems that there are only two
> possibilities: one, Zope is handing the wrong password to libpq,
> or two, there's something broken in the crypt library on your client
> machine. libpq's handling of the password is so trivial that I find
> it hard to see how there could be such a problem inside libpq itself.
>
> If you're not convinced, I'd suggest adding some debug logging printout
> to libpq (look in fe-connect.c and fe-auth.c). Try tracing the
> arguments and result of the actual crypt() call in fe-auth.c, and
> then work outwards if you need to.
>
> You didn't say what platform you're on, but on some platforms I believe
> that crypt() supports both traditional (DES variant) and MD5 encryption
> styles. Possibly the problem is somehow related to choosing the wrong
> encryption style (where "wrong" = "not what the postmaster is using").
>
Zope(2.3.3) runs on a Immunix RedHat 6.2.
All Client Libraries are 7.1.3.
The Postgres-Server 7.1.3 runs on another Immunix RedHat 6.2 box.
thanks as
> regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Authentication Problem with Postgres
@ 2001-11-23 10:08 Andre Schubert <andre.schubert@geyer.kabeljournal.de>
0 siblings, 0 replies; 4+ messages in thread
From: Andre Schubert @ 2001-11-23 10:08 UTC (permalink / raw)
To: psycopg@lists.initd.org <psycopg@lists.initd.org>; pgsql-admin
Hi all,
sometimes i have a curios problem with my Zope.
Without any errors in any logs Zope could not authenticate himself with
postgres.
The error message is that there is a wrong password.
After a restart of Zope everything works fine until the eror occurs
again.
My sysop has traced the protcols before and after the error.
Zope sends some data and then a crypted password with the salt.
If the error is occured the password that Zope sends is crypted wrong.
After a restart of Zope the password is right crypted.
Could anybody help or explain me this problem, it is very important for
the further use of Zope
for our websites.
Thanks as
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-11-26 09:56 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-11-23 05:33 [Fwd: [Zope-dev] Authentication Problem with Postgres] Andre Schubert <andre.schubert@geyer.kabeljournal.de>
2001-11-23 20:01 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-11-26 09:56 ` Andre Schubert <andre.schubert@geyer.kabeljournal.de>
2001-11-23 10:08 Authentication Problem with Postgres Andre Schubert <andre.schubert@geyer.kabeljournal.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox