Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
docs on objectClass order in LDIF files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
adamtheo
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2002
Posts: 123
Location: Tallahassee, Florida USA

PostPosted: Sun Nov 23, 2003 8:23 am    Post subject: docs on objectClass order in LDIF files? Reply with quote

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=28): (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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum