Advertisement
Guest User

smb.conf

a guest
Jun 18th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. #
  2. workgroup = MARUTO01
  3. server string = ServerCentOS
  4.  
  5. ; netbios name = MYSERVER
  6.  
  7. ; interfaces = lo eth0 192.168.1.2/24 192.168.2.2/24
  8. ; hosts allow = 127. 192.168.1. 192.168.2.
  9.  
  10. # --------------------------- Logging Options -----------------------------
  11.  
  12.  
  13. # logs split per machine
  14. log file = /var/log/samba/log.%m
  15. # max 50KB per log file, then rotate
  16. max log size = 50
  17.  
  18. # ----------------------- Standalone Server Options ------------------------
  19. tion.
  20.  
  21. security = user
  22. passdb backend = tdbsam
  23.  
  24.  
  25.  
  26.  
  27. # ----------------------- Browser Control Options ----------------------------
  28. ; local master = yes
  29. ; os level = 64
  30. ; preferred master = yes
  31.  
  32. #----------------------------- Name Resolution -------------------------------
  33.  
  34. ; wins support = yes
  35. ; wins server = w.x.y.z
  36. ; wins proxy = yes
  37.  
  38. ; dns proxy = yes
  39.  
  40. # --------------------------- Printing Options -----------------------------
  41.  
  42. load printers = yes
  43. cups options = raw
  44.  
  45. ; printcap name = /etc/printcap
  46. #obtain list of printers automatically on SystemV
  47. ; printcap name = lpstat
  48. ; printing = cups
  49.  
  50. # --------------------------- Filesystem Options ---------------------------
  51.  
  52. ; map archive = yes
  53. ; map hidden = yes
  54. ; map read only = no
  55. ; map system = no
  56. ; store dos attributes = yes
  57.  
  58.  
  59. #============================ Share Definitions ==============================
  60.  
  61. [homes]
  62. comment = Home Directories
  63. browseable = yes
  64. writable = yes
  65. ; valid users = %S
  66. ; valid users = MYDOMAIN\%S
  67.  
  68.  
  69. [printers]
  70. comment = All Printers
  71. path = /var/spool/samba
  72. browseable = yes
  73. guest ok = yes
  74. writable = no
  75. printable = yes
  76.  
  77. ; [netlogon]
  78. ; comment = Network Logon Service
  79. ; path = /var/lib/samba/netlogon
  80. ; guest ok = yes
  81. ; writable = no
  82. ; share modes = no
  83.  
  84.  
  85. ; [Profiles]
  86. ; path = /var/lib/samba/profiles
  87. ; browseable = yes
  88. ; guest ok = yes
  89.  
  90.  
  91. ; [public]
  92. ; comment = Public Stuff
  93. ; path = /home/Maruto
  94. ; admin users = root
  95. ; public = yes
  96. ; writable = yes
  97. ; printable = no
  98. ; write list = +staff
  99. ; creat mask = 0765
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement