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
orbea -
OpenLDAP
Commits
7d2a744a
Commit
7d2a744a
authored
Feb 04, 2007
by
Howard Chu
Browse files
Fix prev commit
parent
51549d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
7d2a744a
...
...
@@ -1942,6 +1942,10 @@ retry_add:;
"syncrepl_entry: rid %03ld be_modify failed (%d)
\n
"
,
si
->
si_rid
,
rs_modify
.
sr_err
,
0
);
}
}
else
{
Debug
(
LDAP_DEBUG_SYNC
,
"syncrepl_entry: rid %03ld entry unchanged, ignored (%s)
\n
"
,
si
->
si_rid
,
op
->
o_req_dn
.
bv_val
,
0
);
}
goto
done
;
case
LDAP_SYNC_DELETE
:
...
...
@@ -2615,11 +2619,14 @@ dn_callback(
continue
;
}
/* kludge - always update modifiersName so that it
* stays co-located with the other mod opattrs
* stays co-located with the other mod opattrs. But only
* if we know there are other valid mods.
*/
attr_cmp
(
op
,
old
->
a_desc
!=
slap_schema
.
si_ad_modifiersName
?
old
:
NULL
,
new
,
&
modtail
,
&
ml
);
if
(
old
->
a_desc
==
slap_schema
.
si_ad_modifiersName
&&
dni
->
mods
)
attr_cmp
(
op
,
NULL
,
new
,
&
modtail
,
&
ml
);
else
attr_cmp
(
op
,
old
,
new
,
&
modtail
,
&
ml
);
new
=
new
->
a_next
;
old
=
old
->
a_next
;
}
...
...
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