How do I specify an Active Directory Connection User Name? What is valid?
Analysis:
An Active Directory Connection User Name needs to be specified in two locations when setting up Active Directory authentication.
- user-connectivity.properties
user.connectivity_username={specify name here} - server.xml
connectionName=”{specify name here}”
The name can be formatted in a variety of ways. Here are some examples, with the preferred methods listed first.
Using the Distinguished Name as listed in jexplorer
- user-connectivity.properties
user.connectivity_username=CN=EphesoftUser,OU=EphesoftITGroup,DC=YourDomain,DC=com - server.xml
connectionName=”CN=EphesoftUser,OU=EphesoftITGroup,DC=YourDomain,DC=com”Note: if jexplorer lists the Distinguished Name with spaces; spaces are supported
Using the email or domain backslash convention
- user-connectivity.properties
user.connectivity_username=EphesoftUser@YourDomain.com - server.xml
connectionName=”EphesoftUser@YourDomain.com”
or
- user-connectivity.properties
user.connectivity_username=YourDomain\EphesoftUser - server.xml
connectionName=”YourDomain\EphesoftUser”