Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
e8303cbe
Commit
e8303cbe
authored
Nov 27, 2002
by
Kurt Zeilenga
Browse files
SASL tweaks (ITS#2000) (ITS#2202)
parent
b1011dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/sasl.c
View file @
e8303cbe
...
...
@@ -1294,7 +1294,7 @@ int slap_sasl_open( Connection *conn )
}
}
sc
=
sasl_server_new
(
"ldap"
,
global_host
,
global_realm
,
iplocalport
,
ipremoteport
,
session_callbacks
,
0
,
&
ctx
);
iplocalport
,
ipremoteport
,
session_callbacks
,
SASL_SUCCESS_DATA
,
&
ctx
);
if
(
iplocalport
!=
NULL
)
{
ch_free
(
iplocalport
);
}
...
...
@@ -1515,7 +1515,7 @@ int slap_sasl_bind(
if
(
!
conn
->
c_sasl_bind_in_progress
)
{
sc
=
START
(
ctx
,
conn
->
c_sasl_bind_mech
.
bv_val
,
cred
->
bv_len
?
cred
->
bv_val
:
NULL
,
cred
->
bv_len
?
cred
->
bv_val
:
""
,
cred
->
bv_len
,
(
SASL_CONST
char
**
)
&
response
.
bv_val
,
&
reslen
,
&
errstr
);
...
...
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