LDAP error code 34 when adding multiple AD Ldap server

hi all,

am attempting to add multiple AD Ldap servers for redundancy in confluence. Intended for read-only ldap authentication - don't need confluence to write back to AD

have three servers added with identical configuration settings.

First two servers sucessfully test and synchronise.

Third server returns following error:

[LDAP: error code 34 - 0000208F: NameErr: DSID-03100225, problem 2006 (BAD_NAME), data 8349, best match of: 'ou=people,ou=cusa,dc=cusa=dc=com,dc=au']


difficult to see this as a configuration error, since i have two identical (that i can tell) ldap servers that validate just fine. Have manually copy/pasted config from one server entry to another with no observable change.


1) Any idea where ldap logging is stored by confluence? (windows-based install)

2) confluence does support multiple LDAP connections to same AD?

3) any further tips on troubleshooting.

1 answer

1. Ldap logging would be in either atlassian-confluence.log or catalina.out

2. No, meaning you cannot add multiple servers into one user directory. 

We have the following setup which enables us to have load balancing and fault tolerance:

  • 2 frontend servers with one virtual IP (keepalived) The virtual IP is moved to the other server approx 1-2 seconds after one host is taken down. JIRA keeps talking to the virtual IP.
  • Haproxy which forwards the requests back to several AD servers.
  • SSL termination in haproxy

3. Do you have follow referrals enabled? Are you using SSL?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

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...

264 views 2 10
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