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:
parent
fb5a006c09
commit
95cb680393
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user