Advertisement
Guest User

smb.conf serverenano

a guest
Jan 2nd, 2016
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1.  
  2. [global]
  3. netbios name = EnanoServer
  4. server string = Samba file and print server at Enano with Crunchbangpp
  5. workgroup = Workgroup
  6. security = user
  7. hosts allow = 127. 192.168.0.
  8. interfaces = 127.0.0.1/8 192.168.0.0/24
  9. bind interfaces only = yes
  10. remote announce = 192.168.0.255
  11. remote browse sync = 192.168.0.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 = 1000
  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 = yes
  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. [netlogon]
  83. comment = Network Logon Service
  84. path = /home/netlogon
  85. read only = no
  86. available = yes
  87. browseable = yes
  88. writable = no
  89. guest ok = no
  90. public = no
  91. printable = no
  92. locking = no
  93. strict locking = no
  94.  
  95. [profiles]
  96. comment = User Profiles
  97. path = /var/samba/profiles
  98. read only = no
  99. available = yes
  100. browseable = no
  101. writable = yes
  102. guest ok = no
  103. public = no
  104. printable = no
  105. create mode = 0600
  106. directory mask = 0700
  107. locking = no
  108. strict locking = no
  109.  
  110. [printers]
  111. comment = All Printers
  112. path = /var/spool/samba
  113. browseable = yes
  114. writable = no
  115. guest ok = no
  116. public = no
  117. printable = yes
  118. locking = no
  119. strict locking = no
  120.  
  121. [pdf-documents]
  122. path = /home/pdf-documents
  123. comment = Converted PDF Documents
  124. available = yes
  125. browseable = yes
  126. writeable = yes
  127. guest ok = yes
  128. locking = no
  129. strict locking = no
  130.  
  131. [pdf-printer]
  132. path = /tmp
  133. comment = PDF Printer Service
  134. printable = yes
  135. guest ok = yes
  136. use client driver = yes
  137. printing = bsd
  138. print command = /usr/bin/gadmin-samba-pdf %s %u
  139. lpq command =
  140. lprm command =
  141.  
  142. [Descargas]
  143. path = /home/david/downloads
  144. comment = Carpeta Downloads en Home -hdd sistema cbpp
  145. directory mask = 0755
  146. create mode = 0777
  147. read only = no
  148. available = yes
  149. browseable = yes
  150. writable = yes
  151. guest ok = yes
  152. public = yes
  153. printable = no
  154. locking = no
  155. strict locking = no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement