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"
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 (http://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory) 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" (http://confluence.atlassian.com/display/DOC/Connecting+to+an+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?
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.
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...
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!
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