< Home

ldap-server (aaa domain view)

Function

The ldap-server command configures the LDAP server template of an authentication domain.

The undo ldap-server command deletes the LDAP server template of an authentication domain.

By default, no LDAP server template of an authentication domain is configured.

Format

ldap-server template-name

undo ldap-server

Parameters

Parameter Description Value
template-name Specifies the LDAP server template. The LDAP server template must exist.

Views

AAA domain view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To perform LDAP authentication and authorization for users in a domain, configure an LDAP server template in the domain. After the LDAP server template is configured in the domain, the configuration in the LDAP server template takes effect.

Prerequisites

An LDAP server template has been created using the ldap-server template command.

Example

# Configure the LDAP server template of authentication domain dd as temp1.

<sysname> system-view
[sysname] ldap-server template temp1
[sysname-ldap-temp1] quit
[sysname] aaa
[sysname-aaa] domain dd
[sysname-aaa-domain-dd] ldap-server temp1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic