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.
ldap-server authentication manager-anonymous enable
undo ldap-server authentication manager-anonymous enable
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.