1
0
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:
Andrew Bartlett 2002-03-01 02:37:31 +00:00
parent 8064c56f59
commit 10e686a543

View File

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