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

Failing to add initial entries



Hi!

I'm trying to install OpenLDAP 1.26 on Linux RH 5.2, but I'm failing.

I followed the "quick start guide".

here is my slapd.conf 
-------------
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/etc/openldap/slapd.at.conf
include         /usr/local/etc/openldap/slapd.oc.conf
schemacheck     off
#referral       ldap://ldap.itd.umich.edu

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

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

database        ldbm
suffix          "dc=istda, dc=com"
directory       /var/ldap
rootdn          "cn=root, dc=istda, dc=com"
rootpw          cancel
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.
-------------

...and my myldif for the initial add.

-------------
dn: dc=istda, dc=com
dc: istda
o: istda
objectClass: organization
objectClass: dcObject

dn: cn=Manager, dc=istda, dc=com
cn: Manager
sn: Manager
objectClass: person 
-------------

I didn't touch any other config file.

The slapd server starts (using -f slapd.conf). The point where the procedure
fails is the initial add:

[root@unknown openldap]# /usr/local/libexec/slapd -f ./slapd.conf
[root@unknown openldap]# /usr/local/bin/ldapadd -D "cn=Manager, dc=istda,
dc=com" -W <myldif
Enter LDAP Password:
ldap_bind: No such object
[root@unknown openldap]#

Whats wrong? 

 Frank-Christian Krügel

-- 
----------------------------------------------------------------------
fchk@i-online.ohz.north.de - 2:2426/3060      http://www.ohz.north.de/