<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>edafe.org &#187; smb</title>
	<atom:link href="http://edafe.org/tag/smb/feed/" rel="self" type="application/rss+xml" />
	<link>http://edafe.org</link>
	<description>edafe.org is the personal site of Edafe Knabe.</description>
	<lastBuildDate>Sat, 12 May 2012 12:19:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Samba as a file server</title>
		<link>http://edafe.org/2006/11/samba-as-a-file-server/</link>
		<comments>http://edafe.org/2006/11/samba-as-a-file-server/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 20:41:47 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1194</guid>
		<description><![CDATA[Samba enables Linux to speak the Server Message Block (SMB) protocol, which is also used by Windows and Mac OS X to exchange data over a network. Get the necessary packages with the following command: user@ubuntu:~$ sudo apt-get install swat &#8230; <a href="http://edafe.org/2006/11/samba-as-a-file-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Samba <a href="http://www.itweek.co.uk/itweek/news/2085206/samba-beats-windows" target="_blank">enables Linux to speak the Server Message Block (SMB) protocol</a>, which is also used by Windows and Mac OS X to exchange data over a network.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install swat netkit-inetd</code></p>
<p>For an initial configuration, edit the file <em>/etc/samba/smb.conf</em> to contain the following entries:</p>
<p><code>[global]<br />&emsp;&emsp;workgroup = SAMBA<br />[homes]<br />&emsp;&emsp;comment = Home Directories<br />&emsp;&emsp;valid users = %S<br />&emsp;&emsp;read only = No<br />&emsp;&emsp;create mask = 0640<br />&emsp;&emsp;directory mask = 0750<br />&emsp;&emsp;browseable = No</code></p>
<p>Continue by adding local users to the <em>smbpasswd</em> file:</p>
<p><code>user@ubuntu:~$ sudo smbpasswd -a user</code></p>
<p>Restart the Samba server with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/samba restart</code></p>
<p>The server ubuntu now joins the SAMBA workgroup, giving users who have been added to the <em>smbpasswd</em> file access to their respective home directories.</p>
<h4>Using SWAT</h4>
<p>Using the Samba Web Administration Tool (SWAT), you can access help, obtain status information and change the configuration of your Samba server. Use a web browser to access <a href="http://localhost:901/" target="_blank">http://localhost:901/</a> and <a href="./?p=1213">log in as the local root user</a>.<br />In principle, SWAT can also be reached from other machines on your local network. However, such connections are vulnerable to password sniffing because of the clear text protocol that SWAT uses to authenticate users.<br /><a href="http://www.samba.org/samba/docs/using_samba/toc.html" target="_blank">www.samba.org</a>, <a href="http://copia.ogbuji.net/blog/2006-01-26/The_madnes" target="_blank">copia.ogbuji.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/11/samba-as-a-file-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

