[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

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

2008-04-02 Thread Mark Hammond
Since Windows 2000, it sometimes better to try and manage users via the ActiveDirectory - and one excellent reason is that VB etc samples can be found, which can make life easier. Here is a little code I've used to create users via AD - I'm afraid you will need to find out how to add OU