[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
newbie question
Hello,
I'm trying to execute the example from the quick start guide but I have the
following error:
dapadd -x -D "cn=Manager,dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be" -W -f
/home/xavier/example.ldif
Enter LDAP Password:
adding new entry "dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be"
ldap_add: Object class violation
additional info: missing required attribute
I quess what it means but, really starting from scratch (and from the docs),
I don't really know how to resolve it (and my domain name doesn't help me
very much as well))
Following you can find the ldif file as well as the slap.conf
In advance, thank you for any help
Xavier
example.ldif
-------------
dn: dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
objectclass: dcObject
objectclass: organization
o: ste
dc:ste
dc:fapse
dc:ulg
dc:ac
dc:be
dn: cn=Manager,dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
objectclass: organizationalRole
cn: Manager
slapd.conf
-----------
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
# 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 /var/run/slapd.pid
argsfile /var/run/slapd.args
# Load dynamic backend modules:
# modulepath /usr/lib/openldap/openldap
# moduleload back_ldap.la
#moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be"
#suffix "o=My Organization Name, c=US"
rootdn "cn=Manager,dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be"
#rootdn "cn=Manager, o=My Organization Name, c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.