Difference between revisions of "Samba AD on CentOS7"

From SambaWiki
Line 26: Line 26:
===DC2 Setup===
===DC2 Setup===
==Post Setup==
==Fileserver Setup==
==Fileserver Setup==

Revision as of 11:56, 20 August 2015

This page describe Samba4 Active Directory installation on CentOS. The environment is composed of 2 DCs with replication, and one fileserver.




The installation is based on CentOS7 Minimal ISO, you should update the system, and install basic tools.

yum update
yum install -y vim wget


This pre-setup can be done in all 3 servers, basically it will setup the Sernet Samba Repository and install samba from repo.

wget https://raw.githubusercontent.com/hflautert/lotus7/master/samba4/pre_install_samba4.sh
chmod +x pre_install_samba4.sh

DC1 Setup

First of all we need a domain, so lets provision it.

samba-tool domain provision --use-rfc2307 --interactive

DC2 Setup

Post Setup

Fileserver Setup