Activities

November 2009
M T W T F S S
« Oct   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Public Fileserver using Samba

This is the steps will help to enable guest access to a file server. Obeviously this will helpfull if you want to share some comon files like large installation files or some HR documents etc…

Install samba using
1. [root@rc-025 shares]# yum install smaba
2. Edit vi /etc/samba/smb.conf
[root@rc-025 shares]# vi /etc/samba/smb.conf then change the value security to share like “security = share” . Then save and exit
3. create a share on samba and copy all the files on “backup/shares” folder. Here I used a raid 1 HDD to mount as “/backup” on the same server,
[root@rc-025 shares]# vi /etc/samba/smb.conf , add the following line,
[public]
comment = Public Stuff
path = /backup/shares
public = yes

4. Restart the samba service,
[root@rc-025 shares]# service smb restart

Testing

open the browser smb://myfileserverip from Linux desktop and Run–> type //myfilesvrip for windows desktop. It will open a window without any authentication.

Pls note that we can’t set any authentication to the specified folder on the same server as Samba is configured to use “share” level access. This is a problem when you haven’t enough servers.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>