<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Samba - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=Samba&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Sat, 23 May 2026 01:36:01 GMT</lastBuildDate>
		<item>
			<title>Natex: /* Using testparm */</title>
			<link>https://www.slackwiki.com/index.php?title=Samba&amp;diff=447&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Samba&amp;diff=447&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Using testparm&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:52, 15 January 2011&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-l462&quot;&gt;Line 462:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 462:&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;&amp;lt;pre&amp;gt;$ testparm -v&amp;lt;/pre&amp;gt;&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;&amp;lt;pre&amp;gt;$ testparm -v&amp;lt;/pre&amp;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; 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;=== Using ''smbclient'' &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;=== Using ''smbclient'' ===&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;&amp;lt;blockquote&amp;gt;smbclient — ftp-like client to access SMB/CIFS resources on servers&amp;lt;/blockquote&amp;gt;&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;&amp;lt;blockquote&amp;gt;smbclient — ftp-like client to access SMB/CIFS resources on servers&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&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-l504&quot;&gt;Line 504:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 504:&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;         KLINGKLANG           FILEDEALER&amp;lt;/pre&amp;gt;&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;         KLINGKLANG           FILEDEALER&amp;lt;/pre&amp;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;div&gt;&amp;lt;blockquote&amp;gt;-U Sets the SMB username or username and password.&amp;lt;/blockquote&amp;gt;&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;&amp;lt;blockquote&amp;gt;-U Sets the SMB username or username and password.&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&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;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;== To Do ==&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;== To Do ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Sat, 15 Jan 2011 04:52:39 GMT</pubDate>
			<dc:creator>Natex</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Samba</comments>
		</item>
		<item>
			<title>Natex: /* Optimizing Samba */</title>
			<link>https://www.slackwiki.com/index.php?title=Samba&amp;diff=446&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Samba&amp;diff=446&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Optimizing Samba&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:47, 15 January 2011&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-l439&quot;&gt;Line 439:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 439:&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;See the man pages for smbd and nmbd for details.&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;See the man pages for smbd and nmbd for details.&lt;/div&gt;&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;=== Optimizing Samba ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&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;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;== Testing and Troubleshooting ==&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;== Testing and Troubleshooting ==&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;/table&gt;</description>
			<pubDate>Sat, 15 Jan 2011 04:47:45 GMT</pubDate>
			<dc:creator>Natex</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Samba</comments>
		</item>
		<item>
			<title>Natex: /* Using Samba */</title>
			<link>https://www.slackwiki.com/index.php?title=Samba&amp;diff=445&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Samba&amp;diff=445&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Using Samba&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:43, 15 January 2011&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-l418&quot;&gt;Line 418:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 418:&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;== Using 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;== Using 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;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; 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;In this section we will have a look on how to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;use&lt;/del&gt;, start &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and restart &lt;/del&gt;samba&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;In this section we will have a look on how to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;restart&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stop, and &lt;/ins&gt;start &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;samba &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;server.&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 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;=== Starting and Stopping Samba ===&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;&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;In Slackware, the script /etc/rc.d/rc.samba controls the state of the samba server. Below are the three commands you can use (as root).&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;&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;To restart samba use:&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;&amp;lt;code&gt;/etc/rc.d/rc.samba restart &amp;lt;/code&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;&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;To stop samba use:&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;&amp;lt;code&gt;/etc/rc.d/rc.samba stop &amp;lt;/code&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;&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;To start samba from a stopped state use:&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;&amp;lt;code&gt;/etc/rc.d/rc.samba start &amp;lt;/code&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;&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;The rc.samba script described above is merely a convenient wrapper for the /usr/sbin/smbd and /usr/sbin/nmdb commands. For example, you could also start the samba server by using these two commands together:&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;&amp;lt;pre&gt;#/usr/sbin/smbd -D&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;#/usr/sbin/nmbd -D&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;&amp;lt;/pre&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;&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;See the man pages for smbd and nmbd for details.&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;div&gt;=== Optimizing 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;=== Optimizing 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;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;</description>
			<pubDate>Sat, 15 Jan 2011 04:43:02 GMT</pubDate>
			<dc:creator>Natex</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Samba</comments>
		</item>
		<item>
			<title>Erik: Copy from old</title>
			<link>https://www.slackwiki.com/index.php?title=Samba&amp;diff=173&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Samba&amp;diff=173&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
... this is a W.I.P ... will write more the next days, hope this is ok :)&lt;br /&gt;
&lt;br /&gt;
comments, suggestions, etc. are welcome!&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This Tutorial shows you how to configure Samba 3.0.x on Slackware 12.x.&lt;br /&gt;
&lt;br /&gt;
It should later act as simple and secure as it can be in a heterogen network with Windows systems (a workstation with admin access, guest accounts for the rest [eg. your friends]), a media streaming client (eg. Xbox) and Linux / *nix (Solaris / Mac OS X).&lt;br /&gt;
&lt;br /&gt;
I wanted to have all necessary parameters for home usage in my smb.conf so i can easily change them and have a mostly secure and stable system. Printing is disabled by default in my config, since i have no need to attach my printer to the server (the printer has its own print server: HP P2015). Also i really have no clue how to use a printer with linux. If someone wants to write something on printing then feel free to do so...&lt;br /&gt;
&lt;br /&gt;
== Upgrade / Build Samba ==&lt;br /&gt;
&lt;br /&gt;
If you are here you probably will know what Samba is good for and how it works.&lt;br /&gt;
Normally Samba is installed on your system and ready for action and doesn't need to be upgraded.&lt;br /&gt;
&lt;br /&gt;
=== Upgrade Samba ===&lt;br /&gt;
&lt;br /&gt;
All upgrades to Samba should be done via the patches directory on your favorite mirror. You should NOT NOT NOT mix -current packages with a non &amp;quot;-current&amp;quot; Slackware. &lt;br /&gt;
&lt;br /&gt;
=== Building Samba ===&lt;br /&gt;
&lt;br /&gt;
Hey! Wanna build Samba? Get the source, get the slackbuild, make a package and install it!&lt;br /&gt;
&lt;br /&gt;
I used the latest build from the 3.0.x fork since this comes with Slackware 12.x.&lt;br /&gt;
&lt;br /&gt;
You can also try building Samba 3.2.x. If you want a optimized build with a better performance that suits your system, you should consider installing GCC &amp;gt;4.2.4 since it supports better optimizing functions (''-march=native'' - specifying ''-march=native'' implies ''-mtune=native''. This will enable all instruction subsets supported by the local machine (hence the result might not run on different machines).) and use Samba 3.2.x cause it has a better overall performance. Only do this if you know what you are doing!&lt;br /&gt;
&lt;br /&gt;
* Get the source + SlackBuild, edit it and build the package...&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mkdir /tmp/samba&lt;br /&gt;
$ cd /tmp/samba&lt;br /&gt;
$ wget http://us3.samba.org/samba/ftp/stable/samba-3.0.31.tar.gz&lt;br /&gt;
  ...&lt;br /&gt;
$ wget -r -nH ftp://slackware.osuosl.org/pub/slackware/slackware-current/source/n/samba&lt;br /&gt;
$ jed samba.SlackBuild&lt;br /&gt;
  &amp;gt;  VERSION=3.0.30&lt;br /&gt;
  &amp;gt;&amp;gt; VERSION=3.0.31&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;  tar xjvf $CWD/samba-$VERSION.tar.bz2&lt;br /&gt;
  &amp;gt;&amp;gt; tar xfvz $CWD/samba-$VERSION.tar.gz&lt;br /&gt;
$ chmod +x samba.SlackBuild&lt;br /&gt;
$ ./samba.SlackBuild&lt;br /&gt;
$ upgradepkg /tmp/samba-3.0.31-i486-1.tgz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure Samba ==&lt;br /&gt;
&lt;br /&gt;
There are a few requirments i had for this config.&lt;br /&gt;
* Guest access from Windows without the need for a password&lt;br /&gt;
* Guests are only allowed to read and have no ''home directory'' (eg. /home/guest)&lt;br /&gt;
* Guests are only allowed to put new files in a given directory&lt;br /&gt;
* Make everything secure as it can get with this config&lt;br /&gt;
* Users on the system have access to their ''home directory''&lt;br /&gt;
* No Printing at all&lt;br /&gt;
* Disable NetBios, we only have Windows XP or higher / *nix&lt;br /&gt;
* Maybe more?&lt;br /&gt;
&lt;br /&gt;
=== /etc/samba/smb.conf ===&lt;br /&gt;
This is my own ''smb.conf'' as i use it on my system.&lt;br /&gt;
&lt;br /&gt;
The config file itself should be selfexplaining. &lt;br /&gt;
&lt;br /&gt;
==== '''smb.conf /w comments''' ====&lt;br /&gt;
&amp;lt;pre&amp;gt;#smb.conf - v1.1&lt;br /&gt;
#&lt;br /&gt;
# Samba-3.0.30 - Slackware 12.x&lt;br /&gt;
# e.v.o ( e.v.o [A-T] gmx.net )&lt;br /&gt;
#&lt;br /&gt;
# ; COMMENT&lt;br /&gt;
# #PARAMETER ( name = default value )&lt;br /&gt;
# Normally every parameter should have its default value.&lt;br /&gt;
# If the parameter is commented out then it is the default value,&lt;br /&gt;
# otherwise you should have a look at &amp;quot;man smb.conf&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# This config is based on the smb.conf manual page&lt;br /&gt;
# and &amp;quot;Using Samba, 3rd Edition&amp;quot; from O'Reilly&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# VARIABLE SUBSTITUTIONS&lt;br /&gt;
; %U	session username&lt;br /&gt;
; %G	primary group name of %U&lt;br /&gt;
; %h	the Internet hostname that Samba is running on&lt;br /&gt;
; %m	the NetBIOS name of the client machine (very useful)&lt;br /&gt;
; %L	the NetBIOS name of the server&lt;br /&gt;
; %M	the Internet name of the client machine&lt;br /&gt;
; %R	the selected protocol level after protocol negotiation&lt;br /&gt;
; %d	the process id of the current server process&lt;br /&gt;
; %a	the architecture of the remote machine&lt;br /&gt;
; %I	the IP address of the client machine&lt;br /&gt;
; %i	the local IP address to which a client connected&lt;br /&gt;
; %T	the current date and time&lt;br /&gt;
; %D	name of the domain or workgroup of the current user&lt;br /&gt;
; %w	the winbind separator&lt;br /&gt;
; %v	Samba version number&lt;br /&gt;
;&lt;br /&gt;
; The following substitutes apply only to some configuration options&lt;br /&gt;
; Only those that are used when a connection has been established&lt;br /&gt;
;&lt;br /&gt;
; %S	the name of the current service, if any&lt;br /&gt;
; %P	the root directory of the current service, if any&lt;br /&gt;
; %u	username of the current service, if any&lt;br /&gt;
; %g	primary group name of %u&lt;br /&gt;
; %H	the home directory of the user given by %u&lt;br /&gt;
; %N	the name of your NIS home directory server&lt;br /&gt;
; %p	the path of the service's home directory&lt;br /&gt;
&lt;br /&gt;
[global]&lt;br /&gt;
; Parameters in this section apply to the server as a whole&lt;br /&gt;
&lt;br /&gt;
; ###  USERSHARES  ### # Capability for non-root users to &lt;br /&gt;
; ==================== # add/modify/delete own share definitions &lt;br /&gt;
;&lt;br /&gt;
; Controls if usershares can permit guest access&lt;br /&gt;
#usershare allow guests      =&lt;br /&gt;
; Maximum number of user defined shares allowed&lt;br /&gt;
#usershare max shares        =&lt;br /&gt;
; If set only directories owned by the sharing user can be shared&lt;br /&gt;
#usershare owner only        =&lt;br /&gt;
; Directory containing the user defined share definitions&lt;br /&gt;
#usershare path              =&lt;br /&gt;
; Comma-separated list restricting what directories can be shared&lt;br /&gt;
#usershare prefix allow list =&lt;br /&gt;
; Comma-separated list restricting what directories can be shared&lt;br /&gt;
#usershare prefix deny list  =&lt;br /&gt;
; Pre-existing share used as a template for creating new usershares&lt;br /&gt;
#usershare template share    =&lt;br /&gt;
&lt;br /&gt;
; ###  NAME MANGLING  ### # By default, Samba has the same&lt;br /&gt;
; ======================= # semantics as a Windows NT server&lt;br /&gt;
;&lt;br /&gt;
; Filenames are case sensitive&lt;br /&gt;
#case sensitive      = auto&lt;br /&gt;
; Default case for new filenames&lt;br /&gt;
#default case        = lower&lt;br /&gt;
; New files are created with the case that the client passes&lt;br /&gt;
#preserve case       = yes&lt;br /&gt;
; New files which conform to 8.3 syntax are created upper case&lt;br /&gt;
#short preserve case = yes&lt;br /&gt;
&lt;br /&gt;
; ###  PRINTING  ###&lt;br /&gt;
; ==================&lt;br /&gt;
;&lt;br /&gt;
; All printers in the printcap will be loaded for browsing by default&lt;br /&gt;
load printers           = no&lt;br /&gt;
; Only applicable if printing is set to cups.&lt;br /&gt;
#cups server            = &amp;quot;&amp;quot;&lt;br /&gt;
; Show the &amp;quot;Add Printer Wizard&amp;quot; Dialog&lt;br /&gt;
show add printer wizard = no&lt;br /&gt;
; Yes = open, write to and submit spool files on the specified directory&lt;br /&gt;
printable               = no&lt;br /&gt;
&lt;br /&gt;
; ===============================&lt;br /&gt;
; #   -   S E T T I N G S   -   #&lt;br /&gt;
; ===============================&lt;br /&gt;
&lt;br /&gt;
; \-= USER SCRIPTS =-/    # These scripts are used on a PDC or stand-alone &lt;br /&gt;
; ====================    # machine to add or delete corresponding unix accounts&lt;br /&gt;
&lt;br /&gt;
; Script that will be run when a new group is requested&lt;br /&gt;
#add group script               = /usr/sbin/groupadd %g&lt;br /&gt;
; Script that will be run when a machine is added to Samba's domain&lt;br /&gt;
#add machine script             = /usr/sbin/adduser -s /bin/false -d /dev/null %u -n -g machines -c Machine &lt;br /&gt;
; Script which will add a new service definition to smb.conf&lt;br /&gt;
#add share command              =&lt;br /&gt;
; Script which will add a new user&lt;br /&gt;
#add user script                = /usr/sbin/useradd -m %u&lt;br /&gt;
; Script that will be called when a user is added to a group&lt;br /&gt;
#add user to group script       = /usr/sbin/usermod -G %g %u&lt;br /&gt;
; Script which will modify an existing service definition in smb.conf&lt;br /&gt;
#change share command           =&lt;br /&gt;
; Script when a group is requested to be deleted&lt;br /&gt;
#delete group script            = /usr/sbin/groupdel %g&lt;br /&gt;
; Script when a user is removed from a group using the Windows NT domain administration tools&lt;br /&gt;
#delete user from group script  = /usr/sbin/deluser %u %g&lt;br /&gt;
; Script that will be run when managing users with remote RPC (NT) tools&lt;br /&gt;
#delete user script             = /usr/sbin/userdel -r %u&lt;br /&gt;
; Script that will be run under special circumstances&lt;br /&gt;
#rename user script             = no&lt;br /&gt;
; This script sets the primary group in the unix userdatase when an administrator sets the &lt;br /&gt;
; primary group from the windows user manager or when fetching a SAM with net rpc vampire&lt;br /&gt;
#set primary group script       = /usr/sbin/usermod -g '%g' '%u'&lt;br /&gt;
; Program that can be used to set UNIX user passwords&lt;br /&gt;
#passwd program = /usr/bin/passwd %u&lt;br /&gt;
; Controls the &amp;quot;chat&amp;quot; conversation between smbd and the local password changing program&lt;br /&gt;
#passwd chat = &amp;quot;*New password:*&amp;quot; %n\r &amp;quot;*New password (again):*&amp;quot; %n\r \ &amp;quot;*Password changed*&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; \-= PERMISSION MASKS =-/&lt;br /&gt;
; ========================&lt;br /&gt;
&lt;br /&gt;
#inherit owner                 = no&lt;br /&gt;
#inherit permissions           = no&lt;br /&gt;
&lt;br /&gt;
#directory mask                = 0755&lt;br /&gt;
#directory security mask       = 0777&lt;br /&gt;
#force create mode             = 000&lt;br /&gt;
#force directory mode          = 000&lt;br /&gt;
#force directory security mode = 0&lt;br /&gt;
#force security mode           = 0&lt;br /&gt;
#security mask                 = 0777&lt;br /&gt;
&lt;br /&gt;
; \-= USER PARAMETER =-/&lt;br /&gt;
; ======================&lt;br /&gt;
&lt;br /&gt;
; List of users who will be granted administrative privileges on the share&lt;br /&gt;
admin users     = evo&lt;br /&gt;
; This is a list of users that should be allowed to login to this service&lt;br /&gt;
valid users     = evo guest&lt;br /&gt;
; This is a list of users that should not be allowed to login to this service&lt;br /&gt;
invalid users   = root nobody ftp adm apache bin daemon games gdm haldaemon halt lp mail messagebus mysql news operator pop rpc shutdown smmsp sshd sync uucp&lt;br /&gt;
; This is a list of users that are given read-only access to a service&lt;br /&gt;
read list       = evo guest&lt;br /&gt;
; This is a list of users that are given read-write access to a service&lt;br /&gt;
write list      = evo&lt;br /&gt;
&lt;br /&gt;
; -= Guest Settings =-&lt;br /&gt;
; Username which will be used for access to services which are specified as guest ok&lt;br /&gt;
guest account   = guest&lt;br /&gt;
; Yes for a service, then no password is required to connect to the service&lt;br /&gt;
guest ok        = no&lt;br /&gt;
; Yes for a service, then only guest connections to the service are permitted&lt;br /&gt;
guest only      = no&lt;br /&gt;
&lt;br /&gt;
; -= Forced User/Group Settings =-&lt;br /&gt;
; UNIX user name that will be assigned as the default user for all users&lt;br /&gt;
;force user = guest&lt;br /&gt;
; UNIX group name that will be assigned as the default primary group for all users&lt;br /&gt;
force group = users&lt;br /&gt;
&lt;br /&gt;
; -= Map Settings =-&lt;br /&gt;
; Specify a file containing a mapping of usernames from the clients to the server&lt;br /&gt;
#username map = &lt;br /&gt;
;&lt;br /&gt;
#map acl inherit  = no&lt;br /&gt;
#map archive      = yes&lt;br /&gt;
#map hidden       = &lt;br /&gt;
#map read only    = yes&lt;br /&gt;
#map system       = no&lt;br /&gt;
map to guest     = Bad User&lt;br /&gt;
&lt;br /&gt;
; \-= SHARE PARAMETER =-/&lt;br /&gt;
; =======================&lt;br /&gt;
&lt;br /&gt;
; Lets you &amp;quot;turn off&amp;quot; a service. If available = no, then ALL attempts to connect to the service will fail&lt;br /&gt;
available       = yes&lt;br /&gt;
; Controls whether this share is seen in the list of available shares in a net view and in the browse list&lt;br /&gt;
browseable      = yes&lt;br /&gt;
; Allow or disallow client access to accounts that have null passwords &lt;br /&gt;
#null password  = no&lt;br /&gt;
; If this parameter is yes, then users of a service may not create or modify files in the service's directory&lt;br /&gt;
read only       = yes&lt;br /&gt;
; Setting this parameter to no prevents any file or directory that is a symbolic link from being followed&lt;br /&gt;
follow symlinks = no&lt;br /&gt;
; This parameter controls whether or not links in the UNIX file system may be followed by the server&lt;br /&gt;
wide links      = no&lt;br /&gt;
&lt;br /&gt;
; This parameter specifies the name of a service which will be connected to if the service actually requested cannot be found&lt;br /&gt;
#default service = &lt;br /&gt;
; This parameter allows you to specify a comma-delimited list of directories that the server should always show as empty&lt;br /&gt;
dont descend     = /bin,/boot,/dev,/etc,/lib,/opt,/proc,/sbin,/srv,/sys,/tmp,/usr,/var&lt;br /&gt;
&lt;br /&gt;
; -= Hide Files =-&lt;br /&gt;
; This is a boolean parameter that controls whether files starting with a dot appear as hidden files&lt;br /&gt;
#hide dot files         = yes&lt;br /&gt;
; This is a list of files or directories that are not visible but are accessible&lt;br /&gt;
#hide files             = &lt;br /&gt;
; This parameter prevents clients from seeing special files such as sockets, devices and fifo's in directory listings&lt;br /&gt;
#hide special files     = no&lt;br /&gt;
; This parameter prevents clients from seeing the existance of files that cannot be read&lt;br /&gt;
#hide unreadable        = no&lt;br /&gt;
; This parameter prevents clients from seeing the existance of files that cannot be written to&lt;br /&gt;
#hide unwriteable files = no&lt;br /&gt;
&lt;br /&gt;
; \-= WINDOWS PARAMETER =-/&lt;br /&gt;
; =========================&lt;br /&gt;
&lt;br /&gt;
; Specifies the charset that samba will use to print messages to stdout and stderr&lt;br /&gt;
#display charset = &amp;quot;LOCALE&amp;quot; or &amp;quot;ASCII&amp;quot; (depending on the system)&lt;br /&gt;
; This option specifies which charset Samba should talk to DOS clients&lt;br /&gt;
#dos charset = # No default&lt;br /&gt;
; Enabling this parameter allows a user who has write access to the file (by whatever means) to modify the permissions&lt;br /&gt;
#dos filemode = no&lt;br /&gt;
&lt;br /&gt;
; \-= NETWORK/CONNECTION PARAMETER =-/&lt;br /&gt;
; ====================================&lt;br /&gt;
&lt;br /&gt;
; This controls what workgroup your server will appear to be in when queried by clients&lt;br /&gt;
workgroup = KlingKlang&lt;br /&gt;
; This controls what string will show up in the printer comment box in print manager and next to the IPC connection in net view&lt;br /&gt;
server string = FileDealer&lt;br /&gt;
; This sets the NetBIOS name by which a Samba server is known&lt;br /&gt;
netbios name = FileDealer&lt;br /&gt;
#netbios aliases = &lt;br /&gt;
&lt;br /&gt;
; -= Interface Settings =-&lt;br /&gt;
; This parameter is a comma, space, or tab delimited set of hosts which are permitted to access a service&lt;br /&gt;
hosts allow = 127.0.0.1 192.168.&lt;br /&gt;
hosts deny  = ALL&lt;br /&gt;
&lt;br /&gt;
; -= Connection Options =-&lt;br /&gt;
; Represents the number of minutes of inactivity before a connection is considered dead and disconnected&lt;br /&gt;
#deadtime        = 0 &lt;br /&gt;
; The value of the parameter (an integer) represents the number of seconds between keepalive packets&lt;br /&gt;
#keepalive       = 300&lt;br /&gt;
; This option allows the number of simultaneous connections to a service&lt;br /&gt;
#max connections = 0&lt;br /&gt;
; This option allows you to set socket options to be used when talking with the client&lt;br /&gt;
socket options   = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536&lt;br /&gt;
&lt;br /&gt;
; \-= OTHER PARAMETER =-/&lt;br /&gt;
; =======================&lt;br /&gt;
&lt;br /&gt;
security = user&lt;br /&gt;
&lt;br /&gt;
; Enabling this parameter will disable netbios support in Samba&lt;br /&gt;
disable netbios = yes&lt;br /&gt;
; Do a lookup with the DNS server&lt;br /&gt;
dns proxy = no&lt;br /&gt;
&lt;br /&gt;
; -= SMBpasswd Settings =-&lt;br /&gt;
; This option allows the administrator to chose which backend will be used for storing user and possibly group information&lt;br /&gt;
#passdb backend = smbpasswd:/etc/samba/private/smbpasswd&lt;br /&gt;
; This option sets the path to the encrypted smbpasswd file&lt;br /&gt;
#smb passwd file = /etc/samba/private/smbpasswd&lt;br /&gt;
&lt;br /&gt;
; -= Directory Settings =-&lt;br /&gt;
; This option specifies the directory where lock files will be placed&lt;br /&gt;
#lock directory = /var/lock&lt;br /&gt;
; This parameters defines the directory smbd will use for storing such files as smbpasswd and secrets.tdb&lt;br /&gt;
#private dir = /etc/samba/private&lt;br /&gt;
&lt;br /&gt;
; -= Logging Settings =-&lt;br /&gt;
; This option allows you to override the name of the Samba log file&lt;br /&gt;
log file = /var/log/samba/samba.%m&lt;br /&gt;
; This option (an integer in kilobytes) specifies the max size the log file should grow to&lt;br /&gt;
max log size = 5000&lt;br /&gt;
; Parameter maps how Samba debug messages are logged onto the system&lt;br /&gt;
#syslog = 1&lt;br /&gt;
; Parameter is set then Samba debug messages are logged into the system syslog only&lt;br /&gt;
#syslog only = no&lt;br /&gt;
&lt;br /&gt;
; Using the following line enables you to customise your configuration on a per machine&lt;br /&gt;
; basis. The %m gets replaced with the netbios name of the machine that is connecting.&lt;br /&gt;
; Note: Consider carefully the location in the configuration file of&lt;br /&gt;
;       this line.  The included file is read at that point.&lt;br /&gt;
#include = /etc/samba/smb.conf.%m&lt;br /&gt;
&lt;br /&gt;
; ===========================&lt;br /&gt;
; #   -   S H A R E S   -   #&lt;br /&gt;
; ===========================&lt;br /&gt;
&lt;br /&gt;
[homes]&lt;br /&gt;
comment    = Eigene Dateien&lt;br /&gt;
&lt;br /&gt;
guest ok   = yes&lt;br /&gt;
read only  = no&lt;br /&gt;
browseable = no&lt;br /&gt;
&lt;br /&gt;
[printers]&lt;br /&gt;
comment    = Drucker&lt;br /&gt;
path       = /var/spool/samba&lt;br /&gt;
&lt;br /&gt;
browseable = no&lt;br /&gt;
available  = no&lt;br /&gt;
guest ok   = no&lt;br /&gt;
printable  = yes&lt;br /&gt;
&lt;br /&gt;
[BitHalde]&lt;br /&gt;
comment   = 3TB&lt;br /&gt;
path      = /mnt/raid&lt;br /&gt;
&lt;br /&gt;
guest ok  = yes&lt;br /&gt;
read only = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== smb.conf w/o comments ====&lt;br /&gt;
&amp;lt;pre&amp;gt;[global]&lt;br /&gt;
        workgroup = KLINGKLANG&lt;br /&gt;
        server string = FileDealer&lt;br /&gt;
        map to guest = Bad User&lt;br /&gt;
        guest account = guest&lt;br /&gt;
        log file = /var/log/samba/samba.%m&lt;br /&gt;
        disable netbios = Yes&lt;br /&gt;
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536&lt;br /&gt;
        load printers = No&lt;br /&gt;
        show add printer wizard = No&lt;br /&gt;
        dns proxy = No&lt;br /&gt;
        invalid users = root, nobody, ftp, adm, apache, bin, daemon, games, gdm, haldaemon, halt, lp, mail, messagebus, mysql, news, operator, pop, rpc, shutdown, smmsp, sshd, sync, uucp&lt;br /&gt;
        valid users = evo, guest&lt;br /&gt;
        admin users = evo&lt;br /&gt;
        read list = evo, guest&lt;br /&gt;
        write list = evo&lt;br /&gt;
        force group = users&lt;br /&gt;
        hosts allow = 127.0.0.1, 192.168.&lt;br /&gt;
        hosts deny = ALL&lt;br /&gt;
        wide links = No&lt;br /&gt;
        follow symlinks = No&lt;br /&gt;
        dont descend = /bin,/boot,/dev,/etc,/lib,/opt,/proc,/sbin,/srv,/sys,/tmp,/usr,/var&lt;br /&gt;
&lt;br /&gt;
[homes]&lt;br /&gt;
        comment = Eigene Dateien&lt;br /&gt;
        read only = No&lt;br /&gt;
        guest ok = Yes&lt;br /&gt;
        browseable = No&lt;br /&gt;
&lt;br /&gt;
[printers]&lt;br /&gt;
        comment = Drucker&lt;br /&gt;
        path = /var/spool/samba&lt;br /&gt;
        printable = Yes&lt;br /&gt;
        browseable = No&lt;br /&gt;
        available = No&lt;br /&gt;
&lt;br /&gt;
[BitHalde]&lt;br /&gt;
        comment = 3TB&lt;br /&gt;
        path = /mnt/raid&lt;br /&gt;
        guest ok = Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using Samba ==&lt;br /&gt;
&lt;br /&gt;
In this section we will have a look on how to use, start and restart samba&lt;br /&gt;
&lt;br /&gt;
=== Optimizing Samba ===&lt;br /&gt;
&lt;br /&gt;
== Testing and Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
In this section we will have a look on how we test our configuration and what to do if we ran into problems.&lt;br /&gt;
&lt;br /&gt;
=== Using ''testparm'' ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;testparm — check an smb.conf configuration file for internal correctness&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*: If your done with the setup of your ''smb.conf'' you should run ''testparm''. Do this by simply typing it ;)&lt;br /&gt;
&amp;lt;pre&amp;gt;$ testparm&lt;br /&gt;
Load smb config files from /etc/samba/smb.conf&lt;br /&gt;
Processing section &amp;quot;[homes]&amp;quot;&lt;br /&gt;
Processing section &amp;quot;[printers]&amp;quot;&lt;br /&gt;
NOTE: Service printers is flagged unavailable.&lt;br /&gt;
Processing section &amp;quot;[BitHalde]&amp;quot;&lt;br /&gt;
Loaded services file OK.&lt;br /&gt;
Server role: ROLE_STANDALONE&lt;br /&gt;
Press enter to see a dump of your service definitions&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: Normally this is what the output should look like. By pressing enter you will get a list of all used parameters in smb.conf.&lt;br /&gt;
&lt;br /&gt;
*: If you wish to have a complete list of all options and how they are set:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ testparm -v&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using ''smbclient'' ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;smbclient — ftp-like client to access SMB/CIFS resources on servers&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Connecting as a guest and list all shares&lt;br /&gt;
&amp;lt;pre&amp;gt;$ smbclient -L localhost -N&lt;br /&gt;
Domain=[FILEDEALER] OS=[Unix] Server=[Samba 3.0.30]&lt;br /&gt;
&lt;br /&gt;
        Sharename       Type      Comment&lt;br /&gt;
        ---------       ----      -------&lt;br /&gt;
        BitHalde        Disk      3TB&lt;br /&gt;
        IPC$            IPC       IPC Service (FileDealer)&lt;br /&gt;
Domain=[FILEDEALER] OS=[Unix] Server=[Samba 3.0.30]&lt;br /&gt;
&lt;br /&gt;
        Server               Comment&lt;br /&gt;
        ---------            -------&lt;br /&gt;
&lt;br /&gt;
        Workgroup            Master&lt;br /&gt;
        ---------            -------&lt;br /&gt;
        KLINGKLANG           FILEDEALER&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;-L ''host'' This option allows you to look at what services are available on a server.&amp;lt;br/&amp;gt;&lt;br /&gt;
-N Suppresses the normal password prompt. Useful when accessing a service that does not require a password.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Connecting with a specified username and list all shares&lt;br /&gt;
&amp;lt;pre&amp;gt;$ smbclient -L localhost -U evo&lt;br /&gt;
Password:&lt;br /&gt;
Domain=[FILEDEALER] OS=[Unix] Server=[Samba 3.0.30]&lt;br /&gt;
&lt;br /&gt;
        Sharename       Type      Comment&lt;br /&gt;
        ---------       ----      -------&lt;br /&gt;
        BitHalde        Disk      3TB&lt;br /&gt;
        IPC$            IPC       IPC Service (FileDealer)&lt;br /&gt;
        evo             Disk      Eigene Dateien&lt;br /&gt;
Domain=[FILEDEALER] OS=[Unix] Server=[Samba 3.0.30]&lt;br /&gt;
&lt;br /&gt;
        Server               Comment&lt;br /&gt;
        ---------            -------&lt;br /&gt;
&lt;br /&gt;
        Workgroup            Master&lt;br /&gt;
        ---------            -------&lt;br /&gt;
        KLINGKLANG           FILEDEALER&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;-U Sets the SMB username or username and password.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== To Do ==&lt;br /&gt;
* alle user eintragen (cat /etc/passwd | cut -d':' -f1 | sort)&lt;br /&gt;
* user scripte vervollständigen&lt;br /&gt;
* masken richten + upload beim gast/evo gehört root? warum das?&lt;br /&gt;
* was ist mit umlauten?&lt;br /&gt;
* --&amp;gt; wie starten? rc.samba&lt;br /&gt;
* Testmethoden aus dem samba buch einfügen&lt;/div&gt;</description>
			<pubDate>Sat, 06 Jun 2009 23:17:56 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Samba</comments>
		</item>
</channel></rss>