mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
95edbc382d
The changes here start our own copy of BIND, listening on a new interface that we create at the start of the script. The user must specify the IP address etc that this interface will have, and BIND and Samba will bind to that interface only. This means that we won't conflict with an existing BIND on the system, so long as it isn't configured to listen on all interfaces. We also auto-create the /etc/resolv.conf and restore it at the end of the script, using the existing server value from the script as a forwarder. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
# 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}
|
|
|
|
# interfaces to create
|
|
INTERFACE : virbr0:0
|
|
INTERFACE_IP : 192.168.122.2
|
|
INTERFACE_NET : 192.168.122.0/24
|
|
|
|
# how to run bind9
|
|
BIND9 : /usr/sbin/named
|
|
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-1
|
|
WINDOWS7_VM : Windows7-1
|
|
WINDOWS7_SNAPSHOT : 1290389594
|
|
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 : 1290386227
|
|
WINXP_USER : administrator
|
|
WINXP_PASS : penguin
|
|
|
|
# Samba will join this w2k8r2 VM as a DC and then as a RODC
|
|
W2K8R2B_HOSTNAME : Win2008R2-1
|
|
W2K8R2B_VM : Win2008R2-1
|
|
W2K8R2B_PASS : penguin12#
|
|
W2K8R2B_SNAPSHOT : 1290382773
|
|
|
|
# Samba will join this w2k3 VM as a DC
|
|
W2K3B_HOSTNAME : Win2003R2-1
|
|
W2K3B_VM : Win2003R2-1
|
|
W2K3B_PASS : penguin
|
|
W2K3B_SNAPSHOT : 1290386298
|
|
|