Python System Administration

Tim Howarth tim at
Sat Feb 2 09:52:44 EST 2002

In message <PLPSljAQX$W8Ewpx at>
          Robin Becker <robin at> wrote:

> In article <37d27e024b.tim at>, Tim Howarth
> <tim at> writes
> >In message <6vTfsIAio7W8EwNp at>
> >          Robin Becker <robin at> wrote:
> >
> >> well if I could get the win32com extensions to change passwords on
> >> different machines for me I would really like that
> >
> >Why win32com rather than win32net (where it's easy)?
> >
> well I assumed we have to do it through DCOM,

You need to use com to attack the clever new features in Active
Directory Win2k+ but plain NT account info win32net is simple.

Best is to download the samples for the win32all package

(not sure, can't remember URL, I have file as -

or buy Mark Hammonds Python on Win32 book,

or use the help with win32allxxx (and win32api help)

> but if it's easy with win32net what's the easy way?

import win32net


'' is server name, in this case server it is run on (no need for name)
2 is data level - what to get/set

 |im    ---- ARM Powered ----

More information about the Python-list mailing list