[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapadd error
- To: <openldap-software@openldap.org>
- Subject: ldapadd error
- From: "Sailesh D" <dsailesh@novell.com>
- Date: Wed, 18 Oct 2006 04:24:45 -0600
- Content-disposition: inline
- References: <453620C4020000520000FA76@lucius.provo.novell.com> <45362544020000520000FA7F@lucius.provo.novell.com> <45364DE0020000520000FA9C@lucius.provo.novell.com> <45364E45020000520000FA9F@lucius.provo.novell.com>
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.