diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:00 +0000 |
commit | 8daa83a594a2e98f39d764422bfbdbc62c9efd44 (patch) | |
tree | 4099e8021376c7d8c05bdf8503093d80e9c7bad0 /wintest/conf | |
parent | Initial commit. (diff) | |
download | samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.tar.xz samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.zip |
Adding upstream version 2:4.20.0+dfsg.upstream/2%4.20.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wintest/conf')
-rw-r--r-- | wintest/conf/abartlet-jesse.conf | 104 | ||||
-rw-r--r-- | wintest/conf/abartlet.conf | 104 | ||||
-rw-r--r-- | wintest/conf/bbaumbach.conf | 97 | ||||
-rw-r--r-- | wintest/conf/tridge.conf | 95 | ||||
-rw-r--r-- | wintest/conf/zahari-esxi.conf | 46 |
5 files changed, 446 insertions, 0 deletions
diff --git a/wintest/conf/abartlet-jesse.conf b/wintest/conf/abartlet-jesse.conf new file mode 100644 index 0000000..64a5f43 --- /dev/null +++ b/wintest/conf/abartlet-jesse.conf @@ -0,0 +1,104 @@ +# config file for test-howto.py for abartlet's KVM based setup (using libvirt) + +# where the git checkout is +SOURCETREE : /data/samba/howto/git + +# where to install Samba to +PREFIX : /data/samba/howto/prefix + +# debug level which will be put in smb.conf +DEBUGLEVEL : 1 + +# commands to control VMs +VM_POWEROFF : virsh destroy ${VMNAME} +VM_RESTORE : virsh snapshot-revert ${VMNAME} ${SNAPSHOT} +VM_RESET : virsh reboot ${VMNAME} + +# interfaces to create +INTERFACE : virbr0:0 +NAMED_INTERFACE : virbr0:1 + +# this is an additional IP that will be used for named to listen +# on. It should not be the primary IP of the interface. We need one +# for BIND (which redirects to the other hosts) and one for Samba, +# which might be running our own DNS + +INTERFACE_IP : 192.168.122.3 +INTERFACE_NET : 192.168.122.3/24 +NAMED_INTERFACE_IP : 192.168.122.2 +NAMED_INTERFACE_NET : 192.168.122.2/24 + +# how to run bind9 +BIND9 : /usr/sbin/named +NAMED_CHECKCONF : /usr/sbin/named-checkconf +RNDC : /usr/sbin/rndc +BIND_USER : named + +# provision information +REALM : S4.HOWTO.ABARTLET.NET +LCREALM : s4.howto.abartlet.net +DOMAIN : s4-howto +BASEDN : DC=s4,DC=howto,DC=abartlet,DC=net +PASSWORD1 : p@ssw0rd +PASSWORD2 : p@ssw0rd2 +PASSWORD3 : p@ssw0rd3 + +# a Windows7 VM +WINDOWS7_HOSTNAME : Windows7-3 +WINDOWS7_VM : Windows7-3 +WINDOWS7_SNAPSHOT : 1346650132 +WINDOWS7_USER : administrator +WINDOWS7_PASS : penguin + +# a winxp VM - needs Windows XP Service Pack 2 Support Tools +#WINXP_HOSTNAME : WinXP-1 +#WINXP_VM : WinXP-1 +#WINXP_SNAPSHOT : 1329361864 +#WINXP_USER : administrator +#WINXP_PASS : penguin + +# Samba will join this w2k8r2 VM as a DC and then as a RODC +W2K8R2A_HOSTNAME : Win2008R2-3 +W2K8R2A_VM : Win2008R2-3 +W2K8R2A_REALM : 2008R2.HOWTO.ABARTLET.NET +W2K8R2A_DOMAIN : 2008R2HOWTO +W2K8R2A_PASS : penguin12# +W2K8R2A_SNAPSHOT : 1349167901 +W2K8R2A_IP : 192.168.122.24 + +# this w2k8r2 VM will become a DC in the samba domain +W2K8R2B_HOSTNAME : Win2008R2-7 +W2K8R2B_VM : Win2008R2-7 +W2K8R2B_PASS : penguin12# +W2K8R2B_SNAPSHOT : 1347439285 + +# this w2k8r2 VM will become a RODC in the samba domain +W2K8R2C_HOSTNAME : Win2008R2-6 +W2K8R2C_VM : Win2008R2-6 +W2K8R2C_PASS : penguin12# +W2K8R2C_SNAPSHOT : 1347437454 + +# Samba will join this w2k3 VM as a DC +#W2K3A_HOSTNAME : Win2003R2-2 +#W2K3A_VM : Win2003R2-2 +#W2K3A_REALM : 2003.HOWTO.ABARTLET.NET +#W2K3A_DOMAIN : 2003HOWTO +#W2K3A_PASS : penguin +#W2K3A_SNAPSHOT : 1314652035 +#W2K3A_IP : 192.168.122.91 + +# this w2k3 VM will become a DC in the samba domain +W2K3B_HOSTNAME : Win2003R2-4 +W2K3B_VM : Win2003R2-4 +W2K3B_PASS : penguin +W2K3B_SNAPSHOT : 1347424723 +W2K3B_IP : 192.168.122.164 + +# this w2k3 VM will become a member in the samba domain +W2K3C_HOSTNAME : Win2003R2-3 +W2K3C_VM : Win2003R2-3 +W2K3C_PASS : penguin +W2K3C_SNAPSHOT : 1347423953 +W2K3C_IP : 192.168.122.162 + + diff --git a/wintest/conf/abartlet.conf b/wintest/conf/abartlet.conf new file mode 100644 index 0000000..78c0287 --- /dev/null +++ b/wintest/conf/abartlet.conf @@ -0,0 +1,104 @@ +# config file for test-howto.py for abartlet's KVM based setup (using libvirt) + +# where the git checkout is +SOURCETREE : /data/samba/howto/git + +# where to install Samba to +PREFIX : /data/samba/howto/prefix + +# debug level which will be put in smb.conf +DEBUGLEVEL : 1 + +# commands to control VMs +VM_POWEROFF : virsh destroy ${VMNAME} +VM_RESTORE : virsh snapshot-revert ${VMNAME} ${SNAPSHOT} +VM_RESET : virsh reboot ${VMNAME} + +# interfaces to create +INTERFACE : virbr0:0 +NAMED_INTERFACE : virbr0:1 + +# this is an additional IP that will be used for named to listen +# on. It should not be the primary IP of the interface. We need one +# for BIND (which redirects to the other hosts) and one for Samba, +# which might be running our own DNS + +INTERFACE_IP : 192.168.122.3 +INTERFACE_NET : 192.168.122.3/24 +NAMED_INTERFACE_IP : 192.168.122.2 +NAMED_INTERFACE_NET : 192.168.122.2/24 + +# how to run bind9 +BIND9 : /usr/sbin/named +NAMED_CHECKCONF : /usr/sbin/named-checkconf +RNDC : /usr/sbin/rndc +BIND_USER : named + +# provision information +REALM : S4.HOWTO.ABARTLET.NET +LCREALM : s4.howto.abartlet.net +DOMAIN : s4-howto +BASEDN : DC=s4,DC=howto,DC=abartlet,DC=net +PASSWORD1 : p@ssw0rd +PASSWORD2 : p@ssw0rd2 +PASSWORD3 : p@ssw0rd3 + +# a Windows7 VM +WINDOWS7_HOSTNAME : Windows7-3 +WINDOWS7_VM : Windows7-3 +WINDOWS7_SNAPSHOT : 1329351855 +WINDOWS7_USER : administrator +WINDOWS7_PASS : penguin + +# a winxp VM - needs Windows XP Service Pack 2 Support Tools +WINXP_HOSTNAME : WinXP-1 +WINXP_VM : WinXP-1 +WINXP_SNAPSHOT : 1329361864 +WINXP_USER : administrator +WINXP_PASS : penguin + +# Samba will join this w2k8r2 VM as a DC and then as a RODC +W2K8R2A_HOSTNAME : Win2008R2-3 +W2K8R2A_VM : Win2008R2-3 +W2K8R2A_REALM : 2008R2.HOWTO.ABARTLET.NET +W2K8R2A_DOMAIN : 2008R2HOWTO +W2K8R2A_PASS : penguin12# +W2K8R2A_SNAPSHOT : 1329218595 +W2K8R2A_IP : 192.168.122.57 + +# this w2k8r2 VM will become a DC in the samba domain +W2K8R2B_HOSTNAME : Win2008R2-7 +W2K8R2B_VM : Win2008R2-7 +W2K8R2B_PASS : penguin12# +W2K8R2B_SNAPSHOT : 1329964204 + +# this w2k8r2 VM will become a RODC in the samba domain +W2K8R2C_HOSTNAME : Win2008R2-6 +W2K8R2C_VM : Win2008R2-6 +W2K8R2C_PASS : penguin12# +W2K8R2C_SNAPSHOT : 1329785556 + +# Samba will join this w2k3 VM as a DC +W2K3A_HOSTNAME : Win2003R2-2 +W2K3A_VM : Win2003R2-2 +W2K3A_REALM : 2003.HOWTO.ABARTLET.NET +W2K3A_DOMAIN : 2003HOWTO +W2K3A_PASS : penguin +W2K3A_SNAPSHOT : 1314652035 +W2K3A_IP : 192.168.122.91 + +# this w2k3 VM will become a DC in the samba domain +W2K3B_HOSTNAME : Win2003R2-4 +W2K3B_VM : Win2003R2-4 +W2K3B_PASS : penguin +W2K3B_SNAPSHOT : 1331186260 +W2K3B_IP : 192.168.122.164 + +# this w2k3 VM will become a member in the samba domain +W2K3C_HOSTNAME : Win2003R2-3 +W2K3C_VM : Win2003R2-3 +W2K3C_PASS : penguin +W2K3C_SNAPSHOT : 1329451062 +W2K3C_IP : 192.168.122.162 + + diff --git a/wintest/conf/bbaumbach.conf b/wintest/conf/bbaumbach.conf new file mode 100644 index 0000000..aaacd32 --- /dev/null +++ b/wintest/conf/bbaumbach.conf @@ -0,0 +1,97 @@ +# Björn Baumbachs wintest config file +# Using VirtualBox in headless mode. Since it's not possible to +# startup VMs in gui mode. + +# where the git checkout is +SOURCETREE : /home/bbaumba/src/git/samba + +# where to install Samba to +PREFIX : /smbTest/wintest + +# debug level which will be put in smb.conf +DEBUGLEVEL : 1 + +# commands to control VMs +VM_POWEROFF : su bbaumba -c "VBoxManage controlvm ${VMNAME} poweroff" +VM_RESTORE : su bbaumba -c "VBoxManage snapshot ${VMNAME} restore ${SNAPSHOT} && VBoxManage startvm ${VMNAME} --type headless" +VM_RESET : su bbaumba -c "VBoxManage controlvm ${VMNAME} reset" + +# interfaces to listen on +INTERFACE : wintest + +# this is an additional IP that will be used for named to listen +# on. It should not be the primary IP of the interface +INTERFACE_IP : 192.168.4.77 +INTERFACE_NET : 192.168.4.77/24 + +# how to run bind9 +BIND9 : /usr/sbin/named +NAMED_CHECKCONF : /usr/sbin/named-checkconf +RNDC : /usr/sbin/rndc +BIND_USER : named + +# provision information +REALM : WINTEST.EXAMPLE.ORG +LCREALM : wintest.example.org +DOMAIN : wintest +BASEDN : DC=wintest,DC=example,DC=org +PASSWORD1 : p@ssw0rd +PASSWORD2 : p@ssw0rd2 +PASSWORD3 : p@ssw0rd3 + +## a Windows7 VM +#WINDOWS7_HOSTNAME : wintest7 +#WINDOWS7_VM : wintest7 +#WINDOWS7_SNAPSHOT : ready +#WINDOWS7_USER : Administrator +#WINDOWS7_PASS : Passw0rd + +# a winxp VM - needs Windows XP Service Pack 2 Support Tools +WINXP_HOSTNAME : wintestxp +WINXP_VM : wintestxp +WINXP_SNAPSHOT : ready +WINXP_USER : Administrator +WINXP_PASS : geheim + +# Samba will join this w2k8r2 VM as a DC and then as a RODC +#W2K8R2A_HOSTNAME : wintest2k8r2 +#W2K8R2A_VM : wintest2k8r2 +#W2K8R2A_REALM : v2.tridgell.net +#W2K8R2A_DOMAIN : v2 +#W2K8R2A_PASS : Passw0rd +#W2K8R2A_SNAPSHOT : ready2 +#W2K8R2A_IP : 192.168.4.103 + + +## this w2k8r2 VM will become a DC in the samba domain +#W2K8R2B_HOSTNAME : w2k8r2b +#W2K8R2B_VM : w2k8r2b +#W2K8R2B_PASS : p@ssw0rd +#W2K8R2B_SNAPSHOT : howto-test2 +# +## this w2k8r2 VM will become a RODC in the samba domain +#W2K8R2C_HOSTNAME : w2k8r2c +#W2K8R2C_VM : w2k8r2c +#W2K8R2C_PASS : p@ssw0rd +#W2K8R2C_SNAPSHOT : howto-test2 + +# Samba will join this w2k3 VM as a DC +W2K3A_HOSTNAME : wintest2k3 +W2K3A_VM : wintest2k3 +W2K3A_REALM : vsofs3.com +W2K3A_DOMAIN : vsofs3 +W2K3A_PASS : Passw0rd +W2K3A_SNAPSHOT : ready +W2K3A_IP : 192.168.4.102 + +## this w2k3 VM will become a DC in the samba domain +#W2K3B_HOSTNAME : w2k3b +#W2K3B_VM : w2k3b +#W2K3B_PASS : penguin +#W2K3B_SNAPSHOT : howto-test +# +## this w2k8 VM will become a DC in the samba domain +#W2K8B_HOSTNAME : w2k8c +#W2K8B_VM : w2k8 +#W2K8B_PASS : p@ssw0rd +#W2K8B_SNAPSHOT : howto-test diff --git a/wintest/conf/tridge.conf b/wintest/conf/tridge.conf new file mode 100644 index 0000000..e6d6910 --- /dev/null +++ b/wintest/conf/tridge.conf @@ -0,0 +1,95 @@ +# 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 + +# debug level which will be put in smb.conf +DEBUGLEVEL : 1 + +# 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}" +VM_RESET : su tridge -c "VBoxManage controlvm ${VMNAME} reset" + +# interfaces to listen on +INTERFACE : virbr0:0 + +# this is an additional IP that will be used for named to listen +# on. It should not be the primary IP of the interface +INTERFACE_IP : 10.0.0.2 +INTERFACE_NET : 10.0.0.2/24 + +# how to run bind9 +BIND9 : /usr/sbin/named +NAMED_CHECKCONF : /usr/sbin/named-checkconf +RNDC : /usr/sbin/rndc +BIND_USER : bind + +# provision information +REALM : HOWTO.TRIDGELL.NET +LCREALM : howto.tridgell.net +DOMAIN : howto +BASEDN : DC=howto,DC=tridgell,DC=net +PASSWORD1 : p@ssw0rd +PASSWORD2 : p@ssw0rd2 +PASSWORD3 : p@ssw0rd3 + +# a Windows7 VM +WINDOWS7_HOSTNAME : win7 +WINDOWS7_VM : Win7 +WINDOWS7_SNAPSHOT : howto-test2 +WINDOWS7_USER : administrator +WINDOWS7_PASS : p@ssw0rd + +# a winxp VM - needs Windows XP Service Pack 2 Support Tools +WINXP_HOSTNAME : winxptest +WINXP_VM : winXP-test +WINXP_SNAPSHOT : howto-test +WINXP_USER : tridge +WINXP_PASS : penguin + +# Samba will join this w2k8r2 VM as a DC and then as a RODC +W2K8R2A_HOSTNAME : w2k8 +W2K8R2A_VM : w2k8r2 +W2K8R2A_REALM : v2.tridgell.net +W2K8R2A_DOMAIN : v2 +W2K8R2A_PASS : p@ssw0rd5 +W2K8R2A_SNAPSHOT : howto-test +W2K8R2A_IP : 10.0.0.4 + + +# this w2k8r2 VM will become a DC in the samba domain +W2K8R2B_HOSTNAME : w2k8r2b +W2K8R2B_VM : w2k8r2b +W2K8R2B_PASS : p@ssw0rd +W2K8R2B_SNAPSHOT : howto-test2 + +# this w2k8r2 VM will become a RODC in the samba domain +W2K8R2C_HOSTNAME : w2k8r2c +W2K8R2C_VM : w2k8r2c +W2K8R2C_PASS : p@ssw0rd +W2K8R2C_SNAPSHOT : howto-test2 + +# Samba will join this w2k3 VM as a DC +W2K3A_HOSTNAME : w2k3 +W2K3A_VM : w2003 +W2K3A_REALM : vsofs3.com +W2K3A_DOMAIN : vsofs3 +W2K3A_PASS : penguin +W2K3A_SNAPSHOT : howto-test +W2K3A_IP : 10.0.0.3 + +# this w2k3 VM will become a DC in the samba domain +W2K3B_HOSTNAME : w2k3b +W2K3B_VM : w2k3b +W2K3B_PASS : penguin +W2K3B_SNAPSHOT : howto-test + +# this w2k8 VM will become a DC in the samba domain +W2K8B_HOSTNAME : w2k8c +W2K8B_VM : w2k8 +W2K8B_PASS : p@ssw0rd +W2K8B_SNAPSHOT : howto-test diff --git a/wintest/conf/zahari-esxi.conf b/wintest/conf/zahari-esxi.conf new file mode 100644 index 0000000..bed6326 --- /dev/null +++ b/wintest/conf/zahari-esxi.conf @@ -0,0 +1,46 @@ +# config file for test-howto.py for zahari + +# where the git checkout is +SOURCETREE : /root/samba-master + +# where to install Samba to +PREFIX : /usr/local/samba + +# VMware ESX server + +# debug level which will be put in smb.conf +DEBUGLEVEL : 1 + +# commands to control VMs +VM_POWEROFF : su zahari -c "sshpass -p p@ssw0rd ssh -o StrictHostKeyChecking=no root@10.191.35.30 vim-cmd vmsvc/power.off ${VMNAME} 2>&1; sleep 5" +VM_RESTORE : su zahari -c "sshpass -p p@ssw0rd ssh -o StrictHostKeyChecking=no root@10.191.35.30 vim-cmd vmsvc/snapshot.revert ${VMNAME} ${SNAPSHOT} 2>&1; sleep 5" +VM_RESET : su zahari -c "sshpass -p p@ssword ssh -o StrictHostKeyChecking=no root@10.191.35.30 vim-cmd vmsvc/power.reboot ${VMNAME} 2>&1; sleep 5" + +# interfaces to listen on +INTERFACE : eth0 + +# this is an additional IP that will be used for named to listen +# on. It should not be the primary IP of the interface +INTERFACE_IP : 10.191.10.90 +INTERFACE_NET : 10.191.10.90/16 + +# how to run bind9 +BIND9 : /usr/sbin/named +NAMED_CHECKCONF : /usr/sbin/named-checkconf +RNDC : /usr/sbin/rndc +BIND_USER : bind + +# provision information +REALM : HOWTO.SAMBA90.TEST +LCREALM : howto.samba90.test +DOMAIN : howto-0 +BASEDN : DC=howto,DC=samba90,DC=test +PASSWORD1 : p@r0l@123! +PASSWORD2 : p@r0l@1234! +PASSWORD3 : p@r0l@12345! + +# this w2k8r2 VM will become a DC in the samba domain +W2K8R2B_HOSTNAME : WIN-SVD8RSRCPSS +W2K8R2B_VM : 128 +W2K8R2B_PASS : P@r0l@ +W2K8R2B_SNAPSHOT : 0 1 |