RE: Creating Active Directory Objects

2007-11-07 Thread Mike Matz
Thanks for the help guys. It got me off to a great start. I have successfully created a user in my AD. As you already eluded to, I am struggling with the password attribute. Can the password attribute be set when creating a user. From what I gathered, the password attribute is 'unicodePwd'.

Re: Creating Active Directory Objects

2007-11-07 Thread Geert Jansen
Michael Ströder wrote: > I vaguely remember that there are some issues with really activating a > user entry as a Windows user. But this is not a problem of accessing AD > via python-ldap. > This indeed rings a bell. You need to create the user as disabled (look for userAccountControl on MSDN)

Re: Creating Active Directory Objects

2007-11-07 Thread Michael Ströder
Geert Jansen wrote: > > It is definately possibly to create active directory users with > python-ldap. You just need to take care that you set the minimum amount > of attributes required, otherwise the addition will fail. I don't have > any code ready at the moment, but just create a user object w