3 # this runs the file serving tests that are expected to pass with samba3 against shares with various options
7 Usage: test_smbclient_machine_auth.sh SERVER SMBCLIENT <smbclient arguments>
14 SMBCLIENT="$VALGRIND ${SMBCLIENT}"
18 incdir=`dirname $0`/../../../testprogs/blackbox
21 testit "smbclient //$SERVER/tmp" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS
23 # Testing these here helps because we know the machine account isn't already this user/group
24 testit "smbclient //$SERVER/forceuser" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS
25 testit "smbclient //$SERVER/forcegroup" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS