[Date Prev][Date Next]
RE: Active Directory
If you have multiple domain controllers and there are admins making changes
to one of them, they won't show up on the others until replication has
occurred between the DC's. This is a shell script I use to search against
AD and it works consistently every time (unless of course someone changes
something on another DC and it hasn't replicated yet :) ).
ldapsearch -LLL -W -h $2 -D "cn=someone,cn=users,dc=my,dc=com"
Then I run the script like this:
./ldp 'SEARCH_FILTER_HERE' [2000_DC_TO_QUERY]
The search you want below would be run like this:
./ldp '(&(cn=*)(objectclass=*))' eng2k.uwaterloo.ca
This script is how I check to see if a Win2K user's UNIX attributes are
correct for logging in to our Linux box.
Hope this helps
Network Team, Sherman Financial Group
From: Erick [mailto:firstname.lastname@example.org]
Sent: Friday, May 25, 2001 11:54 AM
Subject: Active Directory
I would like to use the ldapsearch program against a Windows 2000 active
Using UMich's ldapsearch, the following command returned *something*
but only sometimes, running it 3 times in successsion might have
returned results once if I was lucky:
ldapsearch -v -h eng2k.uwaterloo.ca -s sub -b \
With the latest OpenLDAP downloaded today, I get no results at all. Well,
at least my results are consistent.