Advertisement
Guest User

Untitled

a guest
May 30th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. [global]
  2. # Browsing / Identification #
  3. netbios name = ASROCK
  4. server string = %h server (Samba, Ubuntu)
  5. workgroup = WORKGROUP
  6. # Authentication #
  7. security = user
  8. encrypt passwords = true
  9. map to guest = bad user
  10. guest account = nobody
  11.  
  12. passdb backend = tdbsam
  13. obey pam restrictions = yes
  14. invalid users = root
  15.  
  16. # Public Share. Mount this on a Unix client with the following.
  17. # sudo mount -t smbfs -o username=[username],password=[password],\
  18. # rw,uid=[your Unix user],gid=[your Unix group] \
  19. # //[netbios or ip of server]/private /path/to/mount/point
  20. #
  21. # Optionally use a credentials file and credentials=/path/to/credentials (see below)
  22.  
  23. #[private]
  24. # comment = Private Share
  25. # path = /mnt/private
  26. # browseable = no
  27. # read only = no
  28. # create mask = 0640
  29. # directory mask = 0750
  30.  
  31. # Public Share. Mount this on a Unix client with the following.
  32. # sudo mount -t smbfs -o username=,password=,\
  33. # rw,uid=[your Unix user],gid=[your Unix group] \
  34. # //[netbios or ip of server]/public /path/to/mount/point
  35.  
  36. [share]
  37. # comment = Public Share
  38. # path = /mnt/share
  39. # read only = no
  40. # create mask = 0640
  41. # directory mask = 0750
  42. # guest only = yes
  43. # guest ok = yes
  44.  
  45. [xbmc]
  46. comment = Public Share
  47. path = /home/xbmc
  48. read only = no
  49. create mask = 0777
  50. directory mask = 0777
  51. guest only = yes
  52. guest ok = yes
  53.  
  54. [root]
  55. comment = Public Share
  56. path = /
  57. read only = no
  58. create mask = 0777
  59. directory mask = 0777
  60. guest only = yes
  61. guest ok = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement