This tutorial is about the basics of setting up a Samba domain. The previous tutorials were always dedicated to specific topics. This time it addresses especially those who are faced with the following question: Should an Active Directory domain be set up with Samba or Windows? But even if you already have a Samba domain in use, there might be some interesting topics you can take away from this tutorial.
In this tutorial you will learn how easy and fast a domain can be set up with Samba and how data can be provided via Samba file servers. The topic of different client operating systems will also be addressed. After setting up the domain the topic of Windows-compliant permissions will be taken care of, so that there is no difference between the permissions in a Samba domain and a Windows domain.
By the end of the tutorial you will have set up a domain with two domain controllers and a file server. Also users will be able to log on different clients in the domain and access the data.
The following content will be discussed and set up:
- Setup of a first domain controller
- Failover of the domain by installing a second domain controller
- Replication of the share SYSVOL
- Integration of a Samba file server
- First shares and permissions
- Integration of Windows and Linux clients into the domain
What do you need to join the tutorial?
- PC (BYOD) with “VirtualBox” and “Vagrant” installed
- A Windows VM to test the setup and running RSAT
Please note:
You need at least a PC with 16GB RAM (32 GB would be better) to install the setup. The Vagrant-file will create 4 Linux-Hosts and you also need to install a Windows-System.
If you don't have a Windows-VM you can download an evaluation Version from Microsoft:
developer.microsoft.com/en-us/windows/downloads/virtual-machines/.
Download the VirtualBox version and import the VM to VirtualBox. It's a full featured version that is valid for 40 days.
Training material:
You will get a handout including all steps to be able to recap independently after the tutorial.
All the Linux-systems will be prepared. You will get a “Vagrantfile” to set up all the Linux-VMs needed for the tutorial.