ldap.passwd_s with Active Direcory

2009-08-04 Thread Mike.Peters
Hi, I'm not sure if this is the right place for this query, but I couldn't find a python-LDAP-Users list. I'm trying to modify a user's password on an Windows 2003 Active directory using passwd_s, however the server is returning the following error: {'info': '203D: LdapErr: DSID-0C090C7D, co

RE: ldap.passwd_s with Active Direcory

2009-08-04 Thread Mike.Peters
Michael, Thanks for the quick response, much appreciated. I guess I've been barking up the wrong tree then :) If I try the alternative method however: mod_attrs = [( ldap.MOD_REPLACE, 'unicodePwd', 'password' )] dn = 'CN=Barney Rubble,OU=Users,DC=mydomain,dc=local' r = l.modify_s(dn, mod_attrs)

RE: ldap.passwd_s with Active Direcory

2009-08-05 Thread Mike.Peters
> -Original Message- > From: Michael Ströder [mailto:[email protected]] > Sent: 04 August 2009 18:23 > To: Mike Peters > Cc: [email protected] > Subject: Re: ldap.passwd_s with Active Direcory > > [email protected] wrote: > > > >> There's a MSDN article about

RE: ldap.passwd_s with Active Direcory

2009-08-05 Thread Mike.Peters
> -Original Message- > From: Michael Ströder [mailto:[email protected]] > Sent: 05 August 2009 16:11 > To: Mike Peters > Cc: [email protected] > Subject: Re: ldap.passwd_s with Active Direcory > > [email protected] wrote: > > Michael Ströder wrote: > >> Did yo

RE: ldap.passwd_s with Active Direcory

2009-08-06 Thread Mike.Peters
> -Original Message- > From: Michael Ströder [mailto:[email protected]] > Sent: 06 August 2009 00:49 > To: Mike Peters > Cc: [email protected] > Subject: Re: ldap.passwd_s with Active Direcory > > [email protected] wrote: > > *** ldaps://ad01.demo.local:636 -