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

Problem monitoring slapd



Hello,

I have retrived and installed openldap on my site, but cannot make slapd reply
anything useful. The first problem I have is that, when I try to use the
monitoring feature (ldapsearch 'cn=monitor') I get no answer.

My configuration is the following:

openldap version 1.02 stable
Solaris 2.6, gcc-2.8.1
SLEEPYCAT DB2, with compatibility for DB 1.85
DB btree 

Of course, I have not changed the default SLAPD_MONITOR_DN, and I checked that
everything has compiled gracefully. I guess, though, that I made a mistake
somewhere, but can't find out where.

The messages I get are the following:

* Server side
% ./slapd -d 1
slapd 1.0-stable (Wed Dec  2 19:42:52 MET 1998)
        courtel@geant:/projet/freeware/system/ldap/servers/slapd
slapd starting
do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
do_search
send_ldap_result 9::Referral:
ldap://ldap.itd.umich.edu
do_unbind
ber_get_next on fd 5 failed errno 0 (Error 0)
*** got 0 of 0 so far

* Client side
% ldapsearch -v 'cn=monitor'
ldap_open( mailhost, 389 )
filter pattern: cn=monitor
returning: ALL
filter is: (cn=monitor)
ldap_search: No such object
ldap_search: matched: c=FR
0 matches

Finally, I don't think it has any influence, but here is my slapd.conf file:

include		/usr/local/etc/ldap/slapd.at.conf
include		/usr/local/etc/ldap/slapd.oc.conf
schemacheck	off
referral	ldap://ldap.itd.umich.edu

#######################################################################
# ldbm database definitions
#######################################################################

database	ldbm
suffix		"o=<CENA Toulouse>, c=FR"
directory	/var/ldap
dbcachesize	10000000
rootdn		"cn=<Nicolas Courtel>, o=<CENA Toulouse>, c=FR"
rootpw		ldapcena

index		cn,sn,uid	pres,eq,approx
index		default none

Thanks for your help,

--
Nicolas Courtel