We are getting ready to roll out NetWare 6 here at my organization. We’d like to be able to import users from an already existing LDAP database that all faculty/staff/students are listed in. I know DirXML is an option but the funding isn’t there for it right now. I’ve been testing the manual import from an LDIF file using the Import Wizard in C1 but am being stymied by an “Object Class Violation” error and would appreciate some help if anyone else has succeeded at doing this.
Here is a sample LDIF…
version: 1
dn: uid=msjts,ou=People,dc=test,dc=edu
mail: JT-Schmo@test.edu
objectClass: top
objectClass: person
givenName: Joe
telephoneNumber: 555/555-1234
cn: Joe T Schmo
uid: msjts
roomNumber: 126
sn: Schmo
title: NetAdmin
I’m also using a Placement Rule file…
<placement-rules src-dn-format="ldap" dest-dn format="ldap">
<placement-rule>
<match-class class-name="person"></match-class>
<placement>o=test<copy-name/></placement>
</placement-rule>
</placement-rules>
I’ve checked and double checked. Both the “top” and “person” classes exist in both LDAP and NDS. All the listed LDAP “attributes” map to attributes in NDS. So…why do I continue to get an “Object Class Violation?” I’ve tried using Schema Mapping Rules and I’ve tried giving the object classes more familiar names like “inetOrgPerson” and “organization.”
If there is any other information I need to provide let me know. Oh, and this is on a NW6SP2 server with NDS 8.6.2 and C1 1.3.3.
Thanks for any help,
Matt Mencel
Here is a sample LDIF…
version: 1
dn: uid=msjts,ou=People,dc=test,dc=edu
mail: JT-Schmo@test.edu
objectClass: top
objectClass: person
givenName: Joe
telephoneNumber: 555/555-1234
cn: Joe T Schmo
uid: msjts
roomNumber: 126
sn: Schmo
title: NetAdmin
I’m also using a Placement Rule file…
<placement-rules src-dn-format="ldap" dest-dn format="ldap">
<placement-rule>
<match-class class-name="person"></match-class>
<placement>o=test<copy-name/></placement>
</placement-rule>
</placement-rules>
I’ve checked and double checked. Both the “top” and “person” classes exist in both LDAP and NDS. All the listed LDAP “attributes” map to attributes in NDS. So…why do I continue to get an “Object Class Violation?” I’ve tried using Schema Mapping Rules and I’ve tried giving the object classes more familiar names like “inetOrgPerson” and “organization.”
If there is any other information I need to provide let me know. Oh, and this is on a NW6SP2 server with NDS 8.6.2 and C1 1.3.3.
Thanks for any help,
Matt Mencel