From: Kurt Zeilenga Date: Tue, 25 Feb 2003 22:57:53 +0000 (+0000) Subject: SLAP_NVALUES: fix up modify password exop X-Git-Tag: NO_SLAP_OP_BLOCKS~301 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a65a55d385cd277a25533a528de9ed66cb77bf7e;p=openldap SLAP_NVALUES: fix up modify password exop --- diff --git a/servers/slapd/back-bdb/passwd.c b/servers/slapd/back-bdb/passwd.c index 9a8efdfe76..1e5818992c 100644 --- a/servers/slapd/back-bdb/passwd.c +++ b/servers/slapd/back-bdb/passwd.c @@ -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; diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c index 18a792bc6e..084ad2d3a9 100644 --- a/servers/slapd/back-ldbm/passwd.c +++ b/servers/slapd/back-ldbm/passwd.c @@ -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;