HP 6125XLG R2306-HP 6125XLG Blade Switch Security Configuration Guide - Page 19

Basic LDAP packet exchange process,

Page 19 highlights

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 gets the authorization information as well as the user DN list at step 2. 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 DN list, and searches for other required authorization information. Basic LDAP packet exchange process The following example illustrates how the basic packet exchange process goes on during LDAP authentication and authorization for a Telnet user. Figure 7 Basic packet exchange process for LDAP authentication of a Telnet user Host LDAP client LDAP server 1) The user logs in by Telnet 10) The user logs in successfully 2) Establish a TCP connection 3) Administrator bind request 4) Bind response 5) User DN search request 6) Search response 7) User DN bind request 8) Bind response 9) Authorization The basic packet 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. 4. The LDAP server processes the request. If the bind operation is successful, the LDAP server sends an acknowledgement to the LDAP client. 5. The LDAP client sends a user DN search request with the username of the Telnet user to the LDAP server. 10

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276

10
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 gets the authorization information as well as the user DN list at step 2. 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 DN list, and searches for other required authorization information.
Basic LDAP packet exchange process
The following example illustrates how the basic packet exchange process goes on during LDAP
authentication and authorization for a Telnet user.
Figure 7
Basic packet exchange process for LDAP authentication of a Telnet user
The basic packet 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.
4.
The LDAP server processes the request. If the bind operation is successful, the LDAP server sends an
acknowledgement to the LDAP client.
5.
The LDAP client sends a user DN search request with the username of the Telnet user to the LDAP
server.
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