Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
0d0d5072
Commit
0d0d5072
authored
Jun 10, 2020
by
Quanah Gibson-Mount
Browse files
ITS
#8140
- Update bind operations to note bind_ssf vs overall connection ssf
parent
57b0ed90
Pipeline
#476
passed with stage
in 28 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bind.c
View file @
0d0d5072
...
...
@@ -60,8 +60,8 @@ do_bind(
if
(
!
BER_BVISEMPTY
(
&
op
->
o_conn
->
c_dn
)
)
{
/* log authorization identity demotion */
Debug
(
LDAP_DEBUG_STATS
,
"%s BIND anonymous mech=implicit
ssf=0
\n
"
,
op
->
o_log_prefix
);
"%s BIND anonymous mech=implicit
bind_ssf=0 ssf=%d
\n
"
,
op
->
o_log_prefix
,
op
->
o_conn
->
c_ssf
);
}
connection2anonymous
(
op
->
o_conn
);
if
(
op
->
o_conn
->
c_sasl_bind_in_progress
)
{
...
...
@@ -534,9 +534,9 @@ fe_op_bind_success( Operation *op, SlapReply *rs )
/* log authorization identity */
Debug
(
LDAP_DEBUG_STATS
,
"%s BIND dn=
\"
%s
\"
mech=%s
ssf=0
\n
"
,
"%s BIND dn=
\"
%s
\"
mech=%s
bind_ssf=0 ssf=%d
\n
"
,
op
->
o_log_prefix
,
op
->
o_conn
->
c_dn
.
bv_val
,
op
->
orb_mech
.
bv_val
);
op
->
o_conn
->
c_dn
.
bv_val
,
op
->
orb_mech
.
bv_val
,
op
->
o_conn
->
c_ssf
);
Debug
(
LDAP_DEBUG_TRACE
,
"do_bind: v%d bind:
\"
%s
\"
to
\"
%s
\"\n
"
,
...
...
servers/slapd/connection.c
View file @
0d0d5072
...
...
@@ -1872,14 +1872,14 @@ static int connection_bind_cb( Operation *op, SlapReply *rs )
/* log authorization identity */
Debug
(
LDAP_DEBUG_STATS
,
"%s BIND dn=
\"
%s
\"
mech=%s
sasl
_ssf=%d ssf=%d
\n
"
,
"%s BIND dn=
\"
%s
\"
mech=%s
bind
_ssf=%d ssf=%d
\n
"
,
op
->
o_log_prefix
,
BER_BVISNULL
(
&
op
->
o_conn
->
c_dn
)
?
"<empty>"
:
op
->
o_conn
->
c_dn
.
bv_val
,
op
->
o_conn
->
c_authmech
.
bv_val
,
op
->
orb_ssf
,
op
->
o_conn
->
c_ssf
);
Debug
(
LDAP_DEBUG_TRACE
,
"do_bind: SASL/%s bind: dn=
\"
%s
\"
sasl
_ssf=%d
\n
"
,
"do_bind: SASL/%s bind: dn=
\"
%s
\"
bind
_ssf=%d
\n
"
,
op
->
o_conn
->
c_authmech
.
bv_val
,
BER_BVISNULL
(
&
op
->
o_conn
->
c_dn
)
?
"<empty>"
:
op
->
o_conn
->
c_dn
.
bv_val
,
op
->
orb_ssf
);
...
...
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