<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FSamba%2FSimple_File_Server</id>
	<title>Linux/Samba/Simple File Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FSamba%2FSimple_File_Server"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Samba/Simple_File_Server&amp;action=history"/>
	<updated>2026-05-03T08:52:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Samba/Simple_File_Server&amp;diff=8646&amp;oldid=prev</id>
		<title>Kenneth: /* Simple File Server */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Samba/Simple_File_Server&amp;diff=8646&amp;oldid=prev"/>
		<updated>2025-04-23T04:48:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Simple File Server&lt;/span&gt;&lt;/span&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 04:48, 23 April 2025&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;div&gt;Install Samba:&lt;/div&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;div&gt;Install Samba:&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;div&gt;  yum install samba samba-client&lt;/div&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;div&gt;  yum install samba samba-client&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; sudo apt install samba samba-client&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;div&gt;Create a share folder:&lt;/div&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;div&gt;Create a share folder:&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;div&gt;  mkdir /files&lt;/div&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;div&gt;  mkdir /files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; mkdir /pub&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;div&gt;Samba configuration files:&lt;/div&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;div&gt;Samba configuration files:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Samba/Simple_File_Server&amp;diff=628&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Simple File Server ==  Install Samba:  yum install samba samba-client  Create a share folder:  mkdir /files  Samba configuration files:  /etc/samba/  Modify samba configura...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Samba/Simple_File_Server&amp;diff=628&amp;oldid=prev"/>
		<updated>2014-08-10T23:58:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Simple File Server ==  Install Samba:  yum install samba samba-client  Create a share folder:  mkdir /files  Samba configuration files:  /etc/samba/  Modify samba configura...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Simple File Server ==&lt;br /&gt;
&lt;br /&gt;
Install Samba:&lt;br /&gt;
 yum install samba samba-client&lt;br /&gt;
&lt;br /&gt;
Create a share folder:&lt;br /&gt;
 mkdir /files&lt;br /&gt;
&lt;br /&gt;
Samba configuration files:&lt;br /&gt;
 /etc/samba/&lt;br /&gt;
&lt;br /&gt;
Modify samba configuration and add our file share:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[global]&lt;br /&gt;
  # Computer name, workgroup and description:&lt;br /&gt;
  workgroup = WORKGROUP&lt;br /&gt;
  netbios name = DATA&lt;br /&gt;
  server string = File Server&lt;br /&gt;
  &lt;br /&gt;
  # Logs&lt;br /&gt;
  # default: &amp;lt;empty&amp;gt;)&lt;br /&gt;
  log file = /var/log/samba/%m.log&lt;br /&gt;
  # (default: 5000)&lt;br /&gt;
  max log size = 50&lt;br /&gt;
  &lt;br /&gt;
  # User map (default: &amp;lt;empty&amp;gt;)&lt;br /&gt;
  username map = /etc/samba/smbusers&lt;br /&gt;
  # Encrypt passwords (default: yes)&lt;br /&gt;
  encrypt passwords = yes&lt;br /&gt;
  # Security scheme (default: user)&lt;br /&gt;
  security = user&lt;br /&gt;
  # Password backend (default: smbpasswd)&lt;br /&gt;
  passdb backend = tdbsam&lt;br /&gt;
  &lt;br /&gt;
  # Browser Control Options:&lt;br /&gt;
  # set local master to no if you don&amp;#039;t want Samba to become a master&lt;br /&gt;
  # browser on your network. Otherwise the normal election rules apply&lt;br /&gt;
  # (default: yes)&lt;br /&gt;
  local master = no&lt;br /&gt;
  # Preferred Master causes Samba to force a local browser&lt;br /&gt;
  # election on startup&lt;br /&gt;
  # and gives it a slightly higher chance of winning the election&lt;br /&gt;
  # (default: auto)&lt;br /&gt;
  preferred master = no&lt;br /&gt;
&lt;br /&gt;
  # Should Samba use the configured DNS server&lt;br /&gt;
  # (default: yes)&lt;br /&gt;
  dns proxy = no&lt;br /&gt;
&lt;br /&gt;
  # advertise this is a time server&lt;br /&gt;
  time server = Yes&lt;br /&gt;
&lt;br /&gt;
  # Disable printers:&lt;br /&gt;
  load printers = no&lt;br /&gt;
  printing = bsd&lt;br /&gt;
  printcap name = /dev/null&lt;br /&gt;
  disable spoolss = yes&lt;br /&gt;
  show add printer wizard = no&lt;br /&gt;
&lt;br /&gt;
[files]&lt;br /&gt;
  comment = File Share&lt;br /&gt;
  path = /data/files&lt;br /&gt;
  writeable = yes&lt;br /&gt;
  browseable = yes&lt;br /&gt;
  valid users = trogdor kenneth&lt;br /&gt;
  create mask = 0660&lt;br /&gt;
  directory mode = 0770&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create linux user:&lt;br /&gt;
 adduser &amp;lt;user&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the root user to the SAMBA password database.&lt;br /&gt;
 smbpasswd -a &amp;lt;samba_user&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Map the Samba user to a local linux user&lt;br /&gt;
 echo &amp;quot;&amp;lt;linux_user&amp;gt; = &amp;lt;samba_user&amp;gt;&amp;quot; &amp;gt;&amp;gt; /etc/samba/smbusers&lt;br /&gt;
 echo &amp;quot;root = Administrator&amp;quot; &amp;gt;&amp;gt; /etc/samba/smbusers&lt;br /&gt;
&lt;br /&gt;
Give user permission to folder:&lt;br /&gt;
 chown &amp;lt;user&amp;gt; /files&lt;br /&gt;
&lt;br /&gt;
Restart Samba:&lt;br /&gt;
 service smb restart&lt;br /&gt;
&lt;br /&gt;
== Guest File Server ==&lt;br /&gt;
&lt;br /&gt;
See [[Guest File Server]]&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>