ldap: naming attribute 'dc' is not present in entry



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
.



Relevant Pages

  • Re: stl vector find.
    ... > Once I can understand this part another problem I see is in the naming ... in essence I need to dynamically name my structures but for now the ... (of type Entry) ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Application.Run(new Main()) - The specified module could not be found.
    ... I would suggest naming your Form something other than Main.. ... to name it same as entry point. ... This error is getting thrown on Application.Run) ... From what it looks like it can not find some DLL that i have referenced. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: settings access permissions below /dev accross reboots
    ... Garry Harthill spoke: ... > Try naming the file 10-local.rules ... Could it be that the 'tun' module should be loaded first? ... entry in /etc/modprobe.conf? ...
    (Fedora)