In addition to public key authentication, the SR OS supports password (keyboard) authentication using the LDAP server.
In the following example, the client attempts to authenticate using a password and only ldap is configured in the authentication order.
The client uses Telnet or SSH to reach the SR OS.
The SR OS retrieves the username and password (in plain text).
The SR OS performs a bind operation to the LDAP server using the config>system>security>ldap>server>blind-operation command to set the root-dn and password variables.
The SR OS performs a search operation for the username on LDAP server.
If the username is found, LDAP sends user_distinguished_name to the router.
If the username is not found, the authentication fails. The attempt and failed attempt counters are incremented.
The SR OS performs a bind operation to LDAP with user_distinguished_name and the password from step 2.
The LDAP server checks the password.
If the password is correct, the bind operation succeeds. The failed attempt and successful attempt counters are incremented.
If the password is incorrect, bind is unsuccessful and authentication fails. The attempt and failed attempt counters are incremented.
The SR OS sends a message to unbind from the LDAP server.