Advertisement
Guest User

Untitled

a guest
Jun 4th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. ----------------------- Network Related Options -------------------------
  2. [global]
  3. workgroup = WORKGROUP
  4. server string = %h Samba Server Version %v
  5. netbios name = PI
  6. usershare allow guests = yes
  7.  
  8. # --------------------------- Logging Options -----------------------------
  9. log file = /var/log/samba/log.%m
  10. max log size = 50
  11. syslog = 0
  12.  
  13. # ----------------------- Standalone Server Options ------------------------
  14. security = user
  15. passdb backend = tdbsam
  16. username map = /etc/samba/smbusers
  17. encrypt passwords = yes
  18. obey pam restrictions = yes
  19. unix password sync = yes
  20. passwd program = /usr/bin/passwd %u
  21. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n$
  22. map to guest = bad user
  23. follow symlinks = yes
  24. wide links = yes
  25. unix extensions = no
  26. lock directory = /var/cache/samba
  27.  
  28. # This will prevent nmbd to search for NetBIOS names through DNS.
  29. dns proxy = no
  30.  
  31. # What naming service and in what order should we use to resolve host names
  32. # to IP addresses
  33. name resolve order = hosts wins bcast
  34.  
  35. [devices]
  36. browsable = yes
  37. read only = no
  38. guest ok = yes
  39. path = /media/
  40. force user = root
  41.  
  42. [pi]
  43. path = /media/WD2T
  44. force user = pi
  45. comment = pi
  46. browseable = yes
  47. writeable = yes
  48. create mask = 0777
  49. directory mask = 0777
  50. fstype=NTFS
  51. public=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement