How to stop OpenLDAP directory from synchronizing?

Hi,

I have an OpenLdap directory which syncs the users whenever I make any change in user/class filters. 

Lately, I've been testing a bit more with the OpenLDAP directory and whenever I make a change in the userFilter, the directory starts to sync automatically.
This is something that I want.

But I want to know how to stop the directory from syncronising once it has begun? 
The total time to sync is about 50-60 minutes for my JIRA server, so lets say I wanted to stop the current sync because I want to make some changes that I forgot? 
How do I do that?
Because waiting for directory to syncronize completely takes just too much of time. 

1 answer

Hi Muhammad,

In order to stop the sync you would need to take the directory offline. Here is how that would have to work:

  1. Stop CROWD
  2. Disable the LDAP directory in the database
  3. Restart CROWD
  4. Make your changes in the third party LDAP server
  5. Stop CROWD
  6. Re-enable the LDAP directory in the database
  7. Restart CROWD

The issue you'll run into is that as long as the third party directory is enabled in CROWD it will attempt to sync.

As you can see that is less than ideal.  I can see the benefit of that feature though.  I would recommend you go to JAC and create a ticket so our developers can consider adding in the future.  Hopefully this helps!

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,354 views 21 17
View question

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