smb.conf 780 B

1234567891011121314151617181920212223242526272829303132
  1. [global]
  2. dos charset = CP866
  3. unix charset = utf8
  4. workgroup = WORKGROUP
  5. security = User
  6. map to guest= Bad User
  7. guest account = ivan
  8. passdb backend = tdbsam
  9. # или даже стать доменконтроллером, то всегда прописывайте эти пять опций именно в таком виде
  10. # domain master = no
  11. # local master = no
  12. # preferred master = no
  13. # os level = 0
  14. #; domain logons = no
  15. usershare allow guests = yes
  16. server string = %h server (Samba, Ubuntu)
  17. [anton]
  18. comment = anonimus
  19. path =/home/ivan/anton/
  20. writable = yes
  21. public = yes
  22. read only = no
  23. guest ok = yes
  24. browseable = yes
  25. create mask = 0777
  26. force create mask = 0777
  27. directory mode = 0777
  28. force directory mode = 0777