My smb.conf file

[global]
; General server settings
netbios name = my_linux_box
server string =
workgroup = my_network
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast

wins support = no

printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

; Uncomment these lines and amend the CD Drive path
; as required if you wish to share your CD/DVD Drive
;[CD/DVD Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes

[my_share]
path = /home/my_share
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = my_name
force group = my_name

Advertisements

One Response to “My smb.conf file”

  1. Shared Directories with Samba « Martin’s Ubuntu Blog Says:

    […] copy & paste in the details from the smb.conf file here, changing details of network name [my_network], computer name [my_linux_box] and the shared folder […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: