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

ldap_add: Object class violation (65)


Im tryin 2 add user infomation to my directory but get the following error:

adding new entry "uid=jdoe,ou=people,dc=gmsg,dc=co,dc=za"
ldapadd: update failed: uid=jdoe,ou=people,dc=gmsg,dc=co,dc=za
ldap_add: Object class violation (65)
additional info: no structural object class provided

Below is the ldif im trying to import and after that is what my
current directory looks like, and from what I can see I dont know why
im getting that error. Anybody got any Ideas?
I have included all schema's being nis.schema and cosine.schema ?

      # extended LDIF
      # LDAPv3
      # base <> with scope sub
      # filter: objectClass=*
      # requesting: ALL

      # gmsg.co.za
      dn: dc=gmsg,dc=co,dc=za
      objectClass: dcObject
      objectClass: organization
      o: Global Mining Support Group
      dc: gmsg

      # Manager, gmsg.co.za
      dn: cn=Manager,dc=gmsg,dc=co,dc=za
      objectClass: organizationalRole
      cn: Manager

      # people, gmsg.co.za
      dn: ou=people,dc=gmsg,dc=co,dc=za
      ou: people
      objectClass: top
      objectClass: organizationalUnit

      # admin, gmsg.co.za
      dn: cn=admin,dc=gmsg,dc=co,dc=za
      cn: admin
      objectClass: top
      objectClass: organizationalRole
      objectClass: simpleSecurityObject

      # search result
      search: 2
      result: 0 Success

      # numResponses: 5
      # numEntries: 4