LDAP User count not updated after deactivating a user

We use Confluence 3.5.13 with LDAP authentication (LDAP read only).

Directory order:

1. Upgraded atlassian-user LDAP (ldapRepository). Type: Microsoft Active Directory (Read Only, with Local Groups)

2. Confluence Internal directory. Type: Internal

Unfortunately, the user count isn’t updated under License Details when a user is removed from all groups (user is not member of any groups).

I tried to update the correct number of active users that counts towards the license limit according to the procedure from below:

- Change directory order

- Disable LDAP directory

- Synchronize

- Refresh the number of Licensed Users under License Details (Confluence shows now the correct number of active users)

- Enable LDAP directory

- Change back the directory order

Well, for the moment the number is correct but only until a new refresh (new synchronization) of the LDAP.

How can this problem be solved?

4 answers

This widget could not be displayed.

Try setting up that only one group have "CAN USE" global permission. Then it will be easier to manage and I believe such issues will not apear.

This widget could not be displayed.

Setting up that only one group have "CAN USE" global permission will not save the problem.

confluence-users and confluence-administrators must have the CAN USE global permission. If there are additional groups with the permission, removing them will result in counting down the number of active users according to the number of users in the additional groups only - the behaviour will be the same when a LDAP user is removed from all groups: the number of active users will not count down.

This widget could not be displayed.

Maybe you have granted "Can Use" permission to individual users? Then removing user from all groups will not help.

How many user directories are you using? (1xLDAP + 1xInternal ?)

This widget could not be displayed.

No individual users have the permission. Yes, one LDAP (primary) and one Internal.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

607 views 8 6
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