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
James Lowden
OpenLDAP
Commits
0df931b9
Commit
0df931b9
authored
Mar 26, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Mar 30, 2021
Browse files
ITS
#8698
Only remove our own callback
parent
c5022c90
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/passwd.c
View file @
0df931b9
...
...
@@ -289,7 +289,7 @@ old_good:
rs
->
sr_err
=
LDAP_OTHER
;
}
else
{
slap_callback
*
sc
=
op
->
o_callback
;
slap_callback
*
*
sc
;
op
->
o_tag
=
LDAP_REQ_MODIFY
;
op
->
o_callback
=
&
cb
;
...
...
@@ -312,7 +312,12 @@ old_good:
rsp
=
NULL
;
}
op
->
o_tag
=
LDAP_REQ_EXTENDED
;
op
->
o_callback
=
sc
;
for
(
sc
=
&
op
->
o_callback
;
*
sc
;
sc
=
&
(
*
sc
)
->
sc_next
)
{
if
(
*
sc
==
&
cb
)
{
*
sc
=
cb
.
sc_next
;
break
;
}
}
}
rc
=
rs
->
sr_err
;
...
...
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