Guest User

smb.conf

a guest
Apr 18th, 2013
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. [global]
  3. netbios name = Samba24
  4. server string = Samba file and print server
  5. workgroup = WORKGROUP
  6. security = user
  7. hosts allow = 192.168.1.65
  8. interfaces = 127.0.0.1/8 192.168.1.0/24
  9. bind interfaces only = yes
  10. remote announce = 192.168.1.255
  11. remote browse sync = 192.168.1.255
  12. printcap name = cups
  13. load printers = yes
  14. cups options = raw
  15. printing = cups
  16. guest account = smbguest
  17. log file = /var/log/samba/samba.log
  18. max log size = 999
  19. null passwords = no
  20. username level = 6
  21. password level = 6
  22. encrypt passwords = yes
  23. unix password sync = yes
  24. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  25. local master = no
  26. domain master = no
  27. preferred master = no
  28. domain logons = no
  29. os level = 33
  30. logon drive = m:
  31. logon home = \\%L\homes\%u
  32. logon path = \\%L\profiles\%u
  33. logon script = %G.bat
  34. time server = no
  35. name resolve order = wins lmhosts bcast
  36. wins support = no
  37. wins proxy = no
  38. dns proxy = no
  39. preserve case = yes
  40. short preserve case = yes
  41. client use spnego = no
  42. client signing = no
  43. client schannel = no
  44. server signing = no
  45. server schannel = no
  46. nt pipe support = yes
  47. nt status support = yes
  48. allow trusted domains = no
  49. obey pam restrictions = yes
  50. enable spoolss = yes
  51. client plaintext auth = no
  52. disable netbios = no
  53. follow symlinks = no
  54. update encrypted = yes
  55. pam password change = no
  56. passwd chat timeout = 120
  57. hostname lookups = no
  58. username map = /etc/samba/smbusers
  59. passdb backend = tdbsam
  60. passwd program = /usr/bin/passwd '%u'
  61. passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
  62. add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
  63. add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
  64. add group script = /usr/sbin/groupadd '%g'
  65. delete user script = /usr/sbin/userdel '%u'
  66. delete user from group script = /usr/sbin/userdel '%u' '%g'
  67. delete group script = /usr/sbin/groupdel '%g'
  68. add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
  69. machine password timeout = 120
  70. idmap uid = 16777216-33554431
  71. idmap gid = 16777216-33554431
  72. template shell = /dev/null
  73. winbind use default domain = no
  74. winbind separator = @
  75. winbind cache time = 360
  76. winbind trusted domains only = yes
  77. winbind nested groups = no
  78. winbind nss info = no
  79. winbind refresh tickets = no
  80. winbind offline logon = no
  81.  
  82. [homes]
  83. comment = Home Directories
  84. path = /home
  85. valid users = %U
  86. read only = no
  87. available = yes
  88. browseable = yes
  89. writable = yes
  90. guest ok = no
  91. public = no
  92. printable = no
  93. locking = no
  94. strict locking = no
  95.  
  96. [netlogon]
  97. comment = Network Logon Service
  98. path = /var/lib/samba/netlogon
  99. read only = no
  100. available = yes
  101. browseable = yes
  102. writable = no
  103. guest ok = no
  104. public = no
  105. printable = no
  106. locking = no
  107. strict locking = no
  108.  
  109. [profiles]
  110. comment = User Profiles
  111. path = /var/lib/samba/profiles
  112. read only = no
  113. available = yes
  114. browseable = yes
  115. writable = yes
  116. guest ok = no
  117. public = no
  118. printable = no
  119. create mode = 0600
  120. directory mask = 0700
  121. locking = no
  122. strict locking = no
  123.  
  124. [printers]
  125. comment = All Printers
  126. path = /var/spool/samba
  127. browseable = yes
  128. writable = no
  129. guest ok = no
  130. public = no
  131. printable = yes
  132. locking = no
  133. strict locking = no
  134.  
  135. [pdf-documents]
  136. path = /var/lib/samba/pdf-documents
  137. comment = Converted PDF Documents
  138. admin users = %U
  139. available = yes
  140. browseable = yes
  141. writeable = yes
  142. guest ok = yes
  143. locking = no
  144. strict locking = no
  145.  
  146. [pdf-printer]
  147. path = /tmp
  148. comment = PDF Printer Service
  149. printable = yes
  150. guest ok = yes
  151. use client driver = yes
  152. printing = bsd
  153. print command = /usr/bin/gadmin-samba-pdf %s %u
  154. lpq command =
  155. lprm command =
  156.  
  157. [ADAT]
  158. path = /media/adat
  159. comment = Home Directories
  160. read only = no
  161. available = yes
  162. browseable = yes
  163. writable = no
  164. guest ok = no
  165. public = no
  166. printable = no
  167. locking = no
  168. strict locking = no
RAW Paste Data