This document will outline how to work out the values needed when configuring connection between Confluence & LDAP. The last step in this document involving JXplorer
is not compulsory but it will allow you to test out your connection details.
Host and Port values
Enter in the DNS name of your Active Directory server. If you don't have a DNS name configured, you can use the IP address.
The default port for connecting to AD is 389. If you have this set to something else, please change this value.
Security Principal and Security Credential
These two values are equivalent to the username and password to log on to your Active Directory instance. You need to specify an account that is able to browse and search your AD tree.
For this example, I will use the administrator account on the server.

From the above screenshot, the value for securityPrincipal would be CN=Administrator,CN=Users,DC=ad,DC=atlassian,DC=com. Here's the breakdown of how to work this out:
- ad.atlassian.com is the DNS name of our AD server so that's how we worked out CN=Administrator,CN=Users,DC=ad,DC=atlassian,DC=com. We prefixed each part of the DNS name with DC (which stands for Domain Component).
- Any folders or subfolders that branch from the server, we prefix with CN, hence CN=Administrator,CN=Users,DC=ad,DC=atlassian,DC=com (as the Administrator user account sits in the Users folder).
Finally, specify the windows password of the Administrator account for securityCredential. (in our case we've entered 'secret')
 | Please specify the full name of the account for CN. So, if the user is John Smith, you would use: CN=John Smith,CN=Users,DC=ad,DC=atlassian,DC=com |
Base Context
For baseContext, just specify DC=ad,DC=atlassian,DC=com (the DNS name prefixed with DC's)
Unable to render {include} Couldn't find a page to include called: Testing LDAP Connection using JXplorer