From 20e7b4555545e7b1b401ec159d878223fbc40b08 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 30 Dec 2004 09:33:55 +0000 Subject: [PATCH] fix args order to client tools; use -M instead of -e manageDSAit --- tests/scripts/test030-relay | 14 +++++++------- tests/scripts/test032-proxymassage | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/scripts/test030-relay b/tests/scripts/test030-relay index 60f0262dc0..293b058659 100755 --- a/tests/scripts/test030-relay +++ b/tests/scripts/test030-relay @@ -118,7 +118,7 @@ fi BASEDN="o=Beispiel,c=DE" echo "modifying database \"$BASEDN\"..." $LDAPMODIFY -v -D "cn=Manager,$BASEDN" -h $LOCALHOST -p $PORT1 -w $PASSWD \ - -e manageDSAit >> $TESTOUT 2>&1 << EOMODS + -M >> $TESTOUT 2>&1 << EOMODS dn: cn=Added User,ou=Alumni Association,ou=People,$BASEDN changetype: add objectClass: OpenLDAPperson @@ -208,8 +208,8 @@ echo " attrs=\"'*' ref\"" BASEDN="dc=example,dc=com" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" @@ -220,8 +220,8 @@ fi BASEDN="o=Example,c=US" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" @@ -232,8 +232,8 @@ fi BASEDN="o=Esempio,c=IT" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" diff --git a/tests/scripts/test032-proxymassage b/tests/scripts/test032-proxymassage index f263bd1a10..da7fd5ffd9 100755 --- a/tests/scripts/test032-proxymassage +++ b/tests/scripts/test032-proxymassage @@ -118,7 +118,7 @@ fi BASEDN="o=Beispiel,c=DE" echo "modifying database \"$BASEDN\"..." $LDAPMODIFY -v -D "cn=Manager,$BASEDN" -h $LOCALHOST -p $PORT1 -w $PASSWD \ - -e manageDSAit >> $TESTOUT 2>&1 << EOMODS + -M >> $TESTOUT 2>&1 << EOMODS dn: cn=Added User,ou=Alumni Association,ou=People,$BASEDN changetype: add objectClass: OpenLDAPperson @@ -216,8 +216,8 @@ echo "# attrs=\"'*' ref\"" >> $SEARCHOUT BASEDN="dc=example,dc=com" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" @@ -228,8 +228,8 @@ fi BASEDN="o=Example,c=US" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" @@ -240,8 +240,8 @@ fi BASEDN="o=Esempio,c=IT" echo " base=\"$BASEDN\"..." echo "# base=\"$BASEDN\"..." >> $SEARCHOUT -$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" "$FILTER" "*" ref \ - -e manageDSAit >> $SEARCHOUT 2>&1 +$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" -M "$FILTER" "*" ref \ + >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then echo "Search failed ($RC)!" -- 2.39.5