GSTN - SAMBA PDC: Difference between revisions
Created page with "category:GSTN <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style="color:#00000a;"></div> <div style..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[category:GSTN]] | [[category:GSTN]] | ||
| Line 91: | Line 92: | ||
[[Image:GSTNSAMBAPDC1]] | [[Image:GSTNSAMBAPDC1.png]] | ||
<div style="color:#00000a;">Make below entries. Save file and exit.</div> | <div style="color:#00000a;">Make below entries. Save file and exit.</div> | ||
| Line 112: | Line 113: | ||
[[Image:GSTNSAMBAPDC2]] | [[Image:GSTNSAMBAPDC2.png]] | ||
| Line 122: | Line 123: | ||
[[Image:GSTNSAMBAPDC3]] | [[Image:GSTNSAMBAPDC3.png]] | ||
| Line 133: | Line 134: | ||
[[Image:GSTNSAMBAPDC4]]== {{anchor|RefHeading2071957709649}} Edit /etc/hosts file and make below entries. == | [[Image:GSTNSAMBAPDC4.png]]== {{anchor|RefHeading2071957709649}} 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 147: | Line 148: | ||
[[Image:GSTNSAMBAPDC5]] | [[Image:GSTNSAMBAPDC5.png]] | ||
| Line 155: | Line 156: | ||
[[Image:GSTNSAMBAPDC6]] | [[Image:GSTNSAMBAPDC6.png]] | ||
| Line 163: | Line 164: | ||
[[Image:GSTNSAMBAPDC7]]== {{anchor|RefHeading2077957709649}} Install Dependencies for samba installation. == | [[Image:GSTNSAMBAPDC7.png]]== {{anchor|RefHeading2077957709649}} Install Dependencies for samba installation. == | ||
| Line 170: | Line 171: | ||
[[Image:GSTNSAMBAPDC8]]== {{anchor|RefHeading2079957709649}} Dependencies Installation is completed. == | [[Image:GSTNSAMBAPDC8.png]]== {{anchor|RefHeading2079957709649}} Dependencies Installation is completed. == | ||
[[Image:GSTNSAMBAPDC9]] | [[Image:GSTNSAMBAPDC9.png]] | ||
| Line 184: | Line 185: | ||
[[Image:GSTNSAMBAPDC10]]== {{anchor|RefHeading2085957709649}} Enter in samba-4.4.4 directory and run configure command. == | [[Image:GSTNSAMBAPDC10.png]]== {{anchor|RefHeading2085957709649}} Enter in samba-4.4.4 directory and run configure command. == | ||
| Line 193: | Line 194: | ||
[[Image:GSTNSAMBAPDC11]] | [[Image:GSTNSAMBAPDC11.png]] | ||
| Line 199: | Line 200: | ||
[[Image:GSTNSAMBAPDC12]] | [[Image:GSTNSAMBAPDC12.png]] | ||
| Line 207: | Line 208: | ||
[[Image:GSTNSAMBAPDC13]] | [[Image:GSTNSAMBAPDC13.png]] | ||
<div style="color:#00000a;">Make command finished successfully.</div> | <div style="color:#00000a;">Make command finished successfully.</div> | ||
| Line 214: | Line 215: | ||
[[Image:GSTNSAMBAPDC14]]== {{anchor|RefHeading2089957709649}} Run make install command. == | [[Image:GSTNSAMBAPDC14.png]]== {{anchor|RefHeading2089957709649}} Run make install command. == | ||
<div style="color:#00000a;"><nowiki># make install</nowiki></div> | <div style="color:#00000a;"><nowiki># make install</nowiki></div> | ||
[[Image:GSTNSAMBAPDC15]]== {{anchor|RefHeading2091957709649}} Provision a new domain: == | [[Image:GSTNSAMBAPDC15.png]]== {{anchor|RefHeading2091957709649}} Provision a new domain: == | ||
| Line 226: | Line 227: | ||
[[Image:GSTNSAMBAPDC16]]== {{anchor|RefHeading2093957709649}} Provisioning completed successfully. == | [[Image:GSTNSAMBAPDC16.png]]== {{anchor|RefHeading2093957709649}} Provisioning completed successfully. == | ||
[[Image:GSTNSAMBAPDC17]] | [[Image:GSTNSAMBAPDC17.png]] | ||
| Line 374: | Line 375: | ||
[[Image:GSTNSAMBAPDC18]] | [[Image:GSTNSAMBAPDC18.png]] | ||
| Line 426: | Line 427: | ||
[[Image:GSTNSAMBAPDC19]]== {{anchor|RefHeading2101957709649}} Restart samba == | [[Image:GSTNSAMBAPDC19.png]]== {{anchor|RefHeading2101957709649}} Restart samba == | ||
<div style="color:#00000a;"><nowiki># service samba4 restart</nowiki></div> | <div style="color:#00000a;"><nowiki># service samba4 restart</nowiki></div> | ||
| Line 433: | Line 434: | ||
[[Image:GSTNSAMBAPDC20]] | [[Image:GSTNSAMBAPDC20.png]] | ||
| Line 444: | Line 445: | ||
[[Image:GSTNSAMBAPDC21]]== {{anchor|RefHeading2105957709649}} Open /etc/named.conf file. == | [[Image:GSTNSAMBAPDC21.png]]== {{anchor|RefHeading2105957709649}} Open /etc/named.conf file. == | ||
| Line 451: | Line 452: | ||
[[Image:GSTNSAMBAPDC22]]== {{anchor|RefHeading2107957709649}} DNS keytab == | [[Image:GSTNSAMBAPDC22.png]]== {{anchor|RefHeading2107957709649}} DNS keytab == | ||
<div style="color:#00000a;">This file was automatically created during provisioning/updating. Add the following' tkey-gssapi-keytab' option to the 'options' section of your named.conf, and set other values as shown in screen shot.</div> | <div style="color:#00000a;">This file was automatically created during provisioning/updating. Add the following' tkey-gssapi-keytab' option to the 'options' section of your named.conf, and set other values as shown in screen shot.</div> | ||
| Line 461: | Line 462: | ||
[[Image:GSTNSAMBAPDC23]]== {{anchor|RefHeading2109957709649}} Also make below entry in named.conf == | [[Image:GSTNSAMBAPDC23.png]]== {{anchor|RefHeading2109957709649}} Also make below entry in named.conf == | ||
<div style="color:#00000a;"></div> | <div style="color:#00000a;"></div> | ||
| Line 468: | Line 469: | ||
[[Image:GSTNSAMBAPDC24]]== {{anchor|RefHeading2111957709649}} Change the owner ship as below and restart named services. == | [[Image:GSTNSAMBAPDC24.png]]== {{anchor|RefHeading2111957709649}} Change the owner ship as below and restart named services. == | ||
<div style="color:#00000a;"><nowiki># chown named.named /var/named/</nowiki></div> | <div style="color:#00000a;"><nowiki># chown named.named /var/named/</nowiki></div> | ||
| Line 516: | Line 517: | ||
[[Image:GSTNSAMBAPDC25]] | [[Image:GSTNSAMBAPDC25.png]] | ||
<div style="color:#00000a;"></div> | <div style="color:#00000a;"></div> | ||
Latest revision as of 08:30, 1 February 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 Controller4
Template:Anchor Setup a Samba Active Directory Domain Controller[edit]
Template:Anchor Configure yum repository for Packages installation.[edit]
Template:Anchor Assign the Ipv4 address and restart the network services.[edit]
Template:Anchor Assign the Ipv6 address and restart the network services. And set hostname.[edit]
== Template:Anchor Edit /etc/hosts file and make below entries. ==
Template:Anchor Restart network service.[edit]
Template:Anchor Reboot server.[edit]
== Template:Anchor Install Dependencies for samba installation. ==
== Template:Anchor Dependencies Installation is completed. ==
= Template:Anchor Samba Installation =
Template:Anchor Download samba file from https://www.samba.org/ and extract it.[edit]
== Template:Anchor Enter in samba-4.4.4 directory and run configure command. ==
Template:Anchor Run make command.[edit]
== Template:Anchor Run make install command. ==
== Template:Anchor Provision a new domain: ==
== Template:Anchor Provisioning completed successfully. ==
Template:Anchor Initialisation[edit]
Template:Anchor Samba doesn't yet have init scripts included[edit]
- 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.[edit]
== Template:Anchor Restart samba ==
Template:Anchor Run "smbclient"[edit]
== 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";
== Template:Anchor Change the owner ship as below and restart named services. ==
== Template:Anchor Copy Kerberos ==












