Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing an LDIF into NW6/NDS8.6.2

Status
Not open for further replies.

Chewie71

MIS
Sep 4, 2001
89
US
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=&quot;ldap&quot; dest-dn format=&quot;ldap&quot;>
<placement-rule>
<match-class class-name=&quot;person&quot;></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
 
I got it working!

I had to drop both objectClasses, and add a new objectClass of &quot;inetOrgPerson.&quot; Then I changed my placement-rules file to use inetOrgPerson instead of person...and it worked.

Now...I want to know if I can sync the LDAP and NDS passwords. That could be a problem I think. If anyone is doing this I'd appreciate it if you'd let me know how it's done.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top