Auto Add to confluence-users from LDAP (Read Only with Local Groups)

Following the LDAP documentation for Confluence 5.3.1 I have configured the LDAP connector.
Works great but does not auto add the user to confluence-users so user is denied access.

Name: LDAP server
Active: true
Implementation class:
"autoAddGroups": "confluence-users"

Looking for suggestions on where to look for why this does not work as intended.
You have to manually login to Confluence and go into the user settings and manually add the user to confluence-users group, which then grants access.

thanks for any hints!


2 answers

Hey Chris,

The option Default Group Memberships only works for users on the first login, see here:

In Confluence 3.5.2 and later, and JIRA 4.3.3 and later: The first time a user logs in, their group memberships will be checked. If the user does not belong to the specified group(s), their username will be added to the group(s). If a group does not yet exist, it will be added locally. On subsequent logins, the username will not be added automatically to any groups. This change in behaviour allows users to be removed from automatically-added groups. In Confluence 3.5 and 3.5.1, they would be re-added upon next login.

Do you see this issue when trying log in Confluence with a newly created user that hasn't logged in Confluence yet?


Hi Tiago,

So, when an LDAP user attempts to log in for the first time they are rejected. This is due to them not belonging to the 'confluence-users' group upon login.



Hi Chris, Did you find a solution. I'm having the same issue with Confluence 5.7.3. Regards,

Same defect here with Confluence 6.10 :(

They work fine until we need to manage also groups locally (capacity to add new group)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

261 views 2 10
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