New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
#======================= Global Settings ======================= [global] netbios name = samba workgroup = PDC server string = FileServer(Samba) wins support = no dns proxy = no domain logons = yes preferred master = yes local master = yes domain master = yes logon home = \\%L\%U\.profile logon path = \\%L\profiles\%U logon drive = H: hosts allow = 127.0.0.1 10.0.0.0/255.255.255.0 log level = 2 log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true smb passwd file = /etc/samba/smbpasswd obey pam restrictions = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 #======================= Share Definitions ======================= [homes] path = /mnt/samba/homes/%u comment = Home Directory browseable = no writeable = yes printable = no create mode = 0755 directory mode = 0755 valid users = %S vfs object = recycle:recycle recycle:repository = .recycle/%U recycle:keeptree = No recycle:versions = No recycle:touch = Yes [profiles] path = /mnt/samba/profiles writeable = yes browseable = no create mask = 0600 directory mask = 0700 store dos attributes = yes guest ok = no printable = no [netlogon] path = /mnt/samba/netlogon read only = yes write list = @admin browseable = no printable = no [share1] path = /mnt/samba/share1 writable = yes printable = no create mask = 0775 directory mask = 0775 vfs object = recycle:recycle recycle:repository = .recycle/%U recycle:keeptree = Yes recycle:versions = No recycle:touch = Yes [share2] path = /mnt/samba/share2 valid users = user2 writable = yes printable = no vfs object = recycle:recycle recycle:repository = .recycle/%U recycle:keeptree = Yes recycle:versions = No recycle:touch = Yes
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.