From d7f3cdfc7b1efadf2eac8e6bae26f0385bad5521 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 6 Sep 2000 18:55:31 +0000 Subject: [PATCH] Update based upon ldappasswd(1) usage change --- tests/scripts/test010-passwd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/scripts/test010-passwd b/tests/scripts/test010-passwd index 7c8c12c236..66c5bddfc3 100755 --- a/tests/scripts/test010-passwd +++ b/tests/scripts/test010-passwd @@ -56,7 +56,7 @@ echo "Using ldappasswd (PASS 1) ..." echo "Pass 1" >> $TESTOUT $LDAPPASSWD -h localhost -p $PORT \ -w secret -s newsecret \ - "cn=md5, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=md5, $BASEDN" >> $TESTOUT 2>&1 RC=$? if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" @@ -65,7 +65,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w secret -s newsecret \ - "cn=smd5, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=smd5, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -73,7 +73,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w secret -s newsecret \ - "cn=sha, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=sha, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -81,7 +81,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w secret -s newsecret \ - "cn=ssha, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=ssha, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -93,7 +93,7 @@ echo "Pass 2" >> $TESTOUT echo "Using ldappasswd (PASS 2) ..." $LDAPPASSWD -h localhost -p $PORT \ -w newsecret \ - "cn=md5, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=md5, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -101,7 +101,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w newsecret \ - "cn=smd5, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=smd5, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -109,7 +109,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w newsecret \ - "cn=sha, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=sha, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID @@ -117,7 +117,7 @@ if test $RC != 0 ; then fi $LDAPPASSWD -h localhost -p $PORT \ -w newsecret \ - "cn=ssha, $BASEDN" >> $TESTOUT 2>&1 + -D "cn=ssha, $BASEDN" >> $TESTOUT 2>&1 if test $RC != 0 ; then echo "ldappasswd failed ($RC)!" kill -HUP $PID -- 2.39.5