list groups and users of NT domain

Sean 'Shaleh' Perry shalehperry at
Wed Aug 13 21:58:36 CEST 2003

On Wednesday 13 August 2003 05:22, Marko Faldix wrote:
> Hello,
> I am looking for a language to achieve lists of all NT users and groups of
> a given NT domain on a Windows 2000 Server. It has to run within a
> webscript, so vbscript with windows scripting host is considered first. But
> before I dive into this, isn't it possible to do it with win32all?
> An ideal result would be something like the listings one get while changing
> file permissions on a file on a NT machine. I think, this extends too far,
> because you browse all accessible domains (isn't it?), but maybe it is
> sufficient enough to concentrate on one given known NT domain.
> Must I really use WSH and this combined with vbscript?

If you are using Active Directory you can easily access the data via LDAP.  
Not sure if you are since you said NT domain, but worth a shot.

More information about the Python-list mailing list