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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,054 views 0 5
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