Advertisement
amartin

smb.conf

May 28th, 2014
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. [global]
  2. netbios name = SERVER
  3. realm = EXAMPLE.COM
  4. workgroup = EXAMPLE
  5. preferred master = no
  6. security = ADS
  7. encrypt passwords = true
  8. log level = 3
  9. log file = /var/log/samba/log.%m
  10. max log size = 50
  11. winbind enum users = Yes
  12. winbind enum groups = Yes
  13. winbind use default domain = Yes
  14. winbind nested groups = Yes
  15. idmap config * : range = 5000 - 6000
  16. idmap config EXAMPLE : schema_mode = rfc2307
  17. idmap config EXAMPLE : backend = ad
  18. idmap config X-ES : range = 8000 - 9000
  19. idmap config X-ES : readonly = yes
  20. idmap config X-ES : default = yes
  21. template shell = /bin/bash
  22. template homedir = /home/%U
  23. winbind nss info = rfc2307
  24.  
  25. # additional options for this server
  26. printcap name = /dev/null
  27. load printers = no
  28. printing = bsd
  29.  
  30. lock directory = /mnt/drive/var/run/samba/locks
  31. private dir = /mnt/drive/etc
  32.  
  33. [MyShare]
  34. path = /mnt/drive/MyShare
  35. browseable = yes
  36. public = yes
  37. guest ok = yes
  38. read only = no
  39. printable = no
  40. create mode = 0664
  41. directory mode = 0775
  42. veto oplock files = /*mgc*/
  43. force group = "domain users"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement