2
# perl needs to know to look in $WINTEST_DIR for VMHost.pm.
3
export PERLLIB=$WINTEST_DIR
5
# Command prompt that we are expecting on the windows host.
6
export SMBTORTURE_REMOTE_PROMPT=">"
9
## The variables in this section apply to the 'make wintest_dc' set of tests.
12
# A username and password with admin rights to the DC we're testing against.
13
export WIN2K3_DC_USERNAME="tortureuser"
14
export WIN2K3_DC_PASSWORD="torturepass"
16
# The domain and realm that the DC is configured for.
17
export WIN2K3_DC_DOMAIN="WINTESTDC"
18
export WIN2K3_DC_REALM="wintest.dc"
20
# The path to the DC vmware image config file, local to the vmware server.
21
export WIN2K3_DC_VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Windows Server 2003 DC BuildFarm/Windows 2003 DC BuildFarm.vmx"
24
## The parameters in this section apply to the 'make wintest' set of tests.
27
# The username and password we will be testing with.
28
# This user will need admin rights on the remote windows host.
29
export SMBTORTURE_USERNAME="tortureuser"
30
export SMBTORTURE_PASSWORD="torturepass"
32
# The name of the workgroup we will be using on the remote windows host.
33
export SMBTORTURE_WORKGROUP="SMBTEST"
35
# The name of and path to the windows share we'll be testing against.
36
export SMBTORTURE_REMOTE_SHARE_NAME="smbtorture_share"
37
export SMBTORTURE_REMOTE_SHARE_PATH="%HOMEDRIVE%\smbtorture_shared_dir"
39
# Default timeout for the expect scripts to wait for a response from the remote.
40
export SMBTORTURE_EXPECT_TIMEOUT=30
42
# Path to the local smbtorture binary.
43
export SMBTORTURE_BIN_PATH="bin/smbtorture"
45
# Local system hostname and ip address we'll be adding to the remote's
47
export SMBTORTURE_LOCAL_HOSTNAME=$NETBIOSNAME
48
export SMBTORTURE_LOCAL_IP="192.168.100.12"
50
# Filename of the windows hosts' unedited hosts file.
51
export REMOTE_BACKUP_HOSTS_FILENAME="hosts.smbtorture"
52
export REMOTE_HOSTS_FILE_PATH="%SYSTEMROOT%\\system32\\drivers\\etc"
54
# These coincide with the parameters mktestsetup.sh uses to setup smbd.
55
export SMBTORTURE_LOCAL_USERNAME="administrator"
56
export SMBTORTURE_LOCAL_PASSWORD="penguin"
57
export SMBTORTURE_LOCAL_DOMAIN="SAMBADOMAIN"
59
# This is the name of the samba share the windows vm will connect to.
60
export SMBTORTURE_LOCAL_SHARE_NAME="TMP"
62
# This is the drive letter which will be used to mount a share on the windows vm.
63
export SMBTORTURE_REMOTE_DRIVE_LETTER="X:"
65
# This is the name of the file which will be created on the windows vm
66
# and used for samba server tests.
67
export SMBTORTURE_TMP_FILENAME="smbtorture.tmp"
69
# The path to the vmware image config file local to the vmware server.
70
export VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Win2k3-BuildFarm/Win2k3-BuildFarm.vmx"
72
# In order to copy files and execute programs on the guest vm,
73
# we need administrator-level credentials to log in with.
74
export GUEST_ADMIN_USERNAME="administrator"
75
export GUEST_ADMIN_PASSWORD="adminpass"
77
# These parameters are optional. If not specified, the script tries to access
78
# a local vmware server as the executing user.
79
# logged-in user running the script are used.
80
export HOST_SERVER_NAME="vmhost"
81
export HOST_SERVER_PORT=902
82
export HOST_USERNAME="vmuser"
83
export HOST_PASSWORD="vmpass"