Advertisement
Guest User

Untitled

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