Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. 2 #bind interfaces only = True
  2. 3 #interfaces = eth0 eth1 eth2 lo tun0
  3. 4 #hosts deny = ALL
  4. 5 #hosts allow = 192.168.1. 192.168.0. 127.0.0.1 10.8.0.6
  5. 6
  6. 7 [global]
  7. 8
  8. 9 workgroup = Workgroup
  9. 10
  10. 11 server string = %h server (Samba %v)
  11. 12
  12. 13 dns proxy = no
  13. 14
  14. 15 ; name resolve order = lmhosts host wins bcast
  15. 16
  16. 17 log file = /var/log/samba/log.%m
  17. 18 max log size = 1000
  18. 19 ; syslog only = no
  19. 20 syslog = 0
  20. 21
  21. 22 panic action = /usr/share/samba/panic-action %d
  22. 23
  23. 24
  24. 25 ####### Authentication #######
  25. 26
  26. 27 security = user
  27. 28 ; encrypt passwords = true
  28. 29 ; passdb backend = tdbsam
  29. 30
  30. 31 ; obey pam restrictions = yes
  31. 32
  32. 33 ; guest account = nobody
  33. 34 invalid users = root
  34. 35
  35. 36 ; unix password sync = no
  36. 37
  37. 38 ; passwd program = /usr/bin/passwd %u
  38. 39 ; passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
  39. 40
  40. 41 ; pam password change = no
  41. 42
  42. 43
  43. 44 socket options = TCP_NODELAY
  44. 45
  45. 46 [homes]
  46. 47 comment = Home Directories
  47. 48 browseable = yes
  48. 49 writable = yes
  49. 50 create mask = 0700
  50. 51 directory mask = 0700
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement