NetGetAnyDCName() - get PDC of a foreign WinNT-domain

Dirk Hagemann usenet at
Thu Jan 22 14:50:58 CET 2004


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:

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...


More information about the Python-list mailing list