python-ldap: searching without specifying an OU?
Michael Ströder
michael at stroeder.com
Wed Apr 23 17:37:46 EDT 2008
hotani wrote:
> It seems the only way I can bind is by using this format:
> simple_bind_s('user at server.local','password')
Believe me: This is not true.
> If I try using a DN, it fails every time. This will not work:
> simple_bind_s('cn=user,dc=server,dc=local', 'password')
Check the DN you're using. Maybe you should search this particular user
entry with filter (userPrincipalName=user at server.local)
Ciao, Michael.
More information about the Python-list
mailing list