In an LDAP server template, you must specify the server type, IP address, and port number. The other parameters have default settings, for example, the Base DN, user filter, and group filter. These default settings can be modified manually.
The system view is displayed.
An LDAP server template is created and the LDAP server template view is displayed.
By default, no LDAP server template is configured.
The LDAP server type is set.
You need to set the LDAP server type based on the type of the peer LDAP server. The default server type of LDAP server templates that the device creates is AD LDAP.
An LDAP authentication server is created.
By default, no LDAP authentication server is configured.
Configure the source IP address that the device uses when sending packets to the LDAP server.
By default, when a device sends packets to the LDAP server, the IP address of the actual outbound interface is used as the source IP address.
If the specified loopback interface or VLANIF interface is not created or no IP address is configured for the specified interface, use the IP address of the actual outbound interface as the source IP address.
The Base DN of the LDAP server is set.
By default, the Base DN is dc=my-domain,dc=com.
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.
The server allows administrators to log in anonymously.
Run the ldap-server authentication manager-anonymous enable command to allow administrators to access the LDAP server anonymously.
By default, administrators are prevented from accessing an LDAP server anonymously.
After the configuration, if you run the ldap-server authentication manager manager-dn [ password [ repassword ] ] command again to configure the administrator DN and password of the LDAP server, the administrator anonymous login configuration will be cleared.
The server does not allow administrators to log in anonymously.
To configure the administrator DN and password of the LDAP server, run the ldap-server authentication manager manager-dn [ password [ repassword ] ] command.
The administrator DN and password of an LDAP authentication server are configured.
After the configuration is complete, run the ldap-server authentication manager-password password [ repassword ] to change the administrator password of the LDAP authentication server.
If you run the ldap-server authentication manager-anonymous enable command again after the configuration, the administrator DN and password are cleared, and the Base DN is also deleted.
Configure user binding during LDAP authorization.
By default, user binding is performed during LDAP authorization.
The authentication filter of the LDAP server is set.
By default, the authentication filter is set to objectclass=*, which indicates that all users can be authenticated.
The user filter of the LDAP server is set.
By default, the user attribute of an AD server or AD LDAP server is sAMAccountName, the user attribute of an Open LDAP or IBM Tivoli LDAP server is cn, and the user attribute of a Sun ONE LDAP server is uid. You are advised to keep the default values.
The group filtering field that functions as the group name for an LDAP server is set.
By default, the default value of group filtering field that functions as the group name is ou.
The IP address filter of the LDAP server is set.
By default, no IP address filtering field for the LDAP server is configured.
The mobile number filter of the LDAP server is set.
By default, no mobile number filtering field for the LDAP server is configured.
The timestamp attribute filtering field of the LDAP server is set.
By default, the timestamp attribute filtering field of the LDAP server is createTimeStamp.
The Base DN to an administrator DN during LDAP authentication is attached.
By default, an administrator DN carries the Base DN during LDAP authentication.
To return the system view, run the quit command.
To set the SSL protocol version used for the interaction between the device and LDAP server, run the ldap-server ssl version { tlsv1.1 | tlsv1.2 } * command.
By default, the SSL protocol version used for the interaction between the device and LDAP server is TLS1.2.
not secure. TLS1.2 is recommended.