/samba/smb.conf

http://github.com/brinkman83/bashrc · Config · 35 lines · 33 code · 2 blank · 0 comment · 0 complexity · 147c20bc5a5f6227d05b263efc81c5d2 MD5 · raw file

  1. [global]
  2. workgroup = HOMEWORK
  3. lm announce = yes
  4. wins support = yes
  5. name resolve order = wins hosts lmhosts bcast
  6. dns proxy = yes
  7. log file = /var/log/samba/log.%m
  8. max log size = 32768
  9. syslog = 1024
  10. panic action = /usr/share/samba/panic-action %d
  11. passdb backend = tdbsam
  12. obey pam restrictions = yes
  13. invalid users = root guest
  14. map to guest = Bad User
  15. passwd program = /usr/bin/passwd %u
  16. passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
  17. message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
  18. domain master = Yes
  19. time server = Yes
  20. #======================= Share Definitions =======================
  21. [data]
  22. path = /data
  23. comment = Fileserver 1TB RAID5 Array
  24. username = matt
  25. writeable = yes
  26. map archive = No
  27. store dos attributes = Yes
  28. ea support = yes
  29. unix extensions = yes
  30. delete readonly = Yes
  31. hide files = lost+found/
  32. admin users = matt
  33. use sendfile = Yes