#======================= Global Settings ======================= [global] workgroup = DIPEGROUP server string = %h server (Samba, Ubuntu) #I added this line after upgrade to 12.04 (28/3/2013) usershare owner only = False usershare allow guests = yes #### Debugging/Accounting #### log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes # Maximum number of usershare. 0 (default) means that usershare is disabled. ; usershare max shares = 100 guest ok = yes guest account = didemng # Allow users who've been granted usershare privileges to create # public shares, not just authenticated ones #======================= Share Definitions ======================= [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes create mask = 0700 # Windows clients look for this share name as a source of downloadable # printer drivers [print$] comment = Printer Drivers path = /var/lib/samba/printers [COMPANY1] comment = File Server Disk3 path = /media/NewCompany ; browseable = yes guest ok = yes hosts deny = 10.181.254.155 writeable = yes create mask = 0777