Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #======================= Global Settings =======================
- [global]
- log file = /var/log/samba/log.%m
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n$
- socket options = TCP_NODELAY IPTOS_LOWDELAY
- obey pam restrictions = yes
- map to guest = bad user
- encrypt passwords = true
- passwd program = /usr/bin/passwd %u
- passdb backend = tdbsam
- dns proxy = no
- server string = Company X Server %h
- unix password sync = yes
- workgroup = WORKGROUP
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- usershare allow guests = yes
- max log size = 1000
- pam password change = yes
- unix password sync = yes
- [private]
- browseable = no
- writeable = yes
- path = /mnt/path/to/private
- write list = @private
- force group = private
- revalidate = yes
- comment = Private Internal share
- valid users = @private
- create mode = 0770
- directory mode = 0770
- vfs objects = full_audit recycle
- config-file = /etc/samba/recycle.conf
- recycle:repository = /mnt/path/to/private/.recycle/%u
- recycle:directory_mode = 0770
- recycle:keeptree = Yes
- recycle:versions = Yes
- recycle:touch_mtime = yes
- recycle:exclude = *.tmp, *.bak
- recycle:exclude_dir = .recycle
- full_audit:prefix = %u|%I
- full_audit:success = open mkdir rmdir write unlink rename
- full_audit:failure = mkdir rmdir write unlink rename
- [public]
- writeable = yes
- path = /mnt/path/to/public
- write list = @public
- force group = public
- revalidate = yes
- force user = nobody
- comment = Public Share
- valid users = @public
- public = yes
- create mode = 0775
- directory mode = 0775
- vfs objects = full_audit recycle
- config-file = /etc/samba/recycle.conf
- recycle:repository = /mnt/path/to/public/.recycle/%u
- recycle:directory_mode = 0770
- recycle:keeptree = Yes
- recycle:versions = Yes
- recycle:touch_mtime = yes
- recycle:exclude = *.tmp, *.bak
- recycle:exclude_dir = .recycle
- full_audit:prefix = %u|%I
- full_audit:success = open mkdir rmdir write unlink rename
- full_audit:failure = mkdir rmdir write unlink rename
- ================
- Contents of recycle.conf
- ================
- ##Recycle Bin Configuration File##
- name = Recycle Bin
- mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
- maxsize = 0
- exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace
- excludedir = /tmp|/temp|/cache
- noversions = *.doc|*.ppt|*.dat|*.ini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement