NetGetAnyDCName() - get PDC of a foreign WinNT-domain
Dirk Hagemann
usenet at mail-2-me.com
Thu Jan 22 08:50:58 EST 2004
Hi!
I'm trying to get the PDC-Computername of a foreign WinNT-domain, but
I only managed to get the PDC of my own domain with this code:
pdc=win32net.NetGetAnyDCName()
I think it should be possible to get the PDC of a foreign domain
(which is a trusted domain) with this code. If I'm right with this
assumption, could anyone give me an example-code?
Or tell me that I'm wrong, then I can concentrate on something else...
Thanks!
Dirk
More information about the Python-list
mailing list