[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Why am I getting this error?
- To: openldap-software@OpenLDAP.org
- Subject: Why am I getting this error?
- From: Matt <mhoppes@gmail.com>
- Date: Fri, 7 Jan 2005 15:52:34 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=GeVjogWfT/nIqrchjPFplUYXHXrePBEmJoMH4VE8QAshZs2jDrrzQNoLCT5DIeLRTGZaX9Q3fs9CE/1dgZ9J5oCqDvUOzSfHCKwdCuIOrUVHqVyrGOdO3ToUvFqq+qk+ZjFCuQwPVEFPfbRNxzRktbIl22FMtmx30cpw/kjMfMM=
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