summaryrefslogtreecommitdiff
path: root/source4/scripting/devel/howto/tridge.conf
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-15 22:57:00 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-15 21:45:20 +0000
commit10a1606baf69addd2d3a079ab007ebb6beffb55d (patch)
tree31e31160676578862dc95a854a6aef602c7c799c /source4/scripting/devel/howto/tridge.conf
parent6cd92340b6b2003dbe3380819626a1f443b3456c (diff)
downloadsamba-10a1606baf69addd2d3a079ab007ebb6beffb55d.tar.gz
samba-10a1606baf69addd2d3a079ab007ebb6beffb55d.tar.bz2
samba-10a1606baf69addd2d3a079ab007ebb6beffb55d.zip
s4-devel: a script to test the Samba4 HOWTO
This provides a script that allows testing of most of the steps of the Samba4 HOWTO. The big difference between this and 'make test' is that it test against windows, using pexpect to control windows boxes via telnet. The info about VMs and other parameters are in separate conf files. I've included a sample config file that I use on my laptop.
Diffstat (limited to 'source4/scripting/devel/howto/tridge.conf')
-rw-r--r--source4/scripting/devel/howto/tridge.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/source4/scripting/devel/howto/tridge.conf b/source4/scripting/devel/howto/tridge.conf
new file mode 100644
index 0000000000..4b21b571a3
--- /dev/null
+++ b/source4/scripting/devel/howto/tridge.conf
@@ -0,0 +1,52 @@
+# config file for test-howto.py for tridge
+
+# where the git checkout is
+SOURCETREE : /home/tridge/samba/git/howto
+
+# where to install Samba to
+PREFIX : /home/tridge/samba/git/prefix.howto
+
+# commands to control VMs
+VM_POWEROFF : su tridge -c "VBoxManage controlvm ${VMNAME} poweroff"
+VM_RESTORE : su tridge -c "VBoxManage snapshot ${VMNAME} restore ${SNAPSHOT} && VBoxManage startvm ${VMNAME}"
+
+# interfaces to listen on
+INTERFACES : virbr0
+
+# how to run bind9
+BIND9 : /usr/sbin/named -u bind
+RNDC : /usr/sbin/rndc
+
+# provision information
+REALM : HOWTO.TRIDGELL.NET
+LCREALM : howto.tridgell.net
+DOMAIN : howto
+BASEDN : DC=howtoDC=tridgellDC=net
+PASSWORD1 : p@ssw0rd
+PASSWORD2 : p@ssw0rd2
+PASSWORD3 : p@ssw0rd3
+
+# a Windows7 VM
+WINDOWS7 : win7
+WINDOWS7_VM : Win7
+WINDOWS7_SNAPSHOT : howto-test2
+
+# this VM will become a DC in the samba domain
+WINDOWS_DC1 : w2k8r2b
+WINDOWS_DC1_VM : w2k8r2b
+WINDOWS_DC1_PASS : p@ssw0rd
+WINDOWS_DC1_SNAPSHOT : howto-test
+
+# this VM will become a RODC in the samba domain
+WINDOWS_DC2 : w2k8r2c
+WINDOWS_DC2_VM : w2k8r2c
+WINDOWS_DC2_PASS : p@ssw0rd
+WINDOWS_DC2_SNAPSHOT : howto-test
+
+# Samba will join this VM as a DC
+WINDOWS_DC3 : w2k8
+WINDOWS_DC3_VM : w2k8r2
+WINDOWS_DC3_REALM : v2.tridgell.net
+WINDOWS_DC3_DOMAIN : v2
+WINDOWS_DC3_PASS : p@ssw0rd5
+WINDOWS_DC3_SNAPSHOT : howto-test