Guest User

Untitled

a guest
Mar 13th, 2014
154
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2.  
  3. ## Browsing/Identification ###
  4. workgroup = <DOMAIN>
  5. realm = <DOMAIN>.LOCAL
  6. netbios name = linuxwebserver
  7. security = ads
  8. template shell = /bin/bash
  9. winbind use default domain = yes
  10. passdb backend = tdbsam
  11. idmap backend = ad
  12. idmap uid = 66666-20000000
  13. idmap gid = 66666-20000000
  14. winbind nss info = rfc2307
  15.  
  16. server string = %h server
  17.  
  18. # wins support = no
  19. ; wins server = w.x.y.z
  20. include = /etc/samba/dhcp.conf
  21. dns proxy = no
  22. ; name resolve order = lmhosts host wins bcast
  23.  
  24. #### Networking ####
  25.  
  26. ; interfaces = 127.0.0.0/8 eth0
  27.  
  28. ; bind interfaces only = yes
  29.  
  30.  
  31.  
  32. #### Debugging/Accounting ####
  33.  
  34. log file = /var/log/samba/log.%m
  35. max log size = 1000
  36. # syslog only = no
  37. syslog = 0
  38. panic action = /usr/share/samba/panic-action %d
  39.  
  40. ####### Authentication #######
  41.  
  42. encrypt passwords = true
  43. passdb backend = tdbsam
  44. obey pam restrictions = yes
  45.  
  46. unix password sync = yes
  47.  
  48. passwd program = /usr/bin/passwd %u
  49. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  50.  
  51. pam password change = yes
  52.  
  53. ########## Domains ###########
  54.  
  55. ; domain logons = yes
  56.  
  57. ; logon path = \\%N\profiles\%U
  58. # logon path = \\%N\%U\profile
  59.  
  60. ; logon drive = H:
  61. # logon home = \\%N\%U
  62.  
  63. ; logon script = logon.cmd
  64.  
  65. ############ Misc ############
  66.  
  67. ; include = /home/samba/etc/smb.conf.%m
  68.  
  69. # socket options = TCP_NODELAY
  70.  
  71. ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
  72.  
  73. # domain master = auto
  74.  
  75.  
  76. ### Several Usershares following ###
RAW Paste Data