]> git.sur5r.net Git - openldap/commitdiff
Fix encoding of old password
authorKurt Zeilenga <kurt@openldap.org>
Sat, 28 Oct 2000 10:15:17 +0000 (10:15 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 28 Oct 2000 10:15:17 +0000 (10:15 +0000)
clients/tools/ldappasswd.c

index 15ba0d20d88356705a9724319006b7f7e0901382..098b1a778b1cc82599c1ae348104f9a26dab8b4f 100644 (file)
@@ -669,7 +669,7 @@ main( int argc, char *argv[] )
 
                if( oldpw != NULL ) {
                        ber_printf( ber, "ts",
-                               LDAP_TAG_EXOP_X_MODIFY_PASSWD_NEW, oldpw );
+                               LDAP_TAG_EXOP_X_MODIFY_PASSWD_OLD, oldpw );
                        free(oldpw);
                }