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

Why am I getting this error?



When I try to setup open-ldap for the first time and add an entry I get:
[root@smtp1-ha root]# ldapadd -x -D "cn=Manager,dc=chilitech,dc=net"
-W -f ldif-test2
Enter LDAP Password:
ldapadd: no attributes to change or add (entry="dc=chilitech,dc=net   
 objectclass: dcObject     objectclass: organization     o: ChiliTech 
   dc: chilitech")



My config is:
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/qmail.schema.new

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

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


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

database        bdb
suffix          "dc=chilitech,dc=net"
rootdn          "cn=Manager,dc=chilitech,dc=net"
rootpw          OBSCURED
directory       /usr/var/openldap-data
index   objectClass     eq