I have a very weird problem with the check_ldap command. A while ago we migrated our main Active Directory Domain Controller to a new machine and made it the primary domain controller. Since then, my check_ldap command fails whenever the old domain controller is not available. Yes, I have changed the IP address I'm using to check.
Here's my check command which I'm running from the command line.
Code: Select all
./check_ldap -H 10.174.64.31 -b "DC=curric,DC=lilydale-hs,DC=wan" -D "CN=ldapbind,DC=curric,DC=lilydale-hs,DC=wan" -P "xxxxxx"If the old domain controller is running, the above check works, even though the .31 ip address is the ip address of the new controller.
Added to the strangeness, I downloaded the LDAPExplorerTool2 from sourceforge, and that works quite ok with the above details when the original domain controller is offline.
Any ideas?
Cheers,
Chris.