]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test010-passwd
Use $MANAGERDN to update one of the passwords (to test proxy support)
[openldap] / tests / scripts / test010-passwd
index 69bb391620e715b8427627512b7e19e9c6339e41..593a2de8ade20f52c219e620dde9f8c44f8b32be 100755 (executable)
@@ -65,8 +65,8 @@ if test $RC != 0 ; then
        exit $RC
 fi
 $LDAPPASSWD -h localhost -p $PORT \
-       -w secret -s newsecret \
-       -D "cn=smd5, $BASEDN" >> $TESTOUT 2>&1
+       -w $PASSWD -s newsecret \
+       -D $MANAGERDN "cn=smd5, $BASEDN" >> $TESTOUT 2>&1
 if test $RC != 0 ; then
        echo "ldappasswd failed ($RC)!"
        kill -HUP $PID