Configuring User Account Parsing

In a user account, a delimiter to separate the domain name from the username and the sequence of parsing them can be flexibly configured to meet different requirements.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run aaa

    The AAA view is displayed.

  3. Run domain-name-delimiter delimiter

    A domain name delimiter is configured.

  4. Run domain-location { after-delimiter | before-delimiter }

    The location of the domain name is configured.

  5. Run domainname-parse-direction { left-to-right | right-to-left }

    The direction in which the domain name is to be parsed is configured.

  6. (Optional) Run realm-name-delimiter delimiter

    A realm name delimiter is configured.

  7. (Optional) Run realm-location { after-delimiter | before-delimiter }

    The location of the realm name is configured.

  8. (Optional) Run realmname-parse-direction { left-to-right | right-to-left }

    The direction in which the realm name is to be parsed is configured.

  9. Run parse-priority { domain-first | realm-first }

    The sequence of parsing the user account is configured.

    If the realm name delimiter is configured and domain-first is specified, the device parses the realm name first based on the realm name delimiter, realm name parsing direction, and realm name location. Then the device parses the remaining string (excluding the realm name and realm name delimiter) based on the domain name delimiter, domain name location, and domain name parsing direction.

    If no realm name delimiter is configured and domain-first is specified, the device parses the domain name first based on the domain name delimiter, domain name location, and domain name parsing direction.

  10. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >