<?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>MEMOBALL.info &#187; samba</title>
	<atom:link href="http://www.memoball.info/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.memoball.info</link>
	<description>All of my Memories</description>
	<lastBuildDate>Sun, 05 Sep 2010 04:26:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ติดตั้ง (Install) Samba Server บน Ubuntu</title>
		<link>http://www.memoball.info/2009/10/10/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-install-samba-server-%e0%b8%9a%e0%b8%99-ubuntu/</link>
		<comments>http://www.memoball.info/2009/10/10/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-install-samba-server-%e0%b8%9a%e0%b8%99-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 17:46:45 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=416</guid>
		<description><![CDATA[นำความรู้เก่าที่การเปิดใช้งานระบบ file sharing บนวินโดว์ หรือ samba บนเครื่อง Ubuntu วิธีทำ ก็ง่ายแสนง่าย ดังนี้ จาก WikiBall นำความรู้เก่าที่การเปิดใช้งานระบบ file sharing บนวินโดว์ หรือ samba บนเครื่อง Ubuntu เนื้อหา 1 ติดตั้ง 2 Authentication 2.1 Config 2.2 Create a Samba User 2.2.1 สร้าง smb password 2.2.2 สร้าง smbusers file 3 สร้าง directory if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; [...]]]></description>
			<content:encoded><![CDATA[<p>นำความรู้เก่าที่การเปิดใช้งานระบบ file sharing บนวินโดว์ หรือ samba บนเครื่อง Ubuntu<br />
วิธีทำ ก็ง่ายแสนง่าย  ดังนี้<br />
<span id="more-416"></span></p>
<div id="bodyContent">
<h3 id="siteSub"><a href="http://wiki.memoball.info/index.php/Install_Samba_Server_%E0%B8%9A%E0%B8%99_Ubuntu">จาก WikiBall</a></h3>
<div id="contentSub"></div>
<div id="jump-to-nav"></div>
<p>			<!-- start content --></p>
<p>นำความรู้เก่าที่การเปิดใช้งานระบบ file sharing บนวินโดว์ หรือ samba บนเครื่อง Ubuntu
</p>
<table id="toc" class="toc" summary="เนื้อหา">
<tr>
<td>
<div id="toctitle">
<h2>เนื้อหา</h2>
</div>
<ul>
<li class="toclevel-1"><a href="./#.E0.B8.95.E0.B8.B4.E0.B8.94.E0.B8.95.E0.B8.B1.E0.B9.89.E0.B8.87" ref="toc"><span class="tocnumber">1</span> <span class="toctext">ติดตั้ง</span></a></li>
<li class="toclevel-1"><a href="./#Authentication" ref="toc"><span class="tocnumber">2</span> <span class="toctext">Authentication</span></a>
<ul>
<li class="toclevel-2"><a href="./#Config" ref="toc"><span class="tocnumber">2.1</span> <span class="toctext">Config</span></a></li>
<li class="toclevel-2"><a href="./#Create_a_Samba_User" ref="toc"><span class="tocnumber">2.2</span> <span class="toctext">Create a Samba User</span></a>
<ul>
<li class="toclevel-3"><a href="./#.E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_smb_password" ref="toc"><span class="tocnumber">2.2.1</span> <span class="toctext">สร้าง smb password</span></a></li>
<li class="toclevel-3"><a href="./#.E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_smbusers_file" ref="toc"><span class="tocnumber">2.2.2</span> <span class="toctext">สร้าง smbusers file</span></a></li>
</ul>
</li>
</ul>
</li>
<li class="toclevel-1"><a href="./#.E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_directory" ref="toc"><span class="tocnumber">3</span> <span class="toctext">สร้าง directory</span></a></li>
</ul>
</td>
</tr>
</table>
<p><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; showTocToggle(); } </script><br />
<a name=".E0.B8.95.E0.B8.B4.E0.B8.94.E0.B8.95.E0.B8.B1.E0.B9.89.E0.B8.87" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> ติดตั้ง </span></h2>
<p>ก่อนอื่น ลง samba ก่อน
</p>
<pre>
    sudo apt-get install samba smbfs
</pre>
<p><a name="Authentication" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> Authentication </span></h2>
<p><a name="Config" href="http://wiki.memoball.info/"></a><br />
<h3> <span class="mw-headline"> Config </span></h3>
<pre>    sudo vim /etc/samba/smb.conf
</pre>
<pre>
    ####### Authentication #######

    # “security = user” is always a good idea. This will require a Unix account
    # in this server for every user accessing the server. See
    # /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html
    # in the samba-doc package for details.
   &nbsp;;  security = user
</pre>
<p>เอา comment ออก เพิ่มไปอีกบรรทัดนึง
</p>
<pre>
    security = user
    username map = /etc/samba/smbusers
</pre>
<p><a name="Create_a_Samba_User" href="http://wiki.memoball.info/"></a><br />
<h3> <span class="mw-headline"> Create a Samba User </span></h3>
<p><a name=".E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_smb_password" href="http://wiki.memoball.info/"></a><br />
<h4> <span class="mw-headline"> สร้าง smb password </span></h4>
<pre>
    sudo smbpasswd -a &lt;username&gt;</pre>
<p><a name=".E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_smbusers_file" href="http://wiki.memoball.info/"></a><br />
<h4> <span class="mw-headline"> สร้าง smbusers file </span></h4>
<pre>
    sudo vim /etc/samba/smbusers</pre>
<p>ถ้าต้องการใช้ username ให้เหมือนที่ใช้ username ของ Ubuntu
</p>
<pre>&lt;ubuntuusername&gt; = “&lt;samba username&gt;” </pre>
<p>หรือถ้าต้องการสร้าง username ขึ้นมาใหม่โดยไม่ผูกกับ OS
</p>
<pre>    &lt;username&gt; = “&lt;username&gt;”</pre>
<p><a name=".E0.B8.AA.E0.B8.A3.E0.B9.89.E0.B8.B2.E0.B8.87_directory" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline"> สร้าง directory </span></h2>
<pre> sudo vim smb.conf</pre>
<pre>
[dirname]
   comment = The ball's comment
   path = /path/to/share/file
   browseable = yes
   read only = no
   guest ok = no
   write list = root, &lt;username&gt;
</pre>
<p><!--<br />
NewPP limit report<br />
Preprocessor node count: 38/1000000<br />
Post-expand include size: 0/2097152 bytes<br />
Template argument size: 0/2097152 bytes<br />
Expensive parser function count: 0/100<br />
--></p>
<p><!-- Saved in parser cache with key memoball_wiki:pcache:idhash:74-0!1!0!!th!2!edit=0 and timestamp 20100815145252 --></p>
<div class="printfooter">
<h5>รับข้อมูลจาก (Reference) : </h5>
<p>จาก WikiBall : <a href="http://wiki.memoball.info/index.php/Install_Samba_Server_%E0%B8%9A%E0%B8%99_Ubuntu">http://wiki.memoball.info/index.php/Install_Samba_Server_บน_Ubuntu</a></div>
<div id='catlinks' class='catlinks'>
<div id="mw-normal-catlinks"><a href="http://wiki.memoball.info//index.php/%E0%B8%9E%E0%B8%B4%E0%B9%80%E0%B8%A8%E0%B8%A9:Categories" title="พิเศษ:Categories">หมวดหมู่</a>:&#32;<span dir='ltr'><a href="http://wiki.memoball.info//index.php?title=%E0%B8%AB%E0%B8%A1%E0%B8%A7%E0%B8%94%E0%B8%AB%E0%B8%A1%E0%B8%B9%E0%B9%88:Ubuntu&amp;action=edit&amp;redlink=1" class="new" title="หมวดหมู่:Ubuntu (ยังไม่ได้สร้าง)">Ubuntu</a></span></div>
</div>
<p>			<!-- end content --></p>
<div class="visualClear"></div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/10/10/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-install-samba-server-%e0%b8%9a%e0%b8%99-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
