Hi, I'm trying to modify existing users to ensure all users in our tree
have posix information. My LDIF script looks like...

version: 1

dn: cn=name1,ou=staff,o=ldap
changetype: modify
add: objectClass
objectClass posixAccount
add: gidNumber
homeDirectory
uidNumber
gidNumber: 670
homeDirectory /home/directory/stuff
uidNumber: 00012345

As an error I get...

modify entry: cn=name1,ou=staff,o=ldap
Record: 1, ldap_modify failed 65(Object class violation) dn:
cn=name1,ou=staff,o=ldap
ProcessEntry failed: 65 continuing with the next entry
Record 1, process_ldif_rec failed: 65 dn: cn=name1,ou=staff,o=ldap

What am I doing wrong please?


--
egriff
------------------------------------------------------------------------
egriff's Profile: http://forums.novell.com/member.php?userid=72849
View this thread: http://forums.novell.com/showthread.php?t=458905