--- title: "Enabling or disabling the LDAP override for certificate authorization using the CLI" slug: "enabling-disabling-ldap-override-certificate-authorization-cli" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/enabling-disabling-ldap-override-certificate-authorization-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling or disabling the LDAP override for certificate authorization using the CLI Use the CLI commands in this section to enable or disable the LDAP override of the username setting that was specified with the` aaa authentication certificate username `command. ### Note By default, the username setting in the` aaa authentication certificate username `command is used. If the login is mapped to the LDAP account, an administrator can use the` ldap login-attribute `command to override the username setting, and instead use the username from the LDAP attribute. To enable the LDAP override for certificate authorization: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable the LDAP override of the username setting that was specified with the` aaa authentication certificate username `command, and instead use the username from the LDAP attribute. ``` hostname (config) # aaa authorization certificate map-ldap username-override ``` 3. Verify the status of the LDAP override. ``` hostname (config) # show aaa authorization certificate ``` ``` Certificate based authorization settings: ``` ```  ... ``` ```  Username override          : yes ``` 4. Save your changes. ``` hostname (config) # write memory ``` To disable the LDAP override for certificate-based authorization: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable the LDAP override of the username setting that was specified with the` aaa authentication certificate username `command. ``` hostname (config) # no aaa authorization certificate map-ldap username-override ``` 3. Verify the status of the LDAP override. ``` hostname (config) # show aaa authorization certificate ``` ``` Certificate based authorization settings: ``` ```  ... ``` ```  Username override          : no ``` 4. Save your changes. ``` hostname (config) # write memory ``` :