Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
91bba777
Commit
91bba777
authored
Sep 30, 2005
by
Howard Chu
Browse files
ITS#4048 from HEAD
parent
41b2bd49
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
91bba777
...
...
@@ -7,7 +7,7 @@ OpenLDAP 2.2.29 Engineering
Fixed back-bdb/hdb pointer/integer size warnings (ITS#4015)
Fixed back-hdb slapcat EntryInfo cache growth (ITS#4010)
Fixed liblber sb_dgram_read length (ITS#4046)
Fixed libldap
unbind
memory leaks (ITS#4052, 4053)
Fixed libldap memory leaks (ITS#
4048,
4052, 4053)
OpenLDAP 2.2.28 Release
Fixed slapd ACL logging
...
...
libraries/libldap/cyrus.c
View file @
91bba777
...
...
@@ -719,17 +719,19 @@ ldap_int_sasl_bind(
}
if
(
rc
!=
LDAP_SUCCESS
&&
rc
!=
LDAP_SASL_BIND_IN_PROGRESS
)
{
if
(
scred
&&
scred
->
bv_len
)
{
/* and server provided us with data? */
if
(
scred
)
{
if
(
scred
->
bv_len
)
{
/* and server provided us with data? */
#ifdef NEW_LOGGING
LDAP_LOG
(
TRANSPORT
,
DETAIL1
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
LDAP_LOG
(
TRANSPORT
,
DETAIL1
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
#else
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
#endif
}
ber_bvfree
(
scred
);
}
rc
=
ld
->
ld_errno
;
...
...
@@ -738,17 +740,19 @@ ldap_int_sasl_bind(
if
(
rc
==
LDAP_SUCCESS
&&
saslrc
==
SASL_OK
)
{
/* we're done, no need to step */
if
(
scred
&&
scred
->
bv_len
)
{
if
(
scred
)
{
if
(
scred
->
bv_len
)
{
/* but server provided us with data! */
#ifdef NEW_LOGGING
LDAP_LOG
(
TRANSPORT
,
DETAIL1
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
LDAP_LOG
(
TRANSPORT
,
DETAIL1
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
#else
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
Debug
(
LDAP_DEBUG_TRACE
,
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld
\n
"
,
rc
,
saslrc
,
scred
->
bv_len
);
#endif
}
ber_bvfree
(
scred
);
rc
=
ld
->
ld_errno
=
LDAP_LOCAL_ERROR
;
goto
done
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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