mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
SLAP_NVALUES: fix up modify password exop
This commit is contained in:
parent
6390e947b0
commit
a65a55d385
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user