Loren M. Lang
2004-01-24 06:46:50 UTC
I'm trying to add entries into an openldap database base, but it keeps
rejecting the entries. I tried adding the following:
dn: dc=tallye, dc=com
objectClass: person
cn: B
sn: s
but ldapadd gives me the error message:
additional info: naming attribute 'dc' is not present in entry
So I added the dc entry as follows:
dn: dc=tallye, dc=com
objectClass: person
dc: tallye
cn: B
sn: s
And now it gives me the following error message:
additional info: attribute 'dc' not allowed
I can't figure out what's wrong. I'm using OpenLDAP-2.1.23 on FreeBSD
4.9. Please CC me as I don't think I've subscribed correctly.
--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C
rejecting the entries. I tried adding the following:
dn: dc=tallye, dc=com
objectClass: person
cn: B
sn: s
but ldapadd gives me the error message:
additional info: naming attribute 'dc' is not present in entry
So I added the dc entry as follows:
dn: dc=tallye, dc=com
objectClass: person
dc: tallye
cn: B
sn: s
And now it gives me the following error message:
additional info: attribute 'dc' not allowed
I can't figure out what's wrong. I'm using OpenLDAP-2.1.23 on FreeBSD
4.9. Please CC me as I don't think I've subscribed correctly.
--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.
Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C