Subject: RE: Unable to Monitor Ldap Service on a Domino Server
“ldap_bind_s( dn=, pw=, method=128 ) failed, error: resultCode 81 (Can’t contact LDAP server)”
Query: In the “-h dominohostname” option do we need to give the Domino Hostname or the ldap hostname where the Ldap server is actually running ? [ex: ldap.acme.com]
– [The hostname is different from the Domino server name] – In this case we gave the hostname.
Yes, the -h argument is something like “ldap.acme.com”. The simple ldapsearch confirms the experience with your application - you cannot connect from your machine to ldap.acme.com using your configuration arguments.
The output of the sh stat ldap shows some stats related to ldap search –
LDAP.Anonymous LDAP Connections = 18
LDAP.Average LDAP Search time = 0,102
LDAP.Failed LDAP Connections = 57
LDAP.Longest LDAP Search time = 4,797
LDAP.Simple LDAP Connections = 1094
LDAP.Total LDAP Connections = 1112
LDAP.Total LDAP Search Entries Returned = 9169
LDAP.Total LDAP Search time = 2ÿ579,307
LDAP.Total LDAP Searches = 25189
LDAP.Total LDAP Searches for Root DSE = 10
Does this mean that Ldap is operational – Please suggest.
Yes, this means that not only is your Domino LDAP server operational, it has serviced 25,189 searches! So there are (other) LDAP client applications successfully using your Domino LDAP server.
The two simplest explanations that I can think of, given that your Domino LDAP is successfully servicing at least one LDAP application, are:
Your LDAP connection arguments are incorrect. (Typing TELL LDAP SHOW on the Domino console will reveal what settings it is running with)
You cannot reach your Domino LDAP Server from your test machine, possibly due to firewalls.