<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Migration-MS-AD-to-SAMBA4</id>
	<title>Migration-MS-AD-to-SAMBA4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Migration-MS-AD-to-SAMBA4"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;action=history"/>
	<updated>2026-07-25T08:29:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1699&amp;oldid=prev</id>
		<title>Amit at 07:35, 31 July 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1699&amp;oldid=prev"/>
		<updated>2014-07-31T07:35:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:35, 31 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Capital Bank]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category:&lt;/ins&gt;Capital Bank]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1698&amp;oldid=prev</id>
		<title>Amit at 07:35, 31 July 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1698&amp;oldid=prev"/>
		<updated>2014-07-31T07:35:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:35, 31 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/del&gt;Capital Bank]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Capital Bank]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1697&amp;oldid=prev</id>
		<title>Amit at 07:32, 31 July 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1697&amp;oldid=prev"/>
		<updated>2014-07-31T07:32:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:32, 31 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Capital Bank]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[:&lt;/ins&gt;Capital Bank&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1696&amp;oldid=prev</id>
		<title>Amit at 07:32, 31 July 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1696&amp;oldid=prev"/>
		<updated>2014-07-31T07:32:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:32, 31 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[Capital Bank&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Capital Bank]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1695&amp;oldid=prev</id>
		<title>Amit: Created page with &quot;Capital Bank   == &#039;&#039;&#039;[Migration From Microsoft AD R2 from MS server 2003 to Samba 4.1.9 on RHEL 6.4 64bit ]&#039;&#039;&#039; ==   == &#039;&#039;&#039;Capital Local Area Bank&#039;&#039;&#039; ==     &#039;&#039;&#039;Project Migr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Migration-MS-AD-to-SAMBA4&amp;diff=1695&amp;oldid=prev"/>
		<updated>2014-07-31T07:31:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Capital_Bank&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Capital Bank (page does not exist)&quot;&gt;Capital Bank&lt;/a&gt;   == &amp;#039;&amp;#039;&amp;#039;[Migration From Microsoft AD R2 from MS server 2003 to Samba 4.1.9 on RHEL 6.4 64bit ]&amp;#039;&amp;#039;&amp;#039; ==   == &amp;#039;&amp;#039;&amp;#039;Capital Local Area Bank&amp;#039;&amp;#039;&amp;#039; ==     &amp;#039;&amp;#039;&amp;#039;Project Migr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Capital Bank]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;[Migration From Microsoft AD R2 from MS server 2003 to Samba 4.1.9 on RHEL 6.4 64bit ]&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Capital Local Area Bank&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Project Migration from Microsoft Windows 2003 Ad to Linux Samba 4 &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Installation Of Samba 4 on linux Machine&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 1. Download tar package from samba site, we have downloaded samba 4.1.9&lt;br /&gt;
 &lt;br /&gt;
 2. for the Installation full fill the basic requirement  of required library files.&lt;br /&gt;
&lt;br /&gt;
 3. Cd /download/samba4.1; ./configure --enable-debug –enable-selftest ; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
 4. Before creating a domain of before joining the domain make the environment ready .&lt;br /&gt;
&lt;br /&gt;
 hostname : entry in /etc/sysconfig/network &lt;br /&gt;
&lt;br /&gt;
 define host : entry in /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 network IP : setup : ip address and nameserver is important&lt;br /&gt;
&lt;br /&gt;
 disable selinux : entry in /etc/sysconfig/selinux : requires restart of the machine : init 6&lt;br /&gt;
&lt;br /&gt;
 disable iptables : /etc/init.d/iptables stop; chkconfig iptables off&lt;br /&gt;
&lt;br /&gt;
 5. Here comes the turning point, decide whether to make a testing enviroment with independent full funtionality or need to join in already running PDC&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;To make independent environment :&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 Provision the New domain with the below command &lt;br /&gt;
 # samba-tool domain provision –use-rfc2307 –interactive –use-ntvfs&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;To Join in already running PDC as an ADC:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 Remove the smb.conf or just rename the file &lt;br /&gt;
 &lt;br /&gt;
 # mv -vf /usr/local/samba/etc/smb.conf mv -vf /usr/local/samba/etc/smb.conf.org&lt;br /&gt;
&lt;br /&gt;
 # samba-tool domain join domainname.rootdn DC -Uadministrator --realm=domainname.rootdn –use-ntvfs&lt;br /&gt;
&lt;br /&gt;
 # domainname.rootdn : capitalbank.co.in&lt;br /&gt;
 &lt;br /&gt;
 # realm : preferred to be as same as domain name but we can modify it if required.&lt;br /&gt;
 The above will join the two computers with there computer name and give the output Joined domain DOMAINNAME (SID S-1-5-21-53190096-2129939875-608521123) as a DC&lt;br /&gt;
&lt;br /&gt;
 The new domain is joined with SID.&lt;br /&gt;
 To check hit the below command&lt;br /&gt;
&lt;br /&gt;
 # ldbsearch -H /usr/local/samba/private/sam.ldb &amp;#039;(invocationid=*)&amp;#039; --cross-ncs objectguid&lt;br /&gt;
&lt;br /&gt;
 This will provide the two SID one of the joined one and one of the already existing one now check whether both of them is resolvable or not by running below command.&lt;br /&gt;
&lt;br /&gt;
 # host -t CNAME SID._msdcs.domain.rootdn&lt;br /&gt;
 # host -t CNAME  S-1-5-21-53190096-2129939875-608521123._msdcs.capitalbank.co.in&lt;br /&gt;
&lt;br /&gt;
 Copy the krb5.conf from samba to /etc/&lt;br /&gt;
 # cp -vf /usr/local/samba/private/krb5.conf /etc/&lt;br /&gt;
&lt;br /&gt;
 Now start the samba, to do so hit the already implemented init script as below.&lt;br /&gt;
 # /etc/init.d/samba start&lt;br /&gt;
&lt;br /&gt;
 Now check the samba process to confirm that its running properly&lt;br /&gt;
 # ps -elf | grep samba | grep -v grep &lt;br /&gt;
 The above process count should be 14 &lt;br /&gt;
 # ps -elf | grep samba | grep -v grep | wc -l&lt;br /&gt;
&lt;br /&gt;
 check whether administrator is able to login or not with the cli This check to authenticate via kerbrose &lt;br /&gt;
 # kinit administrator@DOMAIN.ROOTDN&lt;br /&gt;
 # kinit administrator@CAPITAL.COM&lt;br /&gt;
&lt;br /&gt;
 Check things got Replicated or not by the below command&lt;br /&gt;
 # samba-tool drs showrepl&lt;br /&gt;
&lt;br /&gt;
 Now Test the DNS its working properly or not&lt;br /&gt;
 # host -t SRV _ldap._tcp.capitalbank.co.in.&lt;br /&gt;
&lt;br /&gt;
 # host -t SRV _kerberos._udp.capitalbank.co.in.&lt;br /&gt;
&lt;br /&gt;
 # host -t A pdc.capitalbank.co.in.&lt;br /&gt;
&lt;br /&gt;
 Now Check GPO’s got replicated or not by hitting below command :&lt;br /&gt;
 # samba-tool gpo listall &lt;br /&gt;
 This will show’s the all policies&lt;br /&gt;
&lt;br /&gt;
 Now First Check roles by hitting below command&lt;br /&gt;
 # samba-tool fsmo show&lt;br /&gt;
&lt;br /&gt;
 To transfer the role hit the below command&lt;br /&gt;
 # samba-tool fsmo transfer –role=all&lt;br /&gt;
&lt;br /&gt;
 Now confirm the transferred role by below command&lt;br /&gt;
 # samba-tool fsmo show&lt;br /&gt;
&lt;br /&gt;
 Note : If we seize the role the server will take over as a PDC forcefully to do so hit below&lt;br /&gt;
 # samba-tool fsmo seize –roll=all ( suggested not to do if again want to use windows as a PDC)&lt;br /&gt;
&lt;br /&gt;
 Now Copy the sysvol from already running PDC to new AD just to take over apart from seize the role by this process PDC is reversible.&lt;br /&gt;
&lt;br /&gt;
 Now we can edit the policies on samba to do so do the below :&lt;br /&gt;
 Login as an administrator on windows PC with the domain.&lt;br /&gt;
&lt;br /&gt;
 Now Install the RSAT update according to the machine 64 bit or 32 bit, packages were avaiable on share directory just have to re enable them and restart the samba&lt;br /&gt;
 After installation of the update go to controle panel --&amp;gt; program and features --&amp;gt; turn windows feature on &amp;amp; off --&amp;gt; &lt;br /&gt;
 You will get the Screen having section Remote Server Administration Tool now enable the all the packages which required and want to use.&lt;br /&gt;
 Now Press Windows --&amp;gt; all programs --&amp;gt; administrative tool and here you have all the required things to manage like DNS, GPO, USERS, GROUP and all the feature as vailable on MS AD&lt;br /&gt;
&lt;br /&gt;
 1. Now One more requirement was there to &amp;#039;&amp;#039;&amp;#039;Implement DHCP Server&amp;#039;&amp;#039;&amp;#039; with below Requirement&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Users must get Dynamic IP&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Dynamic Ip to be provided only when MAC address is allowed&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Different Mac Group with different gateways.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 The above will done by below configuration in dhcpd.conf&lt;br /&gt;
 # vim /etc/dhcp/dhcpd.conf&lt;br /&gt;
 subnet 10.0.0.0 netmask 255.255.255.0 {&lt;br /&gt;
		option routers			10.0.0.69;	# default router for all&lt;br /&gt;
		option subnet-mask		255.255.255.0;&lt;br /&gt;
		option domain-name	“capital.com”;&lt;br /&gt;
		option domain-name-servers	10.0.0.26; # IP of doimain name server&lt;br /&gt;
		option ntp-servers		10.0.028; 	#Already Running NTP server&lt;br /&gt;
		range					10.0.0.50	10.0.0.254; # IP range to be used }&lt;br /&gt;
 deny unknown-clients;&lt;br /&gt;
 group	{&lt;br /&gt;
			host cap1 {	hardware ethernet		00:18:F3:1D:53:E9; } # Windows 7 Machine Test&lt;br /&gt;
			host cap2 { hardware ethernet		00:18:F3:1F:53:W9; } # Description ANY&lt;br /&gt;
			option routers		10.0.0.61; # Specific gateways for the above MAC address }&lt;br /&gt;
 group 	{&lt;br /&gt;
			host capd1 { hardware ethernet		F8:0F:41:A6:62:A0; } # joined Machine 1 test&lt;br /&gt;
			host capd2 { hardware ethernet		F8:0F:4E:A6:6G:A0; } # joined Machine 2 test }&lt;br /&gt;
&lt;br /&gt;
 :wq # to save and exit&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; : Be careful before doing any change on the above file as this is very imortant file befor editing always take a backup then edit save and restart the server and check if no issues then remove the backup , if having any issue you have done something wrong revert back with backup file and check to understand what you have done wrong is still having Issue let us know will take the remote session and help you out.&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; : Data will Migrate once all The Users Login to the new server it will automatically create the folders of the respective users then will Migrate the data to the respective user directory.&lt;/div&gt;</summary>
		<author><name>Amit</name></author>
	</entry>
</feed>