diff --git a/servers/slapd/overlays/constraint.c b/servers/slapd/overlays/constraint.c index c3f9d66abf7771132c63790135786b8aa4937f22..2d943a223f73b0e272a3b96666f42d5e11065f28 100644 --- a/servers/slapd/overlays/constraint.c +++ b/servers/slapd/overlays/constraint.c @@ -845,6 +845,9 @@ constraint_check_count_violation( Modifications *m, Entry *target_entry, constra unsigned ca; int j; + if ( cp->set ) + return 0; + for ( j = 0; cp->ap[j]; j++ ) { /* Get this attribute count */ if ( target_entry )