ldap: naming attribute 'dc' is not present in entry
- From: Fred <mailinglist@xxxxxxxxxxxxxxxx>
- Date: Sat, 10 Jun 2006 02:46:09 +0200
Hello,
i try to set up my openldap (2.2.28-r3) server.
when i try to insert the root structure i always get the following error:
naming attribute 'dc' is not present in entry
any suggestions to avoid this ?
regards
Fred Kastl
####
# command
####
ldapadd -v -D cn=admin,dc=kastl,dc=de -w xxxxx -f
/etc/openldap/ldif/adressen/rootdb.ldif
ldap_initialize( <DEFAULT> )
add o:
kastl.de
add objectclass:
top
organization
adding new entry "dc=kastl,dc=de "
modify complete
ldap_add: Naming violation (64)
additional info: naming attribute 'dc' is not present in entry
########
# rootdb.ldif
########
dn: dc=kastl,dc=de
o: kastl.de
objectclass: top
objectclass: organization
dn: ou=adressbook, o=kastl.de
objectclass: organizationalunit
ou: adressbook
######
# slapd.conf:
######
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/mozilla.schema
pidfile /var/run/openldap/slapd.pidaccess to dn.regex="dc=kastl,
dc=de"
by * read
access to *
by dn.regex="cn=admin, dc=kastl, dc=de" write
by anonymous read
by users write
by * write
database bdb
checkpoint 32 30 # <kbyte> <min>
suffix "dc=kastl,dc=de"
rootdn "cn=admin,dc=kastl,dc=de"
rootpw xxxxx
argsfile /var/run/openldap/slapd.args
.
- Follow-Ups:
- Prev by Date: Re: attachment / yahoo issue
- Next by Date: Re: ldap: naming attribute 'dc' is not present in entry
- Previous by thread: attachment / yahoo issue
- Next by thread: Re: ldap: naming attribute 'dc' is not present in entry
- Index(es):
Relevant Pages
|