mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#7019 fix dsa-specific attr check for Persist updates
This commit is contained in:
parent
3bb0c6746f
commit
a4df185adf
2 changed files with 5 additions and 0 deletions
|
|
@ -991,6 +991,7 @@ syncprov_qtask( void *ctx, void *arg )
|
|||
op->o_hdr = &opbuf.ob_hdr;
|
||||
op->o_controls = opbuf.ob_controls;
|
||||
memset( op->o_controls, 0, sizeof(opbuf.ob_controls) );
|
||||
op->o_sync = SLAP_CONTROL_IGNORED;
|
||||
|
||||
*op->o_hdr = *so->s_op->o_hdr;
|
||||
|
||||
|
|
|
|||
|
|
@ -1303,6 +1303,10 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
|
|||
{
|
||||
continue;
|
||||
}
|
||||
/* if DSA-specific and replicating, skip */
|
||||
if ( op->o_sync != SLAP_CONTROL_NONE &&
|
||||
desc->ad_type->sat_usage == LDAP_SCHEMA_DSA_OPERATION )
|
||||
continue;
|
||||
} else {
|
||||
if ( !userattrs && !ad_inlist( desc, rs->sr_attrs ) ) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue