How do I authenticate against my LDAP server anonymously?

Our Active Directory LDAP server allows anonymous connections so I'd like Bamboo to connect anonymously. When I omit the securityPrincipal and securityCredential elements from atlassian-user.xml file and use paddle to test my LDAP settings, I'm told:

> Username is missing from configuration, and anonymous authentication not configured

How do I configure anonymous authentication?

1 answer

Your Active Directory Domain Controllers should not be configured to allow anonymous binds. That's a massive security hole. The LDAP RFC specifications stipulate that LDAP binds should support credential exchange so there is no need to ever allow anonymous binds in AD. I strongly advise you ensure your domain controllers have anonymous binds disabled and set up a limited, read only account in AD that you can use to perform lookups with. Your bind account should be put into its own organizational unit, and not be a member of any groups except "Domain User", and have group policy applied to it that explicitly denies it permission to:

  1. Log in as a service.
  2. Log in via terminal services (RDP)
  3. Log in locally.
  4. Interact with the desktop.

Also, all of your LDAP settings go in atlassian-user-custom.xml, as LDAP/AD is a custom repository for Bamboo. 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 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,670 views 22 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