AW: [En-Nut-Discussion] Different passwords with CGI
Adrian Slowik
adrian at uni-paderborn.de
Sun Dec 21 21:44:26 CET 2003
Hi,
I mailed that problem (and a correction) half a year ago (think it was
Nut/OS 3.1). There is a problem in the authorization code that produces
a wrong number of padding bytes in some cases. This leads to an
authorization failure if the length of ("user:password") is not a multiple
of 3. Thus "root:root" works, but "root1:root1" does not.
Kind regards, Adrian
Thus a quick workaround would be to use an extended username or password,
For example "ho:ho1"
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Lars Andersson
Gesendet: Sonntag, 21. Dezember 2003 21:01
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] Different passwords with CGI
Is there a way to do what I try to do here:
NutRegisterAuth("cgi-bin/page1.cgi", "xyzzy:xyzzy");
NutRegisterAuth("cgi-bin/page2.cgi", "ho:ho");
Best regards,
Lars H. Andersson
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list