Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 [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 ?

share|improve this question

uniqueMember is not allowed or required by the person objectClass. Use the groupOfUniqueNames objectClass.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.