mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
use the variable passed as a paramater, not just one randomly in our namespace.
Andrew Bartlett (This used to be commit 18f6d476154163543e865b1fe200cd94288d5dc1)
This commit is contained in:
parent
8064c56f59
commit
10e686a543
@ -75,7 +75,7 @@ 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 $password ; echo $password; ) | $prefix/bin/smbpasswd -L -s -a $whoami
|
||||
( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami
|
||||
status=$?
|
||||
if [ $status = 0 ]; then
|
||||
echo "smbpasswd correctly set initial password ($test_smbpasswd_password)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user