473,386 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

list groups and users of NT domain

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?
Thanks for suggestions,

--
Marko Faldix
M+R Infosysteme
Hubert-Wienen-Str. 24 52070 Aachen
Tel.: 0241-93878-16 Fax.:0241-875095
E-Mail: ma**********@mplusr.de
Jul 18 '05 #1
3 6601
"Marko Faldix" <mf@mrinfo.de> wrote in message news:<bh*************@ID-108329.news.uni-berlin.de>...
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?
Look into <Python>\Lib\site-packages\win32\demos folder.
In your case you are most interested in win32netdemo.py but it will not hurt
if you browse other files.
There is a lot of useful examples there
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?
Thanks for suggestions,


Waldemar Osuch
Jul 18 '05 #2
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.
Jul 18 '05 #3
Hi,

"Sean 'Shaleh' Perry" <sh*********@comcast.net> schrieb im Newsbeitrag
news:ma*********************************@python.or g...
On Wednesday 13 August 2003 05:22, Marko Faldix wrote:
Hello,

[looking für list of NT Domain Groups/Users with python or WSH]
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.


I checked this point again. Indeed, OS will be switched to Active Directory.
I had forgotten to distinguish between these two possibilities. The major
scripts are already written with vbscript. Now I found this:

http://cwashington.netreach.net/depo...?topic=adsifaq

With active directory installed, it works simple with vbscript, so switching
to python is still not needed.
Thanks for all suggestions,

--
Marko Faldix
M+R Infosysteme
Hubert-Wienen-Str. 24 52070 Aachen
Tel.: 0241-93878-16 Fax.:0241-875095
E-Mail: ma**********@mplusr.de
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: BobTheDatabaseBoy | last post by:
.... got: win2K, v8.1.6 login to win2K is to the network: user; bob13, domain; foo it's a win2K domain. i then login to my local db as db2admin. LIST APPLICATIONS fails with security error. ...
1
by: Bjorn Kristensen | last post by:
Hi. I'm trying to read all the users and user groups from the NT domain I'm connected to. I cnat't se how this should be done. Can anyone help me. I'm basically trying to link my users to the...
2
by: Brian Henry | last post by:
I am working on a internal intranet site, and i need to make a permissions page, all the account authorization is done through AD to let them see the intranet site.. now, the permissions page i...
2
by: TK | last post by:
How can I show a list of OS users and groups in an ASP.NET page? Is there MSDN or SDK articles? please help. TK
0
by: Joao Correia via DotNetMonster.com | last post by:
Hello all, This is my first post in this forum My problem is: I have to list all domains, computers, users and groups here...we have some domains, plus 20.000 computers (with NT/4, XP and...
2
by: Mat | last post by:
How to list users and groups in domain using .NET? i want to show it in combo box.. Thank you
6
by: Mr Newbie | last post by:
Hi, Im in a situation where I need to restrict users, but I dont have access or wont be allowed access to manage groups in the domain. How can I restrict access is this case ? -- Best...
1
by: MAF | last post by:
How can I create a list of domain users and groups?
10
by: Jeff Williams | last post by:
How can I get a list of the Groups both Local and Domain groups a User belongs to.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.