< Home

ad-server user-filter

Function

The ad-server user-filter command configures the user filtering field that functions as the user name for an AD server.

The undo ad-server user-filter command restores the default value of the user filtering field that functions as the user name for an AD server.

By default, the user attribute of an AD server is sAMAccountName.

Format

ad-server user-filter field

undo ad-server user-filter

Parameters

Parameter Description Value
field Specifies the user filtering field. The value is a string of 1 to 63 characters. It cannot contain spaces or the following symbols: \, /, < , >, ?, &, |, ', and ". The user attribute must be the same as that specified on the AD server.

Views

AD server template view

Default Level

3: Management level

Usage Guidelines

The command configures the user filtering field that functions as the user name for an AD server. The value of the user filtering field can be considered as the user name.

Example

# Configure the user filtering field cn.

<sysname> system-view
[sysname] ad-server template temp1
[sysname-ad-temp1] ad-server user-filter cn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >