<?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>Blog of Finster &#187; viglen mpc-l</title>
	<atom:link href="http://finster.co.uk/tag/viglen-mpc-l/feed/" rel="self" type="application/rss+xml" />
	<link>http://finster.co.uk</link>
	<description>Technical Notes</description>
	<lastBuildDate>Sun, 10 Jul 2011 15:04:55 +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>Windows 7 and Samba Shares</title>
		<link>http://finster.co.uk/2010/01/02/windows-7-and-samba-shares/</link>
		<comments>http://finster.co.uk/2010/01/02/windows-7-and-samba-shares/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 12:49:21 +0000</pubDate>
		<dc:creator>finster</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[Viglen]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[viglen mpc-l]]></category>

		<guid isPermaLink="false">http://finster.co.uk/?p=129</guid>
		<description><![CDATA[This is a quick guide to setting up Samba file sharing on my Viglen MPC-L server which is running Ubuntu 8.04.3 LTS. The client is a Windows 7 machine – no changes to the registry or local security policy were needed. The following applies to the version of samba from the repositories &#8211;   smbd version [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick guide to setting up Samba file sharing on my Viglen MPC-L server which is running Ubuntu 8.04.3 LTS. The client is a Windows 7 machine – no changes to the registry or local security policy were needed. The following applies to the version of samba from the repositories &#8211;   smbd version 3.0.28a.</p>
<h2><strong>1. </strong><strong>Install Samba</strong></h2>
<pre>sudo apt-get install samba smbfs</pre>
<h2><strong>2. </strong><strong>Edit Samba Configuration File</strong></h2>
<p>Find the line which is commented out &#8211; “;   security=user” and change it to: -</p>
<pre>security = user</pre>
<pre>username map = /etc/samba/smbusers</pre>
<p>Find the line “encrypt passwords = no” and change it to “encrypt passwords = true”</p>
<p>Add a section for each share that you want to be available: -</p>
<pre>[data]</pre>
<pre>browseable = yes</pre>
<pre>comment = Data</pre>
<pre>path = /data</pre>
<pre>force user = viglen</pre>
<pre>force group = users</pre>
<pre>read only = No</pre>
<pre>guest ok = Yes</pre>
<p><strong> </strong></p>
<h2><strong>3. </strong><strong>Add “smbusers” file</strong></h2>
<p>A new file is now needed to map smb users onto local linux users. Create the file: -</p>
<pre>sudo vi /etc/samba/smbusers</pre>
<p>and add the following to it: -</p>
<pre>viglen = "viglen"</pre>
<h2><strong>4. </strong><strong>Change  SMB Password for user</strong></h2>
<p>Set a password for the viglen smb user by running the following command: -</p>
<pre>sudo smbpasswd viglen</pre>
<h2><strong>5. </strong><strong>Restart Samba</strong></h2>
<pre>sudo /etc/init.d/samba restart</pre>
<h2><strong>6. </strong><strong>Test Connection from Windows</strong></h2>
<p>Open a windows command prompt (Start -&gt; cmd) and enter the following command (with the correct IP address and password)</p>
<pre>net use q: \\aaa.bbb.ccc.ddd\data password /user:viglen</pre>
<p>You should get a message “The command completed successfully.”, and Q: should be accessible through Windows Explorer etc.</p>
<p>To remove the share, enter the following command: -</p>
<pre>net use /d q:</pre>
]]></content:encoded>
			<wfw:commentRss>http://finster.co.uk/2010/01/02/windows-7-and-samba-shares/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

