Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
f27517af
Commit
f27517af
authored
Sep 27, 2017
by
Ondřej Kuzník
Committed by
Ondřej Kuzník
Nov 17, 2020
Browse files
Rename bind handlers
parent
b801ca17
Changes
3
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/bind.c
View file @
f27517af
...
...
@@ -29,7 +29,7 @@
* upstream's c_io_mutex.
*/
static
int
reques
t_bind
(
Operation
*
op
)
clien
t_bind
(
Operation
*
op
)
{
Connection
*
client
=
op
->
o_client
,
*
upstream
=
op
->
o_upstream
;
BerElement
*
ber
,
*
copy
=
NULL
;
...
...
@@ -130,7 +130,7 @@ fail:
* upstream's c_io_mutex.
*/
static
int
reques
t_bind_as_vc
(
Operation
*
op
)
clien
t_bind_as_vc
(
Operation
*
op
)
{
Connection
*
client
=
op
->
o_client
,
*
upstream
=
op
->
o_upstream
;
BerElement
*
ber
,
*
request
,
*
copy
=
NULL
;
...
...
@@ -302,7 +302,7 @@ client_reset( Connection *c )
}
int
clien
t_bind
(
Connection
*
client
,
Operation
*
op
)
reques
t_bind
(
Connection
*
client
,
Operation
*
op
)
{
Connection
*
upstream
;
int
rc
=
LDAP_SUCCESS
;
...
...
@@ -338,11 +338,11 @@ client_bind( Connection *client, Operation *op )
#ifdef LDAP_API_FEATURE_VERIFY_CREDENTIALS
if
(
lload_features
&
LLOAD_FEATURE_VC
)
{
rc
=
reques
t_bind_as_vc
(
op
);
rc
=
clien
t_bind_as_vc
(
op
);
}
else
#endif
/* LDAP_API_FEATURE_VERIFY_CREDENTIALS */
{
rc
=
reques
t_bind
(
op
);
rc
=
clien
t_bind
(
op
);
}
CONNECTION_LOCK_DECREF
(
upstream
);
...
...
servers/lloadd/client.c
View file @
f27517af
...
...
@@ -58,7 +58,7 @@ handle_one_request( Connection *c )
CONNECTION_DESTROY
(
c
);
return
-
1
;
case
LDAP_REQ_BIND
:
handler
=
clien
t_bind
;
handler
=
reques
t_bind
;
break
;
case
LDAP_REQ_ABANDON
:
/* FIXME: We need to be able to abandon a Bind request, handling
...
...
servers/lloadd/proto-slap.h
View file @
f27517af
...
...
@@ -65,7 +65,7 @@ LDAP_SLAPD_F (void) ch_free( void * );
* bind.c
*/
LDAP_SLAPD_F
(
void
)
client_reset
(
Connection
*
c
);
LDAP_SLAPD_F
(
int
)
clien
t_bind
(
Connection
*
c
,
Operation
*
op
);
LDAP_SLAPD_F
(
int
)
reques
t_bind
(
Connection
*
c
,
Operation
*
op
);
/*
* client.c
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment