C:\Documents and Settings\admin>ldapsearch -v -h sametime cn="dave*"
ldap_sslinit( sametime, 389 )
ldap_bind_s( dn=, pw=, method=128 ) failed (V3), error
: resultCode 81 (Can't contact LDAP server)
Backing down to V2 bind...
ldap_bind_s( dn=, pw=, method=128 ) failed, error
: resultCode 81 (Can't contact LDAP server)
C:\Documents and Settings\admin>hostname
sametime
C:\Documents and Settings\admin>ldapsearch -v -h localhost cn="dave*"
ldap_sslinit( localhost, 389 )
filter pattern: cn=dave*
returning: ALL
*** Filter is: (cn=dave*) ***
....
Does anyone have some ideas why I can’t query the LDAP server in this
case?
Regards,
Dave
I tried to connect to the 389 port on my server using telnet and it
failed. Because of this I decided to retrace my steps and check the
entire configuration. The configuration looked good but the ldap
service wasn’t loaded on the server. I guess I overlooked that
because the ldapsearch on localhost worked and therefore I figured it
was already loaded. As soon as I ran ‘load ldap’ on the server,
everything worked as advertised.
Regards,
Dave B.