LDAP :Failed to find add in mandatory or optional attribute list
Posted
by
Manju Prabhu
on Server Fault
See other posts from Server Fault
or by Manju Prabhu
Published on 2012-08-31T11:27:03Z
Indexed on
2012/09/01
9:40 UTC
Read the original article
Hit count: 379
I am trying to import an ldif file which has following content-
DN: cn=myUser,cn=Users,dc=us,dc=oracle,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetorgperson
objectclass: orcluser
objectclass: orcluserV2
cn: myUser
givenname: myUser
mail: myUser
orclsamaccountname: myUser
sn: myUser
uid: myUser
userpassword:: somepassword
dn: cn=Administrator,cn=Groups,dc=us,dc=oracle,dc=com
objectclass: person
changetype: modify
add: uniquemember
uniquemember: cn=myUser,cn=Users,dc=us,dc=oracle,dc=com
When I do this, LDAP throws follwing error
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find add in mandatory or optional attribute list.];
remaining name 'cn=Administrator,cn=Groups,dc=us,dc=oracle,dc=com'
The user gets imported, but it is not added to the group(Group exists). What am i missing ?
© Server Fault or respective owner