Cannot add group member to confluence user group, using active directory at the same time

I have got a confluence 3.5 setup with the following directories enabled:

  • Confluence Internal Directory
  • Active Directory server (Read Only)

My assumption was, that I could manage confluence-only groups on the confluence system for certain editor-management (not company organisation relevant groups). I am able to create new confluence groups but get the following error if I try to add members to it:

Could not add user 'john.doe' as a member of group 'management-editor'. Check your server logs for more information.

2012-06-28 09:10:51,922 ERROR [http-8443-5] [bucket.user.DefaultUserAccessor] addMembership Failed to add 'john.doe' as a member of 'management-editor'
 -- referer: https://testpagexy.com/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=management-editor | url: /admin/users/adduserstogroup.action | userName: john.doe | action: adduserstogroup
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationNotPermittedException: com.atlassian.crowd.exception.ApplicationPermissionException: Group 'management-editor' does not exist in the directory of the user and cannot be added.
at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdGroupManager.addMembership(EmbeddedCrowdGroupManager.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springfra...

Question: According to the exception message: why does the group has to exist already in the directory of the user?

Thank you very much for any hint.

René

Appendix 26.6.12: Screenshot of the directory order screen:

5 answers

This widget could not be displayed.

Looks like "Active Directory server (Read Only)" is first user directory in your directory list

Confluence write changes you want to do into first directory listed and fails due to read-only status of userdirectory

This widget could not be displayed.

Thank you for your answer @oilspace sysadmin. It seems that the directory order is already setup like you are suggesting. Any other idea?

This widget could not be displayed.

Yes, I have the same issue. Any ideas? It's not a big deal, as we can just use the existing AD groups, but I would like to know if it is possible and how you can have multiple directories working together.

This widget could not be displayed.

Yes, I have the same issue. Any ideas? It's not a big deal, as we can just use the existing AD groups, but I would like to know if it is possible and how you can have multiple directories working together.

This widget could not be displayed.

Hi, I had the same expectation : being able to add LDAP users to local groups. And I had the same problem. I found a note that was useful and helped me solve the problem:

https://confluence.atlassian.com/display/CONFKB/Unable+to+Add+Users+into+a+Group+Due+to+Lack+of+Permission

The note mentions 2 queries : in my case, I just applied query #1, I restarted the server and it was enough.

Please make sure to test in a development platform first,

Best regards, Lionel

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

30 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you