Advertisement
constantin-net

smb.conf com.funkyfresh.samba (edit)

Mar 29th, 2020 (edited)
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. # com.funkyfresh.samba
  2. #
  3. #
  4. # app build 140525 dev65
  5. #
  6. #
  7. # Sharing of non FAT based filesystems is unsupported. Do so at your own peril.
  8. #
  9. # add vers=1.0 to cifs options in udevil.conf
  10. #
  11. [global]
  12. interfaces = wlan0
  13. bind interfaces only = yes
  14. workgroup = WORKGROUP
  15. server string = Samba on Android
  16. netbios name = ANDROID
  17. remote announce = 255.255.255.255
  18. hosts allow = 192.168.43.0/24 127.0.0.0/8
  19. encrypt passwords = yes
  20. security = USER
  21. restrict anonymous = 0
  22. load printers = no
  23. printcap name = /dev/null
  24. disable spoolss = yes
  25. deadtime = 5
  26. delete readonly = yes
  27. nt acl support = no
  28. inherit permissions = yes
  29. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536 SO_KEEPALIVE
  30. unix extensions = yes
  31. usershare allow guests = yes
  32. usershare max shares = 100
  33. domain master = no
  34. local master = yes
  35. preferred master = yes
  36. client max protocol = SMB3
  37. map to guest = Bad user
  38. invalid users = root
  39. guest ok = yes
  40.  
  41. [internal]
  42. vfs objects = fake_perms
  43. comment = Android emulated0
  44. path = /storage/emulated/0
  45. force user = root
  46. read only = no
  47. writable = yes
  48. browseable = yes
  49.  
  50. [sdcard]
  51. vfs objects = fake_perms
  52. comment = Android sdcard0
  53. path = /storage/sdcard0
  54. force user = root
  55. read only = no
  56. browseable = yes
  57. writable = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement