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

slapd.conf & ldap.conf


i need help about ldap configuration, please.

i configured slapd.conf like this:

include             /etc/ldap/schema/core.schema
include             /etc/ldap/schema/cosine.schema
include             /etc/ldap/schema/nis.schema
include             /etc/ldap/schema/inetorgperson.schema
pidfile               /var/run/slapd/slapd.pid
argsfile             /var/run/slapd.args
loglevel            none
modulepath      /usr/lib/ldap
moduleload      back_hdb
sizelimit           500

backend            hdb
database          hdb
suffix                  "dc=amahoro,dc=bi"
directory            "/var/lib/ldap"
dbconfig set_cachesize 0 2097152 0
dbconfig set_lk_max_objects 1500
dbconfig set_lk_max_lockers 1500
index           objectClass eq
lastmod         on
checkpoint      512 30

and ldap.conf like this:

# LDAP Defaults

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE    dc=amahoro,dc=bi
URI     ldap://

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

but running ldapsearch the answer is
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

what is wrong?