How can I change ldap url for Microsoft AD in Confluence


As Admin panel states: 'You cannot edit this directory because you are logged in through it, please log in as a locally authenticating user to edit it.'

How can I do this if I can't even logout (I stay logged in after clicking on 'log out' button) I am always logged in through the domain.

What else can I do ? is this url stored in some file ? I've looked but can't seem to find it.

Best Regards

1 answer

1 accepted

0 votes
Accepted answer

Try this:

  • Make sure you clean the history and cache entirely in your browser and then re-start the browser
  • Log into Confluence with a local directory admin account
  • Now, you should be able to edit the LDAP USer Directory

You should always make sure you have one admin account created in the local directory to make sure you can edit the LDAP User Directory in Confluence


// Svante

Thanks, that seems to be working because I am getting a login prompt.

I'm still having problem with the logging in though. I've added a local user with admin privileges but when I try logging in I get : 401 - Unauthorized: Access is denied due to invalid credentials.

When I view the user in admin panel I see that the failed login counter is still '0':

Current Failed Login Count: 0

Any ideas ?

Hmm, strange! The only thing that comes to mind is if your local account has the same name as an account in LDAP and that your order of User Directories is:

  1. LDAP
  2. Local Directory

In this case you are trying to login with the LDAP account (which probably has a different password)

You could either switch the order to have Confluence look in the local directory first (which I think is NOT recommended for some reason) or re-create your local accout to be unique.

Makes sense?

It's strange indeed. I've tried different unique user names and problem remains.

I am thinking that something must be blocking my loggin attempt before it's even gets verified, maybe IIS, I have to look into it.

Sounds like a good approach!

Good luck with your trouble-shooting. Post a comment with your findings!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 5 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

77 views 0 9
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