Could python help to create hundreds of NT accounts ?
Roger Upole
rupole at hotmail.com
Tue Jun 1 19:43:07 EDT 2004
The Pywin32 windows extensions
( http://sourceforge.net/projects/pywin32/ )
contain functions to do just about any
kind of NT account management, the win32net
module in particular.
Mark Hammond's book Python Programming on
win32 is a very practical reference for this kind
of task.
hth
Roger
"google account" <mynews44 at yahoo.com> wrote in message
news:e84f5d12.0406011439.57ec785f at posting.google.com...
> Not really being a programmer, but thinking that there must be a
> better way than to do it by hand and havign a friend who likes to tell
> me that python is the answer to everything I am hoping.
>
> I have two NT4 domains, and I need to create instances of all the
> account names from one in the other.
>
> All accounts need to have identical group memberships to each other,
> and different passwords.
>
> I have in mind some program that will automatically generate a
> password (I already wrote one of those) and write out to a csv file
> username,passwd thgat we can refer to when the clients need to log
> into their new account.
>
> Because there are about 1600 accounts, I'd really love it if there
> was a way to do this with a script.
>
> I bought the Dietel How to Program Python book in an attempt to learn
> this language, but it doesn't seem to have much in it related to NT
> stuff like this.
>
> IF anyone has done anything like this, or knows how, I'd love to
> hear from you.
>
> Cha!
>
> nemir (at) hot mail dot com
More information about the Python-list
mailing list