ITS#5569 ignore internal ops when validating pwd modify

This commit is contained in:
Howard Chu 2008-07-08 19:02:38 +00:00
parent a42c7f96f5
commit f911e0f5d1

View File

@ -1581,7 +1581,7 @@ ppolicy_modify( Operation *op, SlapReply *rs )
}
}
} else if ( !is_at_operational( ml->sml_desc->ad_type ) ) {
} else if ( !(ml->sml_flags & SLAP_MOD_INTERNAL) && !is_at_operational( ml->sml_desc->ad_type ) ) {
mod_pw_only = 0;
/* modifying something other than password */
}