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 LDAP.
-
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 View short keys for the steps to check the key sizes in your environment.
Option 1: Paste the LDAP server root CA certificate Contents
-
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 P and follow the prompts to paste the contents of the LDAP server root CA certificate file.
CODE------------------------------------------------------ >>> User Management -> AD/LDAP TanOS Authentication -> Paste Certificate <<< Please paste the certificate text (Empty line to end): -----BEGIN CERTIFICATE----- MIIEYzCCAsugAwIBAgIQHIaS1rg5zQdeFajAwRMjdjANBgkqhkiG9w0BAQsFADCB jTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTEwLwYDVQQLDChtYXR0 LmphcnZpc0BNTEMwMlpXNUZDTUQ2VCAoTWF0dCBKYX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O0YVWmBKtSr9vemOIZJtBYrTC1EuOvAbJPiMg2EXNZt9H My2vKMLrQ4La7vsM3Er9w02qKNtWXrLIvx65P81anVUhRKmLBsMtQgoIOFi5uk8t OkOdTcFUlJbVP5vGa9ZQSnopZw1jYF6IpKkKHpA0WMWFez5peQ8ZdRt7IgY/q1CE cDUcl9LAwQkeZ9g5B0uZ6VX7tP5oafLqChptskp3xDR/IfduX7dOuSCQNYbPAtlb lKgJjqSTaM4vmsWOPhlkoLmqLh4IyAk= -----END CERTIFICATE----- Validating input Certificate successfully installed Press enter to continue ------------------------------------------------------
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.