Hi Michael, I just compiled the latest stable python-ldap version by hand and now authentication works - seems to have been a bug in that old version shipped with Debian Etch.
Thanks, B. > -----Ursprüngliche Nachricht----- > Von: Michael Ströder [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 23. Juli 2008 13:24 > An: [EMAIL PROTECTED] > Cc: python-ldap-dev@lists.sourceforge.net > Betreff: Re: Python-LDAP doesn't like crypt-passwords with 41bit? > > [EMAIL PROTECTED] wrote: > > > > Our passwords in the LDAP server are encrypted with crypt and stored > > as 41bit binary values. The problem is that python-ldap doesnt seem to > > like 41bit passwords but only 20bit. When I try to authenticate by > > Plone-LDAP / python-LDAP, it doesnt work, cause the password doesnt > > match. (Our LDAP server stores the LDAP passwords as 41bit values by > > standard) > > 1. I think you're saying bits but probably mean bytes. > > 2. If you're talking about using simple_bind_s() to bind to the server > then you simply have to use the clear-text password and not the hashed > one. > > 3. Actually there's no length limit in the API for any parameter. > > > If I re-set the password then from Plone-LDAP / python-LDAP, the new > > password is stored as 20bit binary and authentication works. > > How do you set the password? You probably should get familiar with > hashed passwords and how they are generated, stored and validated. > > See: http://www.openldap.org/faq/data/cache/419.html > > Ciao, Michael. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev