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

Dirk Hagemann usenet at mail-2-me.com
Fri Jan 30 07:44:50 EST 2004


Tim Golden <tim.golden at viacom-outdoor.co.uk> wrote in message news:<mailman.844.1075198899.12720.python-list at python.org>...
> [... snip my suggestion of pdc = win32net.NetGetAnyDCName (None,
> "name_of_other_domain") ...]
> 
> >From: usenet at mail-2-me.com [mailto:usenet at mail-2-me.com]
> >
> >Thanks for your help, but that does not work. I get an error message
> >which sais it can't reach the domain.
> >But I'm sure did not make an syntax-error, because if I enter my own
> >domain it works.
> >
> >Any other idea?
> >
> >Dirk
> >
> >
> 
> To ask the obvious question: do you definitely have all
> the necessary security / connectivity in place to reach
> the domain controller on that domain?
> 
> Can you log onto it normally with whatever name you're
> running under now?
> 
> (I don't have more than one domain here, so it's difficult
> for me to test)
> TJG
> 


I can reach the other domains and I have all rights. That's no the problem.

Dirk



More information about the Python-list mailing list