[CentOS] adding user ldif to ldap

Sean Hart boardnutz at blacklight.net
Fri Oct 29 00:06:39 UTC 2010

> Here is the error:
> LDAP# ldapadd -x -D "cn=Manager,dc=summitnjhome,dc=com" -W -f /tmp/passwd.ldif
> adding new entry "uid=root,ou=People,dc=summitnjhome,dc=com"
> ldap_add: Invalid syntax (21)
>         additional info: objectClass: value #6 invalid per syntax
I believe this is complaining about the 6th entry in the objectClass 
field (starting at 0, I think meaning the kerberosSecurityObject).  If 
you look at the schema entry for that objectClass, there may be 
restraints on the class that are not permitting you to add...

More information about the CentOS mailing list