<?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>Function13.net &#187; samba</title>
	<atom:link href="http://www.function13.net/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.function13.net</link>
	<description>A blog about technology and code.</description>
	<lastBuildDate>Tue, 23 Feb 2010 07:37:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Set Up a Samba Server in Ubuntu</title>
		<link>http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/</link>
		<comments>http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 21:52:22 +0000</pubDate>
		<dc:creator>lijamez</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.function13.net/?p=614</guid>
		<description><![CDATA[
So you have a Linux desktop or server and want to share files and/or printers to your Windows PCs or Macs. Luckily, all three operating systems support SMB so let&#8217;s use that. With Samba you can share files and printers on your home network and protect your shares with a username and password.

Install
First, fire up [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-615" title="Samba" src="http://www.function13.net/wp-content/Samba.jpg" alt="Samba" width="498" height="155" /></p>
<p>So you have a Linux desktop or server and want to share files and/or printers to your Windows PCs or Macs. Luckily, all three operating systems support SMB so let&#8217;s use that. With Samba you can share files and printers on your home network and protect your shares with a username and password.</p>
<p><span id="more-614"></span></p>
<h2>Install</h2>
<p>First, fire up a terminal window and install the Samba server and GUI Configuration Tool:</p>
<pre>sudo apt-get install samba system-config-samba</pre>
<p>Once finished the configuration tool can be found under System &gt; Administration &gt; Samba</p>
<h2>Settings</h2>
<div id="attachment_622" class="wp-caption alignleft" style="width: 130px"><a href="http://www.function13.net/wp-content/samba-newuser.PNG"><img class="size-thumbnail wp-image-622 " title="samba-newuser" src="http://www.function13.net/wp-content/samba-newuser-150x150.PNG" alt="samba-newuser" width="120" height="120" /></a>
<p class="wp-caption-text">Adding a new user.</p>
</div>
<p>Make sure the workgroup matches that of your Windows PCs by going to Preferences &gt; Server Settings. If you are using Windows 7 or Vista, it&#8217;s &#8220;workgroup&#8221; (and Samba should already be set to that). If XP, it&#8217;s usually &#8220;mshome&#8221;.</p>
<p>Create a username and password to secure the shares by going to Preferences &gt; Samba Users and click on &#8220;Add User.&#8221; Add as many users as you need.</p>
<p><strong>Unix Username:</strong> Pick the linux user account<br />
<strong>Windows Username / Samba Password:</strong> The Windows username and samba password will be used for authentication when accessing the share.</p>
<h2>Shares</h2>
<p style="text-align: left;">Time to add a share. Click the &#8220;+&#8221; button.</p>
<p style="text-align: left;">
<div id="attachment_624" class="wp-caption alignright" style="width: 154px"><a href="http://www.function13.net/wp-content/samba-share1.PNG"><img class="size-medium wp-image-624 " title="samba-share1" src="http://www.function13.net/wp-content/samba-share1-300x222.PNG" alt="Adding a new share." width="144" height="106" /></a>
<p class="wp-caption-text">Adding a new share.</p>
</div>
<p><strong>Directory:</strong> This is the directory which you want to share.<br />
<strong>Share Name:</strong> The share name will be the name that will appear when you browse the server.<br />
<strong>Description:</strong> This will not be shown over the network and is just for organization.<br />
<strong>Writable:</strong> Check if you want to be able to write to the folder.<br />
<strong>Visible: </strong>When checked, the share will be visible to users who browse the server. If unchecked, it will not be visible but is still accessible explicitly.</p>
<p>In the Access tab, set permissions by checking the users who may access this share.</p>
<h2>Accessing the Share</h2>
<p>Back in Windows, access the samba server by opening an Explorer window and entering in the address bar:</p>
<pre>\\[ip address of the samba server]</pre>
<p>To access a hidden share:</p>
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">\\[ip address of the samba server]\[hidden share name]</pre>
<p>When opening a share for the first time, Windows may prompt for a username and password. Just enter the username and password created earlier.</p>
<p>And now you have a fully functioning Samba server. <img src='http://www.function13.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Note: </strong>The GUI config tool is pretty basic. More advanced options can be set in the /etc/samba/smb.conf file. If this is edited, you can restart Samba server without rebooting:</p>
<pre>sudo /etc/init.d/samba restart</pre>
<p><!-- Begin SexyBookmarks Menu Code --></p>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-spaced">
<ul class="socials">
<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;t=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu&amp;summary=%0D%0A%0D%0ASo%20you%20have%20a%20Linux%20desktop%20or%20server%20and%20want%20to%20share%20files%20and%2For%20printers%20to%20your%20Windows%20PCs%20or%20Macs.%20Luckily%2C%20all%20three%20operating%20systems%20support%20SMB%20so%20let%27s%20use%20that.%20With%20Samba%20you%20can%20share%20files%20and%20printers%20on%20your%20home%20network%20and%20protect%20your%20shares%20with%20a%20username%20and%20password.%0D%0A%0D&amp;source=Function13.net" rel="nofollow" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
<li class="sexy-google">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;title=How+To+Set+Up+a+Samba+Server+in+Ubuntu" rel="nofollow" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/&amp;n=How+To+Set+Up+a+Samba+Server+in+Ubuntu&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<p><!-- End SexyBookmarks Menu Code --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.function13.net/2009/12/18/how-to-set-up-a-samba-server-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
