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 want to add a user (from Sun IDM to Active Directory) to more than one group.
The command memberOf: CN=AAA,OU=AAA,DC=AAA,DC=AAA is for only one and I want to add a second one immediatly after the first; e.g.:

share|improve this question

Depending on how you're doing the adding, there are a couple of ways of doing this. MemberOf is a multi-valued attribute. If you're using an LDIF file, or direct LDAP syntax, you just add multiple MemberOf statements:

Department: Human Resources
Full Name: Milton Ives
share|improve this answer
I'm using Sun IDM and I don't have the possibility to add new line like in your example. I can write only one string. There are something special chars to give to him the CR, like \n or <br>? – Possa May 30 '11 at 15:50
I've never used the Sun IDM so can't help you there. – sysadmin1138 May 30 '11 at 15:58
Solved. Sun IDM think about attributes as lists, so I had to give him the attribute as list and merge the attributes in it. – Possa May 31 '11 at 10:15

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.