disabled AD accounts in Confluence

I have delegated authentication with AD. So any user with AD account can login to Confluence and their account is created there. Problem is with users who leave the company. Is there a way that these users will get disabled automatically? Otherwise all these ex-employees are counting as active users against my license.

Is there anyway to figure out who is no longer in AD and disable them (just not one by one manually).



2 answers

You probbaly have to write a Scheduled job to scan all users, determine if they are 'disabled' (through LDAP queries) in AD (the usual business process for a leaver) and if so, remove them from confluence-users.

See http://confluence.atlassian.com/display/DOC/Scheduled+Jobs

If you fancy playing around with the solution interactively, I dumped some related Beanshell code in the ldaputils project that may give you a start.

I should have drawn your attention to the link at the end, see Trigger Module...

the page you mentioned does not show how to create a job. Only about existing jobs.

Disabled AD users show up in the wiki but are gone after you delete them from AD. You might already know that but I thought I'd note it in this thread.

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
Published yesterday 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, ...

116 views 2 4
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