mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
handle SLAP_MOD_SOFTDEL (ITS#7487) and other internal modification specifiers
This commit is contained in:
parent
021799aca4
commit
02f8963f74
@ -1420,6 +1420,7 @@ memberof_res_modify( Operation *op, SlapReply *rs )
|
||||
|
||||
switch ( ml->sml_op ) {
|
||||
case LDAP_MOD_DELETE:
|
||||
case SLAP_MOD_SOFTDEL: /* ITS#7487: can be used by syncrepl (in mirror mode?) */
|
||||
vals = ml->sml_nvalues;
|
||||
if ( vals != NULL ) {
|
||||
for ( i = 0; !BER_BVISNULL( &vals[ i ] ); i++ ) {
|
||||
@ -1451,6 +1452,8 @@ memberof_res_modify( Operation *op, SlapReply *rs )
|
||||
/* fall thru */
|
||||
|
||||
case LDAP_MOD_ADD:
|
||||
case SLAP_MOD_SOFTADD: /* ITS#7487 */
|
||||
case SLAP_MOD_ADD_IF_NOT_PRESENT : /* ITS#7487 */
|
||||
assert( ml->sml_nvalues != NULL );
|
||||
vals = ml->sml_nvalues;
|
||||
for ( i = 0; !BER_BVISNULL( &vals[ i ] ); i++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user