I'm having a spot of trouble with check_ldap.
my command is:
./check_ldap -H myhost.com -b o=ABC,c=D -p 1234
I'm getting the error:
"could not search/find object classes in o=ABC,c=D"
Any ideas what this means?
The error message leads me to believe your baseDN. It is, quick clearly, saying that it could not find object in that baseDN. It could be a permissions issue with the username/password you're binding with (if relevant, given that it's missing from your example), or an actual baseDN issue. I'm leaning towards the latter.
(1) Janne ultimately is leading you in the correct direction. As we don't exactly know what your tree looks like, and your baseDN is (rightly) masked, it's very hard to provide more insight given the nature of LDAP. I would suggest plugging your query into
(2) Port 1234? Seriously? Are you honestly running slapd on port 1234?
In my case, I had the same error as you. I just took off the "," and it worked...
Try to use in such way: