[python-win32] Domain iteration (for the archive and general knowledge).

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Aug 28 10:11:16 EDT 2003


From: Sean [mailto:null-python-win32 at tinfoilhat.ca]

> The following code gets around the problem where your network is segmented
> on different VLANs and broadcasts are not being propogated.  It uses the
> 'ADsNameSpaces' to enumerate all the items in the "Server Manager"
> application under NT4.

[snip explanation and code]

Brilliant! It's running on my machine now with only a couple of changes:

1) The final line is lacking a trailing 
   double-quote (cut-and-paste error?)
2) The is_responding () call in the 
   preantepenultimate line (!) -- the fourth
   from the bottom -- needs to be is_responding (machine)

Thanks very much.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-win32 mailing list