Samba
2010/11/17 | 11:26Samba is great for sharing your files from Linux to Windows. This configuration seems to work very well with Windows 7 & Ubuntu 11.10.
apt-get install samba samba-common samba-common-bin samba-doc
/etc/samba/smb.conf
[bash]
[global]
name resolve order = wins lmhosts hosts bcast
netbios name = some_name
wins support = yes
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
domain master = yes
unix extensions = no
#bind interfaces only = True
#interfaces = eth0 192.168.1.3
hosts deny = ALL
hosts allow = 192.168.1.0/24 127.0.0.1 10.0.0.1
log file = /var/log/samba/%m.log
max open files = 100000
log level = 2
follow symlinks = no
security = share
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
level2 oplocks = True
read raw = no
panic action = /usr/share/samba/panic-action %d
local master = Yes
preferred master = Yes
os level = 255
dns proxy = No
load printers = No
printing = bsd
printcap name = /dev/null
disable spoolss = yes
[folder]
comment = some_name
printable = no
available = yes
browseable = yes
writeable = yes
force user = user
force group = user
public = yes
read only = no
create mask = 0777
directory mask = 0777
path = /home/user/folder
[/bash]