Howto's

[ Software | Samba | Ad Blocking | Linux ]

SAMBA Home File Server HOWTO

1. Introduction

Well you are looking for a way to share the files on your home network wheather its for mp3's, movies, or pictures and would like to access them from windows machines. Later on i will write the NFS file server howto which is far superrior to the windows file sharing protocoll. This howto does not cover on how to install samba and all related programs and is written with a Debian GNU/Linux perspective.

2. Configuration

Below is my configuration which can easily be addapted to your needs i will go over what each option does inside using comments.

;
; /etc/smb.conf
;

[global]
hosts deny = all
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 10.7.7. 127.

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
admin users = spartak
write list = spartak
passwd program = /usr/bin/passwd %u
syslog only = no
dns proxy = yes
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = true
preserve case = yes
hide dot files = yes

name resolve order = lmhosts host wins bcast
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

short preserve case = yes

max log size = 1000
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

preserve case = yes
unix password sync = false

netbios name = GOLIATH
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = ARESGATE
# server string is the equivalent of the NT Description field
server string =

syslog = 0

guest account = nobody
invalid users = root

[homes]
writable = yes
browseable = no
comment = profile
create mask = 0700
directory mask = 0700

[music]
path = /storage/music/
comment = mp3's, and music videos
public = no
create mask = 0644
directory mask = 2755

Server Status

» Fri Apr 26 16:41:59 UTC 2024
» Uptime is 3 d 0 hr 54 min *
» Load is 0.333984375 *

About Me

» Music Taste
» Resume
» Bulgaria
» Computers
» Ducati
» Audi

Hosting

» IntelliMold
» mgv Enterprises
» mgv Investments
» MPCon Forums
» Debian Forums
» Beglesh 2003

Friend's

» MPCon
» Jeff
» Jason

GNU/Linux

» Linux
» KDE Look
» KDE Apps
» Debian Packages
» Gentoo Forums

Support

» W3C
» EFF
» Firefox
» Jabber
» OpenOffice.org
» Creative Commons