Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. ###############
  2. # /etc/samba/smb.conf file
  3. ###############
  4. # smb.conf is the main Samba configuration file. You find a full
  5. # commented version at /usr/share/doc/packages/samba/examples/
  6. # smb.conf.SUSE if the samba-doc package is installed.
  7. # Date: 2007-02-07
  8. [global]
  9. workgroup = DOMAIN-SHORTNAME
  10. realm = DOMAIN.COM
  11. security = ads
  12. encrypt passwords = yes
  13. use kerberos keytab = true
  14. password server = windows-dc-hostname.domain.com
  15. netbios name = client-hostname
  16. winbind use default domain = yes
  17. winbind separator = +
  18. idmap uid = 1000-59999
  19. idmap gid = 1000-59999
  20. winbind enum users = yes
  21. winbind enum groups = yes
  22. deadtime = 10
  23. winbind cache time = 10
  24. winbind nested groups = yes
  25. template homedir = /home/%U
  26. template shell = /bin/bash
  27. client use spnego = yes
  28. socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
  29. idmap backend = ad
  30. ldap idmap suffix = dc=domain,dc=com
  31. ldap admin dn = cn=Administrator,cn=Users,dc=domain,dc=com
  32. ldap suffix = dc=domain,dc=com
  33. dns proxy = no
  34. domain master = no
  35. preferred master = no
  36. max log size = 100
  37. log file = /var/log/samba/%m.log
  38. printing = cups
  39. printcap name = cups
  40. printcap cache time = 750
  41. cups options = raw
  42. map to guest = Bad User
  43. include = /etc/samba/dhcp.conf
  44. logon path = \%L\profiles\.msprofile
  45. logon home = \%L\%U\.9xprofile
  46. logon drive = P:
  47. usershare allow guests = no
  48. [admin]
  49. comment = Windows Admin Access
  50. path = /
  51. valid users = "@Domain_Admins"
  52. admin users = "@Domain_Admins"
  53. read only = No
  54. create mask = 0664
  55. browseable = No
  56. inherit permissions = Yes
  57. [printers]
  58. comment = All Printers
  59. path = /var/tmp
  60. printable = Yes
  61. create mask = 0600
  62. browseable = No
  63. [print$]
  64. comment = Printer Drivers
  65. path = /var/lib/samba/drivers
  66. write list = @ntadmin root
  67. force group = ntadmin
  68. create mask = 0664
  69. directory mask = 0775
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement