Basic ldap message exchange process – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 24

Advertising
background image

10

The search operation constructs search conditions and obtains the directory resource information of

the LDAP server.

The basic LDAP authentication process is as follows:

1.

An LDAP client uses the LDAP server administrator DN to bind with the LDAP server, establishes a
connection to the server, and obtains the search rights.

2.

The LDAP client uses the username in the authentication information of a user to construct search
conditions, searches for the user in the specified root directory of the server, and obtains a user DN

list.

3.

The LDAP client uses each user DN in the obtained user DN list and the user's password to bind
with the LDAP server. If a binding succeeds, the user is a legal user.

The LDAP authorization process is similar to the LDAP authentication process. The difference is that the

client checks the authorization information obtained together with the user's DN. If the authorization

information satisfies the authorization need, the authorization process ends. Otherwise, the client uses

the LDAP server administrator DN to bind with the LDAP server again, constructs search conditions by
using the user's DN, and searches for other required authorization information.

Basic LDAP message exchange process

The example describes the basic message exchange process in LDAP authentication and authorization

for a Telnet user.

Figure 7 Basic message exchange process for LDAP authentication of a Telnet user

The basic message exchange process is as follows:

1.

A Telnet user initiates a connection request and sends the username and password to the LDAP
client.

2.

Upon receiving the request, the LDAP client establishes a TCP connection with the LDAP server.

3.

The LDAP client uses the administrator DN and password to send an administrator bind request to
the LDAP server to obtain the search right.

3) Administrator bind request

4) Bind response

5) User DN search request

6) Search response

7) User DN bind request

8) Bind response

Host

LDAP client

LDAP server

9) Authorization

10) The user logs in successfully

1) The user logs in by Telnet

2) Establish a TCP connection

Advertising