Make smbpasswd use the higher log level for the second run - this should
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 Jul 2003 07:29:23 +0000 (07:29 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 1 Jul 2003 07:29:23 +0000 (07:29 +0000)
help us debug failures in smbpasswd.

Andrew Bartlett

testsuite/build_farm/basicsmb.fns

index 31e097bd357ac9428a0b42476c58b367f7422e61..86b5a9ab3dd9da6d97469cad0ae483cfe838be7c 100644 (file)
@@ -94,8 +94,8 @@ test_smb_conf_setup() {
 test_smbpasswd() {
        test_smbpasswd_password="$1"
        rm -f $prefix/private/smbpasswd
-       echo "( echo $test_smbpasswd_password ; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami"
-       ( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami
+       echo "( echo $test_smbpasswd_password ; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami -D $loglevel"
+       ( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami -D $loglevel
        status=$?
        if [ $status = 0 ]; then
            echo "smbpasswd correctly set initial password ($test_smbpasswd_password)"