mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
ITS#7692 no-op if target entry doesn't exist
This commit is contained in:
parent
20503000d0
commit
d47524d8f9
1 changed files with 4 additions and 0 deletions
|
|
@ -933,6 +933,10 @@ constraint_update( Operation *op, SlapReply *rs )
|
|||
rc = be_entry_get_rw( op, &op->o_req_ndn, NULL, NULL, 0, &target_entry );
|
||||
op->o_bd = be;
|
||||
|
||||
/* let the backend send the error */
|
||||
if ( target_entry == NULL )
|
||||
return SLAP_CB_CONTINUE;
|
||||
|
||||
/* Do we need to count attributes? */
|
||||
for(cp = c; cp; cp = cp->ap_next) {
|
||||
if (cp->count != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue