GSTN - Smaba PDC document: Difference between revisions
Created page with " <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style="color:#00000a;"><..." |
|||
| Line 82: | Line 82: | ||
= | = Setup a Samba Active Directory Domain Controller = | ||
== | == Configure yum repository for Packages installation. == | ||
<div style="color:#00000a;">Edit /etc/yum.repos.d/local.repo </div> | <div style="color:#00000a;">Edit /etc/yum.repos.d/local.repo </div> | ||
| Line 115: | Line 115: | ||
== | == Assign the Ipv4 address and restart the network services. == | ||
<div style="color:#00000a;"><nowiki># nmcli connection modify eth0 ipv4.addresses 172.18.101.14/24 ipv4.method manual ipv4.gateway 172.18.101.1 connection.autoconnect yes ipv4.dns 172.18.101.14</nowiki></div> | <div style="color:#00000a;"><nowiki># nmcli connection modify eth0 ipv4.addresses 172.18.101.14/24 ipv4.method manual ipv4.gateway 172.18.101.1 connection.autoconnect yes ipv4.dns 172.18.101.14</nowiki></div> | ||
| Line 125: | Line 125: | ||
== | == Assign the Ipv6 address and restart the network services. And set hostname. == | ||
<div style="color:#00000a;"><nowiki># nmcli connection modify eth0 ipv6.addresses 2404:a800:1000:d:7800::e/69 ipv6.method manual ipv6.gateway 2404:a800:1000:d:7800::1 connection.autoconnect yes ipv6.dns 2404:a800:1000:d:7800::e</nowiki></div> | <div style="color:#00000a;"><nowiki># nmcli connection modify eth0 ipv6.addresses 2404:a800:1000:d:7800::e/69 ipv6.method manual ipv6.gateway 2404:a800:1000:d:7800::1 connection.autoconnect yes ipv6.dns 2404:a800:1000:d:7800::e</nowiki></div> | ||
| Line 133: | Line 133: | ||
[[Image:Image3.png]]== | [[Image:Image3.png]]== Edit /etc/hosts file and make below entries. == | ||
<div style="color:#00000a;"><nowiki># vi /etc/hosts</nowiki></div> | <div style="color:#00000a;"><nowiki># vi /etc/hosts</nowiki></div> | ||
| Line 150: | Line 150: | ||
== | == Restart network service. == | ||
<div style="color:#00000a;"><nowiki># systemctl restart network.service</nowiki></div> | <div style="color:#00000a;"><nowiki># systemctl restart network.service</nowiki></div> | ||
| Line 158: | Line 158: | ||
== | == Reboot server. == | ||
<div style="color:#00000a;"><nowiki># init 6</nowiki></div> | <div style="color:#00000a;"><nowiki># init 6</nowiki></div> | ||
[[Image:Image6.png]]== | [[Image:Image6.png]]== Install Dependencies for samba installation. == | ||
| Line 170: | Line 170: | ||
[[Image:Image7.png]]== | [[Image:Image7.png]]== Dependencies Installation is completed. == | ||
| Line 177: | Line 177: | ||
<div style="color:#00000a;"></div>= | <div style="color:#00000a;"></div>= Samba Installation = | ||
== | == Download samba file from [https://www.samba.org/ https://www.samba.org/] and extract it. == | ||
<div style="color:#00000a;"><nowiki># tar xvzf samba-4.4.4.tar.gz</nowiki></div> | <div style="color:#00000a;"><nowiki># tar xvzf samba-4.4.4.tar.gz</nowiki></div> | ||
[[Image:Image9.png]]== | [[Image:Image9.png]]== Enter in samba-4.4.4 directory and run configure command. == | ||
| Line 202: | Line 202: | ||
== | == Run make command. == | ||
<div style="color:#00000a;"><nowiki># make</nowiki></div> | <div style="color:#00000a;"><nowiki># make</nowiki></div> | ||
| Line 214: | Line 214: | ||
[[Image:Image13.png]]== | [[Image:Image13.png]]== Run make install command. == | ||
<div style="color:#00000a;"><nowiki># make install</nowiki></div> | <div style="color:#00000a;"><nowiki># make install</nowiki></div> | ||
[[Image:Image14.png]]== | [[Image:Image14.png]]== Provision a new domain: == | ||
| Line 226: | Line 226: | ||
[[Image:Image15.png]]== | [[Image:Image15.png]]== Provisioning completed successfully. == | ||
[[Image:Image16.png]] | [[Image:Image16.png]] | ||
= {{anchor|RefHeading2095957709649}} Initialisation = | = {{anchor|RefHeading2095957709649}} Initialisation = | ||
Revision as of 14:38, 30 January 2019
Samba AD
As is Build for Domain Controller installation
Date : 08.08.2016
Document Version : 1.0
Table of Contents1.Setup a Samba Active Directory Domain Controller
Setup a Samba Active Directory Domain Controller
Configure yum repository for Packages installation.
Assign the Ipv4 address and restart the network services.
Assign the Ipv6 address and restart the network services. And set hostname.
== Edit /etc/hosts file and make below entries. ==
Restart network service.
Reboot server.
== Install Dependencies for samba installation. ==
== Dependencies Installation is completed. ==
= Samba Installation =
Download samba file from https://www.samba.org/ and extract it.
== Enter in samba-4.4.4 directory and run configure command. ==
Run make command.
== Run make install command. ==
== Provisioning completed successfully. ==
Template:Anchor Initialisation
Template:Anchor Samba doesn't yet have init scripts included
- we can copy script from below link. https://wiki.samba.org/index.php/Samba4/InitScript
- create a file /etc/rc.d/init.d/samba4
Template:Anchor Set the permissions on samba4 file.
== Template:Anchor Restart samba ==
Template:Anchor Run "smbclient"
== Template:Anchor Open /etc/named.conf file. ==
== Template:Anchor DNS keytab ==
tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";
== Template:Anchor Also make below entry in named.conf ==
include "/usr/local/samba/private/named.conf";
File:Image23.png== Template:Anchor Change the owner ship as below and restart named services. ==
== Template:Anchor Copy Kerberos ==













