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
openldap
OpenLDAP
Commits
7cc106e5
Commit
7cc106e5
authored
Jan 13, 2022
by
Ondřej Kuzník
Browse files
Merge branch 'its7080' into 'master'
ITS
#7080
And modrdns See merge request
!475
parents
6f31d73d
fb18b55c
Pipeline
#4013
passed with stage
in 55 minutes and 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
7cc106e5
...
...
@@ -5814,7 +5814,7 @@ config_back_add( Operation *op, SlapReply *rs )
if
(
slap_read_controls
(
op
,
rs
,
op
->
ora_e
,
&
slap_post_read_bv
,
postread_ctrl
)
)
{
Debug
(
LDAP_DEBUG_ANY
,
"
ldif_back_modify
: "
Debug
(
LDAP_DEBUG_ANY
,
"
config_back_add
: "
"post-read failed
\"
%s
\"\n
"
,
op
->
ora_e
->
e_name
.
bv_val
);
if
(
op
->
o_postread
&
SLAP_CONTROL_CRITICAL
)
{
...
...
@@ -6574,6 +6574,20 @@ config_back_modrdn( Operation *op, SlapReply *rs )
op
->
oq_modrdn
=
modr
;
}
if
(
rs
->
sr_err
==
LDAP_SUCCESS
&&
!
cfb
->
cb_use_ldif
&&
op
->
o_postread
)
{
if
(
postread_ctrl
==
NULL
)
{
postread_ctrl
=
&
ctrls
[
num_ctrls
++
];
ctrls
[
num_ctrls
]
=
NULL
;
}
if
(
slap_read_controls
(
op
,
rs
,
ce
->
ce_entry
,
&
slap_post_read_bv
,
postread_ctrl
)
)
{
Debug
(
LDAP_DEBUG_ANY
,
"config_back_modrdn: "
"post-read failed
\"
%s
\"\n
"
,
ce
->
ce_entry
->
e_name
.
bv_val
);
}
}
if
(
dopause
)
slap_unpause_server
();
out:
...
...
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