Troubleshoot LDAP Server Integration Errors

Failed Logins

Most LDAP problems will result in a single Failed to Authenticate message when trying to log in.

The best way to troubleshoot a failed login is to test the settings in the security provider's configuration page. The section below helps you to understand the messages you may receive.

If testing a username and password from the Security Providers page provides no errors but the user cannot log into BeyondTrust using those same credentials, please check that at least one of the following sets of criteria is met.

  1. The user has been expressly added to an existing group policy.
  2. A default group policy has been set for the security provider configuration created to access the server against which the user is authenticating.
  3. The user is a member of a group that has been expressly added to an existing group policy, and both user authentication and group lookup are configured and linked.

Message 1: Authentication Failed

  1. The username and password that you are testing do not match.
  2. Reenter the credentials or attempt another username and password.

Message 10: Server Unavailable

  1. Your DNS information may be incorrect. You can test if your DNS server resolves by using the tools on the Support > Utilities page in your BeyondTrust /appliance interface.
  1. Port 389 for LDAP or port 636 for LDAPS must be open on any firewall that may be between your server and your B Series Appliance or between your server and a connection agent you may have installed. BeyondTrust also supports global catalog over port 3268 for LDAP or 3269 for LDAPS.
  2. If using LDAPS or LDAP with TLS, the hostname you entered must match the hostname used in your LDAP server's public SSL certificate's subject name or the DNS component of its alternate subject name.
    1. For example, if the certificate is issued to access.example.com and the hostname you entered is remote.example.com, the connection will fail because the server does not know that remote.example.com is the same site as access.example.com.
    2. In this case, you must change the hostname entered on the configuration page.
    3. You can use a wildcard certificate to certify multiple subdomains of the same site. For example, *.example.com would certify both access.example.com and remote.example.com.
  3. Your server and your B Series Appliance must be able to communicate.
    1. For example, if your server is behind your company firewall but the B Series Appliance is in the demilitarized zone (DMZ), they will not be able to communicate directly.
    2. In this case, install a connection agent to enable communication.
  4. Logging can help to identify if there is a problem with the connection agent. To enable connection agent logging, follow the steps below.
    1. Browse to the directory in which your connection agent is installed and open the bomgar.ini file.
    2. At the end of the [General] section, append the line agent_log_filename="[path]\[provider]_Con_Agnt.log" where [path] is the filepath to your connection agent and [provider] is the configured name of your security provider. Save and close the file.
    3. To activate the connection agent change, open your services management console by typing Services.msc in your Run dialog. Select and restart the BeyondTrust connection agent.
    4. The log will be created in the directory that holds your connection agent files.
  5. Ensure that the connection agent is online and able to connect outbound to the B Series Appliance.
    1. It is recommended that you install the agent on a system with high availability.
    2. The best way to prevent failed authentication if the connection agent's host system should go down is to use BeyondTrust to cluster two or more security providers in top-to-bottom (failover) mode. This will allow a single domain controller to have some redundancy.
    3. One way to verify if the connection agent has lost connection to the server is to open a configured group policy. If the Group Policy Members field displays @@@ in front of a random string of characters, the connection agent has likely gone offline or lost communication.
    4. If a connection agent loses communication, the connection agent logs should indicate that it could not make a secure outbound connection to the B Series Appliance.
  6. The security provider name and password you entered when installing a connection agent must be exactly the same as those you entered when you set up the security provider configuration.
    1. It is a common mistake to use the controller's name and administrative password when setting up the connection agent rather than the name and password you set in the security provider configuration.
    2. Verify the value defined as the server name by opening the bomgar.ini file in the connection agent directory and checking the ldap_agent_name value.
    3. To change the server name or password referenced by the connection agent, first uninstall the existing connection agent and then install a new copy of the connection agent.
    4. When prompted for the security provider name and password, be sure to enter the values you defined in the security provider configuration on the BeyondTrust /login interface. Complete the installation.

Message 11: User Not Found

  1. The bind credentials and search base DN must all be in the correct format on the security provider's configuration page.
  2. If using Active Directory, the account specified by the bind credentials must have permission to read other users' group memberships in the Active Directory store.
  3. The search query must be correct for your specific configuration. Please refer to your security provider's documentation for further help with this configuration.

Error 6ca and Slow Logins

  1. A 6ca error is a default response signifying that the B Series Appliance has not heard back from the DNS server. It may occur when attempting to log into the access consoleaccess console.
  2. If users are experiencing extremely slow logins or are receiving the 6ca error, verify that DNS is configured in your /appliance interface.

Troubleshooting Individual Providers

When configuring an authentication method tied to group lookup, it is important to configure user authentication first, then group lookup, and finally group policy memberships. When troubleshooting, you will want to work in reverse.

  1. Verify that the group policy is looking up valid data for a given provider and that you do not have any @@@ characters in the Policy Members field.
  2. If a group provider is configured, verify that its connection settings are valid and that its group Search Base DN is in the proper format.
  3. If you want to use group lookup, verify that the security provider is set to look up group memberships of authenticated users.
  4. To test the user provider, set a default policy and see if your users are able to log in.