SLAP_NVALUES: fix up modify password exop

This commit is contained in:
Kurt Zeilenga 2003-02-25 22:57:53 +00:00
parent 6390e947b0
commit a65a55d385
2 changed files with 5 additions and 2 deletions

View File

@ -216,7 +216,7 @@ retry: /* transaction retry */
ml.sml_desc = slap_schema.si_ad_userPassword;
ml.sml_values = vals;
#ifdef SLAP_VALUES
#ifdef SLAP_NVALUES
ml.sml_nvalues = vals;
#endif
ml.sml_op = LDAP_MOD_REPLACE;

View File

@ -143,7 +143,10 @@ ldbm_back_exop_passwd(
vals[1].bv_val = NULL;
ml.sml_desc = slap_schema.si_ad_userPassword;
ml.sml_bvalues = vals;
ml.sml_values = vals;
#ifdef SLAP_NVALUES
ml.sml_nvalues = vals;
#endif
ml.sml_op = LDAP_MOD_REPLACE;
ml.sml_next = NULL;