--- title: "Configuring an LDAP attribute to match a certificate authorization field using the CLI" slug: "configuring-ldap-attribute-match-certificate-authorization-cli-1" 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/configuring-ldap-attribute-match-certificate-authorization-cli-1" --- > ## 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. # Configuring an LDAP attribute to match a certificate authorization field using the CLI Use the CLI commands in this section to configure an LDAP attribute to match the certificate authorization field that was specified with the` aaa authorization certificate map-ldap match-cert-field `command. ### Note Use the` no aaa authorization certificate map-ldap match-ldap-attribute `command to reset the attribute of the LDAP account to use the default` sAMAccountName `attribute. To configure an LDAP attribute to match a certificate authorization field: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the LDAP user schema name for LDAP to match the configured certificate authorization field. ``` hostname (config) # aaa authorization certificate map-ldap match-ldap-attribute uid ``` 3. Specify which attribute holds the login name to match the configured certificate authorization field. ``` hostname (config) # aaa authorization certificate map-ldap match-ldap-attribute sAMAccountName ``` ### Note The` sAMAccountName `attribute is the default. 4. Specify which attribute holds an email address to match the configured certificate authorization field. ``` hostname (config) # aaa authorization certificate map-ldap match-ldap-attribute mail ``` 5. Verify the setting of the LDAP attribute. ``` hostname (config) # show aaa authorization certificate ``` ``` Certificate based authorization settings: ``` ```  LDAP enabled               : yes ``` ```  LDAP Match Attribute       : uid ``` ```  ... ``` 6. Save your changes. ``` hostname (config) # write memory ``` :