Creating Active Directory Objects
michael at stroeder.com
Sat Aug 30 10:45:12 CEST 2008
> Mike (or anyone else who has successfully changed an Active Directory
> password using python-ldap over SSL),
> I have not found an update in the archives to your last message on
> this subject (below). Can you perhaps share some Python code showing
> how to add or change the password for an Active Directory user via
> LDAP over SSL?
Recent web2ldap changes unicodePwd in AD. You could set trace_level=2 in
etc/web2ldap/web2ldapcnf/misc.py to see what's passed to python-ldap.
For the SSL part see Demo/initialize.py in python-ldap's source
distribution. Off course you have to check back with your admin whether
SSL is enabled in your AD DCs and which CA cert to install on the client
More information about the python-ldap