Samba server

Post Page Rank

Not to long ago I came across a problem that started to annoy me : I had to exchange file with my colleagues ( for them to exchange between the they ware using Y!Messenger file transfer utility , but when they needed to send me a file thy couldn’t because gaim/centericq file transfer in not compatible with Y!Mess’es file transfer ) and I needed to find fast a solution. So i decided to setup a file sharing server. The steps were very simple :

1. Installed samba

# cd /usr/ports/net/samba3

# make install clean

2. Edited the config file ( /usr/local/etc/smb.conf ) to look like this :

[global]
workgroup = LAMIT
netbios name = Server
server string = FreeBSD Samba Server
load printers = no
log file = /var/log/log.%m
max log size = 50
security = share
socket options = TCP_NODELAY
dns proxy = no
guest account = dante
guest only = YES
guest ok = YES
interfaces = rl1
bind interfaces only = yes

[Store]
comment = Store space
path = /home/store
read only = no
public = yes

3. Add the following lines in /etc/rc.conf :

samba_enable=”YES”
winbindd_enable=”YES”

4. Stared samba :

# /usr/local/etc/rc.d/samba start

Everything worked like a charm and all everyone has to do is either open a browser and type \\192.168.1.2 ( the ip address of my rl1 interface ) or map the samba sharing to a drive on his computer. Now when someone needs to hare a file ( proforma invoice , contract , movie :-) , etc with other all he needs to do is upload it and everyone can have it ) .

If you want you can make a much more elaborate file sharing server ( with permissions , acl’s , password authentication and much more ) just RTFM and do it because this only a basic configuration.

Happy sharing.

2 Responses to “Samba server”

  1. lexi Says:

    Did you ever think of joining a windows active directory ?:)

  2. dante Says:

    NO ! :twisted:

Leave a Reply

You must be logged in to post a comment.


AnyBrowser Valid XHTML 1.0 Transitional Valid CSS! Hacker Emblem spam poison sitemap
Technology Blogs - Blog Top Sites Search For Blogs, Submit Blogs, The Ultimate Blog Directory Blogarama - The Blog Directory 5starsblog Computers Blogs - Blog Flare blog search directory gob BlogHop

Bad Behavior has blocked 32 access attempts in the last 7 days.

This site is protected with Urban Giraffe's plugin 'HTML Purified' and Edward Z. Yang's Powered by HTML Purifier.