1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Make smbpasswd use the higher log level for the second run - this should

help us debug failures in smbpasswd.

Andrew Bartlett
(This used to be commit dcdbd530a6)
This commit is contained in:
Andrew Bartlett 2003-07-01 07:29:23 +00:00
parent fb5a006c09
commit 95cb680393

View 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)"