User can log in but is not added to confluence-users group

Some LDAP users were just added as users of confluence, and the LDAP Permissions are set to "Read Only, with Local Groups ". Those LDAP user can log in but he/she isn't added to the confluence-users group (it used to be the case). Nor he/she is in the confluence-users group member listing.

Furthermore, we also have this related problem. A user, say abc123, is listed in the confluence-users member listing, the kind you have from https://confluence.example.com/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=confluence-users.

But when you click that user's name, which brings you to https://confluence.example.com/admin/users/viewuser.action?username=abc123, it says "This user isn't in any groups." Strange.

Some user can still log in and is a valid member of confluence-users group.

Where should I start to troubleshoot this problem?

1 answer

1 accepted

Problems solved. This was our mistake in the LDAP configuration.

We use Confluence 5.4.4 with permissions set to "Read Only, with Local Groups ".

Lessons we learned (not necessarily the best practice or even correct, so your comments are most welcome):

  • Do not make a group called 'confluence-users' in the LDAP server (intended for confluence), since confluence will confuse it and unexpected things can happen.
  • Do make the "Default Group Memberships" be 'confluence-users' in LDAP Permissions.
  • To filter in users of confluence in the LDAP (in our company, not everyone in the 'ou=Employee' have access to confluence), we're not using groups, but instead we use filter like title=cnf. So one with a title attribute set to 'cnf' will generally have access to confluence. (Thank you pak Suyadi Abu Farros.)
  • The new users will join (internal) confluence-users group upon login.
  • If you want, as an admin, you can assign any groups (including confluence-users) to any user even if they haven't logged-in yet.

I'd be grateful if someone can point out a number of best practices pertaining to this issue.

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 4 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

56 views 2 3
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