Sig of the Week
Butters go buy World of Warcraft, install it on your computer, and join the online sensation before we all murder you.
NavigationPandoa MusicFlickRUseful Sites
NEW Corvette GMX 245WeatherSan Diego, CA User loginWho's onlineThere are currently 0 users and 0 guests online.
|
Finding users in large Active Directory forestsSubmitted by tfiske on Tue, 02/01/2005 - 23:45.
As I have been getting in and doing more stuff with ADSI programming from .NET, C# and VBScript, its a frequent need to lookup the users after I make changes to them. Also, finding their dn in the directory can sometimes be tricky, especially when you are working in a forest with 10,000 items, and multiple OU's where users can be hidden. Most of the GUI based browsers of Active Directory (like Softerra's LDAP Browser) have issues with returning all the objects in an OU. Fun to watch it scroll then choak. To that end, I found several nice command line utilities for querying Active Directory, and updating it for that matter.
dsquery user -name bsmith "CN=bsmith,OU=Users,OU=San Diego,DC=company,DC=com"
|