Configure LDAP authentication for TanOS system users
You can optionally configure an LDAP connection to use Active Directory or another directory service to manage TanOS system users.
-
You cannot delete the
tanadminandtancopyspecial users. These user accounts are always administered locally within TanOS. Even if an LDAP query returns either of these user names, the locally administered user and associated password takes precedence. -
This LDAP configuration applies only for authentication in the TanOS console. For information about using LDAP for Tanium users, see Importing and authenticating users through LDAPIntegrating with LDAP servers.
-
TanOS requires TLS encryption using StartTLS for communication with the LDAP server, and the standard port is 389. In the LDAP server configuration, you can specify whatever port your LDAP server listens on for its inbound LDAP traffic. Your network administrator must configure network security to allow this traffic.
-
If you configure an LDAP connection to manage TanOS system users, you cannot enable global multifactor authentication. For more information, see Configure global authentication requirements and global multifactor authentication.
Manage the authentication certificate for the LDAP server
TanOS requires TLS encryption using StartTLS for communication with the LDAP server. You must import the LDAP server root certificate authority (CA) certificate. The certificate must be in PEM format. On the Appliance, you have the option to paste the contents of the LDAP server root CA certificate or import the file.
-
If you import a new certificate after you have already configured LDAP server connection settings, you must re-enter the bind credentials for the connection. For more information, see Configure specific LDAP connection settings.
-
Secure certificates for Server and Client systems are required. The certificates have a minimum bit size of 2048 for RSA and 256 for ECDSA. To check key sizes, use OpenSSL from a CLI. If your Tanium license includes Tanium Certificate Manager, see Appliance dashboardView short keys for the steps to check the key sizes in your environment.
Option 1: Paste the LDAP server root CA certificate Contents
Option 2: Import the LDAP server root CA certificate file
- Use SFTP to copy the certificate file to the /incoming directory of the Tanium Server Appliance.
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter C-A-M (User Administration > AD/LDAP TanOS Authentication > Manage AD/LDAP Certificate).
- Enter I and follow the prompts to import the LDAP server root CA certificate file.
Manage the imported LDAP server root CA certificate
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter C-A (User Administration > AD/LDAP TanOS Authentication).
- Enter M to go to the Manage AD/LDAP Certificate menu and view the certificate information. Use the menu options to manage the certificate.
Configure the LDAP server connection settings
tanadmin and tanuser role mappings.
Complete the walk-through configuration
The walk-through configuration provides a series of prompts that help you complete the necessary settings for an LDAP server connection. The prompts provide contextual information for each setting. For a reference of the settings that you configure during the walk-through configuration, see Configure specific LDAP connection settings.
Configure specific LDAP connection settings
Use the Configure AD/LDAP TanOS Authentication menu to change specific LDAP connection settings.
View the LDAP connection status and query results
The Detailed Status report displays the following information:
-
Users and groups returned from the LDAP query
-
Users that map to the
tanadminandtanuserroles -
Any connection errors or errors that the query returns
Verify that the LDAP query returns a specific user
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter C-A-V (User Administration > AD/LDAP TanOS Authentication > Verify User/Group).
- Enter U to verify a user.
- Follow the prompts to enter a user name to verify.
Verify that the LDAP query returns a specific group
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter C-A-V (User Administration > AD/LDAP TanOS Authentication > Verify User/Group).
- Enter G to verify a group.
- Follow the prompts to enter a group name to verify.
Export the LDAP configuration for use on another TanOS Appliance
Import an LDAP configuration that was exported from another TanOS Appliance
- Use SFTP to copy the ldapauth.conf file to the /incoming directory of the TanOS Appliance where you want to import the configuration.
- Sign in to the TanOS console on the TanOS Appliance where you want to import the configuration as a user with the tanadmin role.
- Enter C-A (User Administration > AD/LDAP TanOS Authentication).
- Enter I to import the LDAP configuration.
Enable or disable LDAP authentication
After you complete the configuration for an LDAP connection and TanOS successfully connects to the Active Directory or LDAP server, LDAP authentication is automatically enabled for the Appliance. You can disable or re-enable LDAP authentication with the configuration still in place.