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

ldapadd error



Hi all,
I installed openldap on windows and successfully started the server. My
slapd.conf file is :

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
ucdata-path	./ucdata
include		./schema/core.schema

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


#######################################################################
# BDB database definitions
#######################################################################

database	bdb
suffix		"dc=org"
rootdn		"cn=admin,dc=org"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw	{SSHA}XXXXXXXXXXXXXXXXXXXXXXXX
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory	./data
# Indices to maintain
index	objectClass	eq
#database access control definitions
access to *
	by dn="cn=admin,dc=org" write
	by * read


Now, I wanted to add the following entry to the file using ldapadd:

dn: cn=sailesh,dc=org
objectclass:person
sn:sailesh
Descriptiom: user

It returned the following error : 

request 1 done
adding entry "cn=sailesh,dc=novell"
request 2 done

ldap_add : No such object (32)

What is the mistake in that? Please help me in this regard.

Thanks in advance,
D.Sailesh Kumar.