<?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>Technology: Learn and Share &#187; Samba</title>
	<atom:link href="http://crazytoon.com/category/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://crazytoon.com</link>
	<description>Enterprise level solutions, LAMP, Linux, Apache, MySQL, PHP, Perl, Windows, Cache, Optimization</description>
	<lastBuildDate>Fri, 16 Jul 2010 20:24:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Samba: How do you install and set up Samba in linux? [Redhat Enterprise(RHEL), CentOS, Fedora]</title>
		<link>http://crazytoon.com/2007/05/22/samba-how-do-you-install-and-set-up-samba-in-linux-redhat-enterpriserhel-centos-fedora/</link>
		<comments>http://crazytoon.com/2007/05/22/samba-how-do-you-install-and-set-up-samba-in-linux-redhat-enterpriserhel-centos-fedora/#comments</comments>
		<pubDate>Tue, 22 May 2007 19:38:59 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Enterprise level solutions]]></category>
		<category><![CDATA[Linux System]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[System admin]]></category>

		<guid isPermaLink="false">http://crazytoon.com/2007/05/22/samba-how-do-you-install-and-set-up-samba-in-linux-redhat-enterpriserhel-centos-fedora/</guid>
		<description><![CDATA[Setting up Samba &#8220;can&#8221; be complicated at times.  Especially if you are looking for instructions online where there are WAY too many tutorials which go in to details about what configuration does what, etc.  Well, this post is nothing like that.  Here I just show you quick and easy way to install [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up Samba &#8220;can&#8221; be complicated at times.  Especially if you are looking for instructions online where there are WAY too many tutorials which go in to details about what configuration does what, etc.  Well, this post is nothing like that.  Here I just show you quick and easy way to install Samba, configure it, and set up the drive letter on your XP/Vista.  NOTE:  for using Samba with Vista, please see my previous post in which I talk about changing settings in Vista so you can connect to your Samba share:  <a href="http://crazytoon.com/2007/02/05/windows-vista-installation-update-2/" title="Fix Samba drive mapping issue">Windows Vista Installation</a></p>
<p>NOTE:  This set up is very &#8220;open&#8221;  and should not be used on servers which are facing the world.  This is for private network where you trust all the computers and its users.</p>
<p>Installing Samba (using yum on CentOS and Fedora):  yum install samba<br />
Installing Samba (using rpm):</p>
<ol>
<li>Obtain Samba rpm from rhn.redhat.com</li>
<li>rpm -ivh samba*.rpm</li>
</ol>
<p>Configuring Samba:<br />
<code>cd /etc/samba<br />
mv smb.conf smb.conf.backup<br />
vi smb.conf</code></p>
<p>Paste content below in to your vi:</p>
<p><code>[global]<br />
workgroup = wrkgrp<br />
netbios name = smbserver<br />
security = SHARE<br />
load printers = No<br />
default service = global<br />
path = /home<br />
available = No<br />
encrypt passwords = yes<br />
[share]<br />
writeable = yes<br />
admin users = smbuser<br />
path = /home/share<br />
force user = root<br />
valid users = smbuser<br />
public = yes<br />
available = yes</code></p>
<p>save and exit</p>
<p><code>adduser smbuser       #add unix account<br />
passwd smbuser          #set unix account password<br />
smbpasswd -a smbuser #lets create same user account on samba<br />
&lt;put same password as your unix account password&gt;<br />
/etc/init.d/smb restart</code></p>
<p>Now let us setup drive letter on our Windows so we can easily access these files.</p>
<p>Start -&gt; run -&gt; cmd &lt;enter&gt;</p>
<p>At the prompt type:  net use z: \\ip_of_your_samba_server\share /user: smbuser password_you_assigned</p>
<p>That is it!  At this point you have successfully set up Samba under Linux and are now successfully connected to your share from your Windows machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2007/05/22/samba-how-do-you-install-and-set-up-samba-in-linux-redhat-enterpriserhel-centos-fedora/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>
