[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Install problem, ldap_bind: Can't contact LDAP server



At 03:15 PM 4/21/99 -0600, Wiersema, Todd wrote:
>/opt/openldap/bin/ldapsearch -h www2.hou.hop.lmsg.lmco.com -p 389 -D
>'cn=wiersema, o=lmco, c=US' -w xxxxxxxx -b 'o=lmco' 'objectclass=*'
                                            ^^^^^^^^
s/o=lmco/o=lmco,c=US/

>/opt/openldap/bin/ldapsearch -h 127.0.0.1 -p 389 'objectclass=*'

Need -b baseDN option.
Note: you can set a default using ldap.conf(5)

>/opt/openldap/bin/ldapsearch -h www2.hou.hop.lmsg.lmco.com   'objectclass=*'
>ldap_bind: Can't contact LDAP server

Same as above.

>suffix          "o=lmco,c=US"

Yes, your search above used the wrong base DN.