Lourduraj wrote:

Hi All,
     I am new to ldap.I have installed iPlanet Directory
server.Following the documents, I am trying to create classes and add
entries.I have created attributes like usrid,userstatus and added them
to a class called 'test'.
     I created a suffix , 'dc=ibs,dc=com'.Coming back to the
Directory tab ,I am trying to add an entry to 'dc=ibs,dc=com' suffix.I
tried adding the class 'test'.But while adding the values , I am
getting the error 'Object class violation'.In the error logs , it
gives

    - Entry "dc=ibs,dc=com" -- attribute "dc" not allowed

    I don't know what the error is.Any help is greatly appreciated.

The attribute "dc" which is used for entry naming must also be an attribute of the entry, which means that the attribute must be specified in the object class schema that you use for the entry. I would recommend using the object class "domain" for the entry, which has the "dc" attribute. e.g.

ldapmodify ....
dn: dc=ibs,dc=com
changetype: add
objectclass: top
objectclass: domain
dc: ibs



Regards,
Raj


Reply via email to