blob: 188e985658d35523b2d89789c09af78391252b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
. basicsmb.fns
test_sharelist() {
echo $prefix/bin/smbclient -U$whoami% -L localhost
$prefix/bin/smbclient -U$whoami% -L localhost
status=$?
if [ $status = 0 ]; then
echo "smbd listed shares OK"
else
echo "listing shares with smbd failed with status $status"
return 1
fi
return 0
}
# Need guest account
password=samba
security=USER
(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
test_sharelist || exit 1
|