adamtheo Tux's lil' helper
Joined: 03 Sep 2002 Posts: 123 Location: Tallahassee, Florida USA
|
Posted: Sun Nov 23, 2003 8:23 am Post subject: docs on objectClass order in LDIF files? |
|
|
Hi there. I'm trying to add some users to a LDAP directory I finally got working. I can add users via LDIF files as long as I don't do anything complicated (basically try to set them up for receiving mail or logging in via SSH). After I try to add the appropriate objectClass entries for these advanced functionalities, the slapadd command borks with the following error:
Quote: |
slapadd: dn="uid=adamtheo,ou=users,dc=theoretic,dc=com" (line=2: (65) unrecognized objectClass 'account'
|
Here is the entry from the LDIF file:
Quote: |
dn: uid=adamtheo,ou=users,dc=theoretic,dc=com
uid: adamtheo
cn: Adam Theo
sn: Theo
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: mailRecipient
objectClass: inetLocalMailRecipient
mail: adamtheo@theoretic.com
mailLocalAddress: adamtheo
mailRoutingAddress: adamtheo@mail.theoretic.com
mailHost: mail.theoretic.com
userPassword: {###}########
mail: theo@theoretic.com
labeledURI: http://www.theoretic.com/~theo/
telephoneNumber: 850-322-0470
shadowLastChange: 12336
loginShell: /bin/bash
uidNumber: 1000
gidNumber: 1000
homeDirectory: /home/adamtheo
gecos: Adam Theo
|
From some google searches it seems that OpenLDAP requires the objectClass entries to be in a certain order, but nowhere have I been able to find *any* documentation to find out what this order is. I've tried changing the objectClass order around in the file, but the same error appears, just referring to various different objectClasses when I do.
Where can I find documentation on objectClass order in LDIF files?
Thanks. _________________ * Theoretic Solutions "The Internet's Open Think-Tank" - http://www.theoretic.com |
|