Using JNDI how to add user as a member of group which is present in another AD domain?
For example: In AD forest test.com their are two domain a.test.com and b.test.com. Group is present in a.test.com and I want to add user present in b.test.com as a member of the group.
Any pointer around this would be great help.
See the below link to get an idea on group types.
If the group is a universal group, you can just add members similar to local group even if user and group are in different domains. That is by setting the member attribute of the group.