Limit LDAP users in Confluence

Hi everybody!

I have an integration with confluence and LDAP that i will call MyAD.

MyAD has 205 users. I have a 100 users confluence licence.

So, confluence says that i've already use all 100 users.

The problem is that i will not have ALL the users of MyAD as a Confluence user.

How can i solve that? I've already tried to deactivate the users but it seems not to be working since confluence still show me "205 signed up currently"

Any ideia??

2 answers

1 accepted

This widget could not be displayed.

Hi Tatiane,

They key to this is configuring your LDAP integration to only allow specific users in LDAP access to Confluence, specifically those LDAP users who are granted Confluence's "Can Use" permission as this is what counts against the license. How you do this will depend on which type of LDAP integration you are using.

If you're using what could be called "default" LDAP integration ( then you can limit the number of users by using an appropriate Base DN to limit the LDAP search to a particular brnach of the LDAP tree. If that's not possible due to the structure of the tree and you are using "Read only with Local Groups" you can leave the "Default Group Membership" blank so that users are not automatically added to the confluence-users group.

If you're using "Internal Directory with LDAP Authentication" ( you can leave the "Copy User on Login" option unchecked so users are not automatically added to Confluence. That way you manually add them and grant them the "Can Use" permission and only those users will be able to login and count against the license.

Hope that helps?


Thanks Andrew , problem solved!

This widget could not be displayed.

Hi Tatiane,

Andrew's respond seems to explain everything you need here. I just want to add that Atlassian have documentation that may guide you to restrict LDAP users and groups:

Hope it helps.

Septa Cahyadiputra

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...

574 views 7 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