]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES: fix up modify password exop
authorKurt Zeilenga <kurt@openldap.org>
Tue, 25 Feb 2003 22:57:53 +0000 (22:57 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 25 Feb 2003 22:57:53 +0000 (22:57 +0000)
servers/slapd/back-bdb/passwd.c
servers/slapd/back-ldbm/passwd.c

index 9a8efdfe769c112b95264191b277f6ba5d678954..1e5818992c094dc873c3af50dcd1ae87c07d1acc 100644 (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;
index 18a792bc6e834fc0ea4b3918bf343be378587eb1..084ad2d3a9a5baf95a7cb707df7c89a84f96fd7c 100644 (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;