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

"no such object"



Hi, 
i use openldap on linux mandrake 5.3
I had modify 'slapd.conf', 'ldap.conf', 'ud.conf' and create a simple
base, 
I had stop slapd, convert my ldif file with :
"ldif2ldbm -i my_ldif_file -f /etc/slapd.conf"
and finally restart slapd.
But when i use : ldapsearch -b 'o=etudiants.uhp.fr' 'cn=mickey*', 
i get the message "no such object"
Anyone could help me please.
I give you also the files slapd.conf, ldap.conf, ud.conf and my ldif
file
Thanks
-- 
---------------------------------
|        Samson BISARO          |
| http://www.uhp.u-nancy.fr/RRI |
|	             	        |
---------------------------------
# See ldap.conf(5) for details
# This file should be world readable.

HOST	annuet.uhp.u-nancy.fr
BASE	o=etudiants.uhp.fr

PORT	389

SIZELIMIT	12
TIMELIMIT	15
DEREF		never
#
# LDAP Defaults
#

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

HOST	annuet.uhp.u-nancy.fr
BASE	o=etudiants.uhp.fr

PORT	389

SIZELIMIT	12
TIMELIMIT	15
DEREF		never
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/etc/ldap/slapd.at.conf
include		/etc/ldap/slapd.oc.conf
schemacheck	off
#referral	ldap://ldap.itd.umich.edu

pidfile		/var/run/slapd.pid
argsfile	/var/run/slapd.args

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

database	ldbm
suffix		"o=etudiants.uhp.fr"
index		cn,sn,ou	pres,eq,approx
index 		objectclass	pres,eq
index		default		none
directory	/var/ldap
rootdn		"uid=root,ou=Members,o=etudiants.uhp.fr"
rootpw		secret
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.


dn: cn= Mickey Mouse,idetu= 1009,o=etudiants.uhp.u-nancy.fr
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: Mickey Mouse
cn: Mickey Mouse
sn: Mouse
givenname: Mickey
mail: mickey.mouse.1@poincare.uhp.u-nancy.fr
l: invites
ou: invite