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

no structuralObjectClass operational attribute



I'm working with the latest openldap from debian unstable (though I'm not yet cross-posting to the debian-openldap list), and I continue to be confused by the following:

ni@cderr-sid:~$ ldapadd -W -x -D "cn=admin,dc=simons-rock,dc=edu" -f oupeople.ldif
Enter LDAP Password:
adding new entry "ou=People, dc=simons-rock,dc=edu"
ldapadd: update failed: ou=People, dc=simons-rock,dc=edu
ldap_add: Internal (implementation specific) error (80)
additional info: no structuralObjectClass operational attribute


ni@cderr-sid:~$ cat oupeople.ldif
dn: ou=People, dc=simons-rock,dc=edu
ou: People
objectClass: organizationalUnit



Here's the result of a slapcat of the directory: (only two entries at this point)

cderr-sid:~# slapcat
dn: dc=simons-rock,dc=edu
objectClass: top
objectClass: dcObject
objectClass: organization
o: simons-rock.edu
dc: simons-rock
structuralObjectClass: organization
entryUUID: e103a166-2f71-1027-9c38-fe6d30a7d246
creatorsName: cn=anonymous
modifiersName: cn=anonymous
createTimestamp: 20030610093011Z
modifyTimestamp: 20030610093011Z
entryCSN: 2003061009:30:11Z#0x0001#0#0000

dn: cn=admin,dc=simons-rock,dc=edu
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: <encrypted hash>
structuralObjectClass: organizationalRole
entryUUID: e105c036-2f71-1027-9c39-fe6d30a7d246
creatorsName: cn=anonymous
modifiersName: cn=anonymous
createTimestamp: 20030610093011Z
modifyTimestamp: 20030610093011Z
entryCSN: 2003061009:30:11Z#0x0002#0#0000


I had some good help from Hallvard in tracking down errors with my custom schema specifications, but this error seems to be prior to any possible effect from schema errors. Any pointers to documentation which explains structuralObjectClass(es) (or for that matter the whole "objectClass" thing) in some detail would be greatly appreciated.


   thanks much,
      ~c