<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Create an Active Directory Infrastructure with Samba4 on Ubuntu &#8211; Part 1	</title>
	<atom:link href="https://www.tecmint.com/install-samba4-active-directory-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 05 Oct 2023 04:35:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-2086618</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 05 Oct 2023 04:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23461#comment-2086618</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-2086175&quot;&gt;Nikola Tepavac&lt;/a&gt;.

@Nikola,

&lt;strong&gt;Backing Up the Samba DC&lt;/strong&gt;:

Here is a step-by-step process for backing up an existing Samba Domain Controller (DC) and restoring that backup to a new server installation:

&lt;strong&gt;1.&lt;/strong&gt; To prevent data corruption during the backup, stop Samba services on the existing DC.
&lt;pre&gt;
$ sudo systemctl stop samba
&lt;/pre&gt;
&lt;strong&gt;2.&lt;/strong&gt; Copy the Samba configuration file and any other relevant configuration files to your backup location.
&lt;pre&gt;
$ cp /etc/samba/smb.conf /etc/samba/smb.conf_org
&lt;/pre&gt;
&lt;strong&gt;3.&lt;/strong&gt; Next, use the &lt;strong&gt;samba-tool&lt;/strong&gt; utility to back up the &lt;strong&gt;Samba Active Directory&lt;/strong&gt; database:
&lt;pre&gt;
$ sudo samba-tool domain backup offline --targetdir=/path/to/backup/directory
&lt;/pre&gt;
&lt;strong&gt;4.&lt;/strong&gt; If you have specific files and shares you want to back up, make copies of those files and directories to your backup location.

&lt;strong&gt;Restoring the Backup to a New Server&lt;/strong&gt;:

&lt;strong&gt;1.&lt;/strong&gt; Install Samba on the new server. 

&lt;strong&gt;2.&lt;/strong&gt; Copy the Samba configuration file (&lt;strong&gt;smb.conf&lt;/strong&gt;) from your backup to the new server&#039;s &lt;strong&gt;/etc/samba/&lt;/strong&gt; directory.

&lt;strong&gt;3.&lt;/strong&gt; Use the &lt;strong&gt;samba-tool&lt;/strong&gt; utility to restore the Samba database on the new server:
&lt;pre&gt;
$ sudo samba-tool domain restore --backup=/path/to/backup/directory
&lt;/pre&gt;
&lt;strong&gt;4.&lt;/strong&gt; Start the Samba services on the new server:
&lt;pre&gt;
$ sudo systemctl start samba
&lt;/pre&gt;
By following these steps, you should be able to successfully back up your existing Samba DC and restore it to a new server installation while preserving your Active Directory domain and file shares. Remember to adapt these instructions based on your specific environment and requirements.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-2086175">Nikola Tepavac</a>.</p>
<p>@Nikola,</p>
<p><strong>Backing Up the Samba DC</strong>:</p>
<p>Here is a step-by-step process for backing up an existing Samba Domain Controller (DC) and restoring that backup to a new server installation:</p>
<p><strong>1.</strong> To prevent data corruption during the backup, stop Samba services on the existing DC.</p>
<pre>
$ sudo systemctl stop samba
</pre>
<p><strong>2.</strong> Copy the Samba configuration file and any other relevant configuration files to your backup location.</p>
<pre>
$ cp /etc/samba/smb.conf /etc/samba/smb.conf_org
</pre>
<p><strong>3.</strong> Next, use the <strong>samba-tool</strong> utility to back up the <strong>Samba Active Directory</strong> database:</p>
<pre>
$ sudo samba-tool domain backup offline --targetdir=/path/to/backup/directory
</pre>
<p><strong>4.</strong> If you have specific files and shares you want to back up, make copies of those files and directories to your backup location.</p>
<p><strong>Restoring the Backup to a New Server</strong>:</p>
<p><strong>1.</strong> Install Samba on the new server. </p>
<p><strong>2.</strong> Copy the Samba configuration file (<strong>smb.conf</strong>) from your backup to the new server&#8217;s <strong>/etc/samba/</strong> directory.</p>
<p><strong>3.</strong> Use the <strong>samba-tool</strong> utility to restore the Samba database on the new server:</p>
<pre>
$ sudo samba-tool domain restore --backup=/path/to/backup/directory
</pre>
<p><strong>4.</strong> Start the Samba services on the new server:</p>
<pre>
$ sudo systemctl start samba
</pre>
<p>By following these steps, you should be able to successfully back up your existing Samba DC and restore it to a new server installation while preserving your Active Directory domain and file shares. Remember to adapt these instructions based on your specific environment and requirements.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nikola Tepavac		</title>
		<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-2086175</link>

		<dc:creator><![CDATA[Nikola Tepavac]]></dc:creator>
		<pubDate>Wed, 04 Oct 2023 06:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23461#comment-2086175</guid>

					<description><![CDATA[Hi,

Can you please describe a process of backing up existing &lt;strong&gt;Samba DC&lt;/strong&gt; and restoring that backup to a new server installation?]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Can you please describe a process of backing up existing <strong>Samba DC</strong> and restoring that backup to a new server installation?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: M!rm!r		</title>
		<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-1908227</link>

		<dc:creator><![CDATA[M!rm!r]]></dc:creator>
		<pubDate>Tue, 01 Nov 2022 14:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23461#comment-1908227</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-1451645&quot;&gt;L9WEB INFORMATICA&lt;/a&gt;.

Hi! Did you find anything with LDAP auth?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-1451645">L9WEB INFORMATICA</a>.</p>
<p>Hi! Did you find anything with LDAP auth?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Benin		</title>
		<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-1833981</link>

		<dc:creator><![CDATA[Benin]]></dc:creator>
		<pubDate>Sat, 25 Jun 2022 11:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23461#comment-1833981</guid>

					<description><![CDATA[Hi, can you post an article on how to connect Ubuntu 22.04 LTS Desktop samba server with an existing Windows Server 2016 R2 standard Active Directory Service.?

I have tried and it didn&#039;t work below was a detailed query on askubuntu website.

https://askubuntu.com/questions/1415706/how-to-use-my-existing-windows-server-2016-r2-standard-active-directory-to-authe]]></description>
			<content:encoded><![CDATA[<p>Hi, can you post an article on how to connect Ubuntu 22.04 LTS Desktop samba server with an existing Windows Server 2016 R2 standard Active Directory Service.?</p>
<p>I have tried and it didn&#8217;t work below was a detailed query on askubuntu website.</p>
<p><a target="_blank" href="https://askubuntu.com/questions/1415706/how-to-use-my-existing-windows-server-2016-r2-standard-active-directory-to-authe" rel="nofollow ugc">https://askubuntu.com/questions/1415706/how-to-use-my-existing-windows-server-2016-r2-standard-active-directory-to-authe</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Marian		</title>
		<link>https://www.tecmint.com/install-samba4-active-directory-ubuntu/comment-page-1/#comment-1770718</link>

		<dc:creator><![CDATA[Marian]]></dc:creator>
		<pubDate>Tue, 19 Apr 2022 09:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23461#comment-1770718</guid>

					<description><![CDATA[Thanks this Tutorial is very helpful. 

It would be very helpful to explain how it works with a systemd Networking configuration.

With &lt;strong&gt;krb5.conf&lt;/strong&gt; there are a lot of workorounds to make because Samba got some bugs to handle.]]></description>
			<content:encoded><![CDATA[<p>Thanks this Tutorial is very helpful. </p>
<p>It would be very helpful to explain how it works with a systemd Networking configuration.</p>
<p>With <strong>krb5.conf</strong> there are a lot of workorounds to make because Samba got some bugs to handle.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
