Python and ADSI (more ADSI really)
Bill Tutt
billtut at microsoft.com
Wed Jan 5 16:04:14 EST 2000
> -----Original Message-----
> From: Paul Robinson [mailto:paul.robinson at quantisci.co.uk]
>
> [WINNT://mycomputer abysmially slow vs. WINNT://mydomain/mycomputer]
Another trick is to try this suggestion:
If you want to bind to a specific computer (instead of using a domain name),
then add ',computer' clause as part of the ADsPath to speed it up.
e.g Set comp = GetObject("WinNT://mycomputer,computer")
Set usr = comp.GetObject("user", "jsmith")
Bill
More information about the Python-list
mailing list