Advertisement
mrechte

/etc/samba/smb.conf

Jun 18th, 2015
919
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. [global]
  2.  
  3. workgroup = STUDELEC-SA
  4. server string = Samba Server Version %v
  5.  
  6. ; netbios name = MYSERVER
  7.  
  8. ; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
  9. ; hosts allow = 127. 192.168.12. 192.168.13.
  10.  
  11. ; max protocol = SMB2
  12.  
  13. log file = /var/log/samba/smb.log
  14. max log size = 50
  15.  
  16. log level = winbind:9
  17.  
  18. security = ADS
  19. realm = STUDELEC-SA.COM
  20. server role = member server
  21. dedicated keytab file = /etc/krb5.keytab
  22. kerberos method = secrets and keytab
  23.  
  24. idmap config *:backend = tdb
  25. idmap config *:range = 2000-9999
  26. idmap config STUDELEC-SA:backend = ad
  27. idmap config STUDELEC-SA:schema_mode = rfc2307
  28. idmap config STUDELEC-SA:range = 10000-99999
  29.  
  30. winbind nss info = rfc2307
  31. winbind trusted domains only = no
  32. winbind use default domain = yes
  33. winbind enum users = yes
  34. winbind enum groups = yes
  35. winbind refresh tickets = Yes
  36. winbind expand groups = 4
  37. winbind normalize names = Yes
  38. domain master = no
  39. local master = no
  40. vfs objects = acl_xattr
  41. map acl inherit = Yes
  42. store dos attributes = Yes
  43.  
  44.  
  45.  
  46. load printers = yes
  47. cups options = raw
  48.  
  49. #============================ Share Definitions ==============================
  50.  
  51. [homes]
  52. comment = Home Directories
  53. browseable = no
  54. writable = yes
  55. ; valid users = %S
  56. ; valid users = MYDOMAIN\%S
  57.  
  58. [printers]
  59. comment = All Printers
  60. path = /var/spool/samba
  61. browseable = no
  62. guest ok = no
  63. writable = no
  64. printable = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement