• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/selftest/win/
1
2# perl needs to know to look in $WINTEST_DIR for VMHost.pm.
3export PERLLIB=$WINTEST_DIR
4
5# Command prompt that we are expecting on the windows host.
6export SMBTORTURE_REMOTE_PROMPT=">"
7
8##
9## The variables in this section apply to the 'make wintest_dc' set of tests.
10##
11
12# A username and password with admin rights to the DC we're testing against.
13export WIN2K3_DC_USERNAME="tortureuser"
14export WIN2K3_DC_PASSWORD="torturepass"
15
16# The domain and realm that the DC is configured for.
17export WIN2K3_DC_DOMAIN="WINTESTDC"
18export WIN2K3_DC_REALM="wintest.dc"
19
20# The path to the DC vmware image config file, local to the vmware server.
21export WIN2K3_DC_VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Windows Server 2003 DC BuildFarm/Windows 2003 DC BuildFarm.vmx"
22
23##
24## The parameters in this section apply to the 'make wintest' set of tests.
25##
26
27# The username and password we will be testing with.
28# This user will need admin rights on the remote windows host.
29export SMBTORTURE_USERNAME="tortureuser"
30export SMBTORTURE_PASSWORD="torturepass"
31
32# The name of the workgroup we will be using on the remote windows host.
33export SMBTORTURE_WORKGROUP="SMBTEST"
34
35# The name of and path to the windows share we'll be testing against.
36export SMBTORTURE_REMOTE_SHARE_NAME="smbtorture_share"
37export SMBTORTURE_REMOTE_SHARE_PATH="%HOMEDRIVE%\smbtorture_shared_dir"
38
39# Default timeout for the expect scripts to wait for a response from the remote.
40export SMBTORTURE_EXPECT_TIMEOUT=30
41
42# Path to the local smbtorture binary.
43export SMBTORTURE_BIN_PATH="bin/smbtorture"
44
45# Local system hostname and ip address we'll be adding to the remote's
46# hosts file.
47export SMBTORTURE_LOCAL_HOSTNAME=$NETBIOSNAME
48export SMBTORTURE_LOCAL_IP="192.168.100.12"
49
50# Filename of the windows hosts' unedited hosts file.
51export REMOTE_BACKUP_HOSTS_FILENAME="hosts.smbtorture"
52export REMOTE_HOSTS_FILE_PATH="%SYSTEMROOT%\\system32\\drivers\\etc"
53
54# These coincide with the parameters mktestsetup.sh uses to setup smbd.
55export SMBTORTURE_LOCAL_USERNAME="administrator"
56export SMBTORTURE_LOCAL_PASSWORD="penguin"
57export SMBTORTURE_LOCAL_DOMAIN="SAMBADOMAIN"
58
59# This is the name of the samba share the windows vm will connect to.
60export SMBTORTURE_LOCAL_SHARE_NAME="TMP"
61
62# This is the drive letter which will be used to mount a share on the windows vm.
63export SMBTORTURE_REMOTE_DRIVE_LETTER="X:"
64
65# This is the name of the file which will be created on the windows vm
66# and used for samba server tests.
67export SMBTORTURE_TMP_FILENAME="smbtorture.tmp"
68
69# The path to the vmware image config file local to the vmware server.
70export VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Win2k3-BuildFarm/Win2k3-BuildFarm.vmx"
71
72# In order to copy files and execute programs on the guest vm,
73# we need administrator-level credentials to log in with.
74export GUEST_ADMIN_USERNAME="administrator"
75export GUEST_ADMIN_PASSWORD="adminpass"
76
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.
80export HOST_SERVER_NAME="vmhost"
81export HOST_SERVER_PORT=902
82export HOST_USERNAME="vmuser"
83export HOST_PASSWORD="vmpass"
84