[python-win32] Domain PCs
Jorgensen, Jens
jens.jorgensen@tallan.com
Tue, 15 Jan 2002 13:59:33 -0600
NetServerEnum just finds computers on the network (as the name
suggests). For enumerating hosts in a Domain you might be able to do
something with the ADSI objects. Read about them in the MSDN Library for
more info.
Sven Henkel wrote:
> Hi all,
>
> I want to list all registered workstations in a NT4 domain. But my
> script shows only the active machines. How can I receive every server
> manager entry?
>
> ...
> win32net.NetServerEnum(server,100,win32netcon.SV_TYPE_WORKSTATION,domain,resume,win32netcon.MAX_PREFERRED_LENGTH)
> ...
>
>
> Thanks,
> Sven
>
--
Jens B. Jorgensen
jens.jorgensen@tallan.com