[Date Prev][Date Next] [Chronological] [Thread] [Top]

naming violation



Hi!
I want to add entries from into my ldap and even the 
open-ldap-quick-start-guide entries dont't work.
Please help me.

I got these responses: 

[root@bawa001 root]# ldapadd -x -D "cn=Manager,dc=firma,dc=pl" -W -f 
input.ldif
Enter LDAP Password:
adding new entry "dc=firma,dc=pl"
ldapadd: update failed: dc=firma,dc=pl
ldap_add: Naming violation (64)
        additional info: value of naming attribute 'dc' is not present in 
entry


My input.ldif file:

dn: dc=firma,dc=pl
objectclass: dcObject
objectclass: organization
o: Example Company
dc: example

dn: cn=Manager,dc=firma,dc=pl
objectclass: organizationalRole
cn: Manager

My slapd.conf file:

database        bdb
suffix          "dc=firma,dc=pl"
rootdn          "cn=Manager,dc=firma,dc=pl"
rootpw          secret
directory       /usr/local/var/openldap-data

regards
Bart