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

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

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

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.

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

78 views 0 11
Read article

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