1 # Samba File Server in a Container
3 This repository contains a Vagrantfile that describes the
4 setup of a simple Samba file server in a fedora-LXC host.
6 This is useful for testing/development of Samba.
10 * setup controlled by vagrant
11 * LXC-Containers as basis
16 This Vagrantfile is parametrized: The options for configuring
17 the number of nodes and the nodes' network interfaces and addresses
18 are stored in the config file 'vagrant.yml' when running any
19 vagrant command (except for vagrant help). The whole setup can
20 then conveniently be reconfigured modifying that file.
24 * Linux host, attached to the network (tested on Fedora 23, should work on other hosts as well)
27 * vagrant-lxc plugin installed
28 * possibly preparation of bridge interfaces on the host (the example uses libvirt's `virbr` interfaces)
32 After adjusting the configuration, `vagrant up` will bring up the full
33 cluster with ctdb running on all nodes. `vagrant ssh` will ssh
34 into the samba server.
38 - do provisioning with [ansible](https://github.com/ansible/ansible)
39 - add mechanism to join existing AD domain (e.g. samba-AD)
43 Michael Adam (obnox at samba dot org)