Discussion Locked

List Users with LDAP

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a VBScript that uses LDAP to list users in security groups. It works fine as long as the users are a part of the "Doamin Users" group and the other group I'm looking for. I have many users not in the "Domain Users" group for security reasons. Anyone else run in to this?

Thx,
Scott

2 replies

by monsterrick

Do you have Windows Server 2003? It comes with some handy ds commands to manuiplate Active Directory. In your case, you need dsquery and dsget. You can copy them to a Windows XP computer to run and get help using /?
However, ds commands won't run in Windows 2000 machine.

by lester.rivera

I ran into a similar problem. I found the issue was related to the permissions given to the credentials used to run my vbscript.

Hope this helps...

-Les
----------------------------------
lester.rivera@plangear.com
Plangear is the premier provider of LDAPxl, a directory services (LDAP) search add-in for Microsoft Office. Check out http://www.plangear.com/ldapxl/

This discussion is closed to new replies.