< Home

ldap-server authentication manager-anonymous enable

Function

The ldap-server authentication manager-anonymous enable command allows administrators to access an LDAP server anonymously.

The undo ldap-server authentication manager-anonymous enable command blocks administrators from accessing an LDAP server anonymously.

By default, administrators are prevented from accessing an LDAP server anonymously.

Format

ldap-server authentication manager-anonymous enable

undo ldap-server authentication manager-anonymous enable

Parameters

None

Views

LDAP server template view

Default Level

3: Management level

Usage Guidelines

If the LDAP server allows anonymous access, run the ldap-server authentication manager-anonymous enable command. After this command is executed, the device deletes the DN and password of the administrator and removes the Base DN from the administrator DN. To prevent administrators from accessing an LDAP server anonymously, run the undo ldap-server authentication manager-anonymous enable command and configure an administrator DN and password. To configure the administrator DN and password, run the ldap-server authentication manager command.

In anonymous login, users do not need to enter the password; therefore, there are security risks. Make an all-round evaluation to determine whether to enable anonymous login.

Example

# Allow administrators to access an LDAP server anonymously.

<sysname> system-view
[sysname] ldap-server template temp1
[sysname-ldap-temp1] ldap-server authentication manager-anonymous enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >