Guest User

Untitled

a guest
Jul 18th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1.  
  2. [global]
  3. netbios name = Samba24
  4. server string = Samba file and print server
  5. workgroup = EVCIL
  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 = nobody
  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 spools = 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. ; smb passwd file = /etc/samba/smbpasswd
  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. ; guest ok = no
  82.  
  83. [homes]
  84. comment = Home Directories
  85. path = /home
  86. read only = no
  87. ; available = yes
  88. ; browseable = yes
  89. ; guest ok = no
  90. ; printable = no
  91. share modes = no
  92. locking = no
  93.  
  94. [netlogon]
  95. comment = Network Logon Service
  96. path = /home/netlogon
  97. read only = no
  98. ; available = yes
  99. ; browseable = yes
  100. ; guest ok = no
  101. ; printable = no
  102. share modes = no
  103. locking = no
  104.  
  105. [profiles]
  106. comment = User Profiles
  107. path = /var/samba/profiles
  108. read only = no
  109. ; available = yes
  110. browseable = no
  111. ; guest ok = no
  112. ; printable = no
  113. locking = no
  114. create mode = 0600
  115. directory mask = 0700
  116.  
  117. [printers]
  118. comment = All Printers
  119. path = /var/spool/samba
  120. ; browseable = yes
  121. ; writable = no
  122. ; guest ok = no
  123. printable = yes
  124. share modes = no
  125. locking = no
  126.  
  127. [pdf-documents]
  128. path = /home/pdf-documents
  129. comment = Converted PDF Documents
  130. ; available = yes
  131. ; browseable = yes
  132. writeable = yes
  133. guest ok = yes
  134.  
  135. [pdf-printer]
  136. path = /tmp
  137. comment = PDF Printer Service
  138. printable = yes
  139. guest ok = yes
  140. use client driver = yes
  141. printing = bsd
  142. print command = /usr/bin/gadmin-samba-pdf %s %u
  143. lpq command =
  144. lprm command =
  145.  
  146. [shared]
  147. path = /home/user/shared
  148. comment = No comment
  149. valid users = myusers
  150. write list = myusers
  151. admin users = myusers
  152. writeable = yes
  153. ; available = yes
  154. ; browseable = yes
  155. ; printable = no
  156. ; share modes = yes
  157. locking = no
Add Comment
Please, Sign In to add comment