Am 20.07.2011 15:41, schrieb jo:
> Thanks for your tip, Christoph. In this way I avoid the error.
> Now I get: No such LDAP user: steve

You did not show your validate_password code. Did you make the changes
mentioned in the update to the recipe? Because the original code used
sAMAccountName instead of uid.

If you enable debug output it also helps spotting the problem:
ldap.set_option(ldap.OPT_DEBUG_LEVEL, 255)

-- Christoph

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to