ldap: naming attribute "dc" is not present in entry
ldap: naming attribute "dc" is not present in entry
am 10.06.2006 02:46:09 von Fred
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( )
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 #
suffix "dc=kastl,dc=de"
rootdn "cn=admin,dc=kastl,dc=de"
rootpw xxxxx
argsfile /var/run/openldap/slapd.args
Re: ldap: naming attribute "dc" is not present in entry
am 10.06.2006 03:54:34 von Sam
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_mimegpg-commodore.email-scan.com-15832-1149904473-0001
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Fred writes:
> 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 ?
Add an explicit dc: attribute to your record. Just the "dc" appear in your
"dn" is not enough, you also need to list it as an explicit attribute.
But this has nothing to do with E-mail. I couldn't find a Usenet newsfroup
for LDAP-related issues. You could try comp.misc, but it doesn't look
promising. None of the openldap mailing list appear to be suitable. Looks
like you're a bit out of luck.
--=_mimegpg-commodore.email-scan.com-15832-1149904473-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBEiiZZx9p3GYHlUOIRAlzgAJ45e46l5Oyu2Tvm9fGAUCQcGNAy8ACf eBu6
MM7qCJhESejtXq6rrFtSYgs=
=EBLW
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-15832-1149904473-0001--
Re: ldap: naming attribute "dc" is not present in entry
am 10.06.2006 14:11:25 von Fred Kastl
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sam wrote:
> Fred writes:
>
>> 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 ?
>
> Add an explicit dc: attribute to your record. Just the "dc" appear in
> your "dn" is not enough, you also need to list it as an explicit
attribute.
thanks, i'am new to ldap what do you mean with an "explicit dc:
attribute" ?
>
> But this has nothing to do with E-mail. I couldn't find a Usenet
> newsfroup for LDAP-related issues. You could try comp.misc, but it
> doesn't look promising. None of the openldap mailing list appear to be
> suitable. Looks like you're a bit out of luck.
i'am intend to store my e-mail addresses from my E-Mail Client in the
ldap database :-)
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEirbt0TZj8WAITooRAgVxAJsGwlE2+mQr2rLpbVd9nDKsk44EhQCf fNyW
IMuU/jencErC4raQf5hit0g=
=olJd
-----END PGP SIGNATURE-----
Re: ldap: naming attribute "dc" is not present in entry
am 10.06.2006 14:39:06 von Sam
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_mimegpg-commodore.email-scan.com-24850-1149943145-0006
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Fred Kastl writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Sam wrote:
>> Fred writes:
>>
>>> 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 ?
>>
>> Add an explicit dc: attribute to your record. Just the "dc" appear in
>> your "dn" is not enough, you also need to list it as an explicit
> attribute.
>
> thanks, i'am new to ldap what do you mean with an "explicit dc:
> attribute" ?
Even though you have:
dn: dc=foo,whatever=bar
You also need to explicitly specify
dc: foo
In your LDAP entry.
>> But this has nothing to do with E-mail. I couldn't find a Usenet
>> newsfroup for LDAP-related issues. You could try comp.misc, but it
>> doesn't look promising. None of the openldap mailing list appear to be
>> suitable. Looks like you're a bit out of luck.
>
> i'am intend to store my e-mail addresses from my E-Mail Client in the
> ldap database :-)
LDAP doesn't care what you're storing. E-mail addresses, or your book
catalog. I somewhat sympathize -- OpenLDAP is definitely very hostile as to
giving any kind of a useful feedback on errors.
--=_mimegpg-commodore.email-scan.com-24850-1149943145-0006
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBEir1qx9p3GYHlUOIRAmLIAJ0X1FeOwAw0SEne8yKAYfmCJZQSVgCf dCoO
jMq0w7pyLKDYfE4RgCoRq8M=
=Ku/I
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-24850-1149943145-0006--