Enabling or disabling the LDAP override for certificate authorization using the CLI

Prev Next

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