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