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

0 votes
Accepted answer

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

948 views 13 11
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