From a65a55d385cd277a25533a528de9ed66cb77bf7e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 25 Feb 2003 22:57:53 +0000 Subject: [PATCH] SLAP_NVALUES: fix up modify password exop --- servers/slapd/back-bdb/passwd.c | 2 +- servers/slapd/back-ldbm/passwd.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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; -- 2.39.5