Re: [python-win32] Adding Users to a Specific Organization Unit in a Domain

2008-04-02 Thread Mark Hammond
f OpenObject(path, iid = adsi.IID_IADs): return adsi.ADsOpenObject(path, None, None, # username/password ADS_SECURE_AUTHENTICATION, # flags iid) > -Original Message- > From: [EMAIL PROTECTED] [mailto:pyth

[python-win32] Adding Users to a Specific Organization Unit in a Domain

2008-04-02 Thread Ian John Newton
Hi I need to take a text file with a list of users, groups and Organization Units and then add these users into a Domain. Currently the server is Win 2K, but I will also need to do this on Win2003. I used the BatchUserCreate.py from ch 16 of Mark Hammonds Python Programming on Win32