[global] ; General server settings netbios name = M2NVM workgroup = workgroup 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 = yes printing = CUPS printcap name = CUPS ; syslog = 1 syslog only = yes ; server string = samba 3.0.26a ; encrypt passwords = yes ; guest ok = no ; guest account = nobody ; NOTE: If you need access to the user home directories uncomment the ; lines below and adjust the settings to your hearts content. [AsusFiles] path = /home/asus1 browseable = no read only = yes guest ok = yes ; NOTE: Inside this place you may build a printer driver repository for ; Windows - I'll cover this topic in another HOWTO. [print$] path = /var/lib/samba/printers ; browseable = yes guest ok = yes ; read only = yes write list = root create mask = 0664 directory mask = 0775 [printers] path = /tmp printable = yes guest ok = yes browseable = no ; Uncomment if you need to share your CD-/DVD-ROM Drive ;[DVD-ROM Drive] ;path = /media/cdrom ;browseable = yes ;read only = yes ;guest ok = yes [MyFiles] path = /media/sbd1 create mask = 0644 directory mask = 0755 browseable = yes read only = no guest ok = yes [AsusPublic] path = /home/asus1/Public create mask = 0644 directory mask = 0755 browseable = yes read only = no writable = yes guest ok = yes [TVshows] path = /media/sbd1/tv read only = yes guest ok = yes [Videos] path = /media/sbd1/vids read only = yes guest ok = yes