Guest User

Untitled

a guest
Oct 19th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. [global]
  2. log file = /var/log/samba/log.%m
  3. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  4. socket options = TCP_NODELAY
  5. obey pam restrictions = yes
  6. null passwords = yes
  7. passdb backend = tdbsam
  8. passwd program = /usr/bin/passwd %u
  9. dns proxy = no
  10. #server string = %h server
  11. default = share
  12. unix password sync = yes
  13. workgroup = MP
  14. os level = 20
  15. security = share
  16. syslog = 0
  17. panic action = /usr/share/samba/panic-action %d
  18. max log size = 1000
  19. pam password change = yes
  20.  
  21. ; name resolve order = lmhosts host wins bcast
  22.  
  23. ; bind interfaces only = yes
  24.  
  25.  
  26.  
  27.  
  28. ; domain logons = yes
  29.  
  30. ; logon path = \\%N\profiles\%U
  31.  
  32. ; logon drive = H:
  33.  
  34. ; logon script = logon.cmd
  35.  
  36. ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
  37.  
  38.  
  39. ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
  40.  
  41.  
  42. ; add group script = /usr/sbin/addgroup --force-badname %g
  43.  
  44. ; printing = bsd
  45. ; printcap name = /etc/printcap
  46.  
  47. ; printing = cups
  48. ; printcap name = cups
  49.  
  50.  
  51. ; include = /home/samba/etc/smb.conf.%m
  52.  
  53. ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
  54.  
  55. ; idmap uid = 10000-20000
  56. ; idmap gid = 10000-20000
  57. ; template shell = /bin/bash
  58.  
  59. ; winbind enum groups = yes
  60. ; winbind enum users = yes
  61.  
  62. ; usershare max shares = 100
  63.  
  64.  
  65. [homes]
  66. comment = Home Directories
  67. browseable = no
  68.  
  69. read only = yes
  70.  
  71. create mask = 0700
  72.  
  73. directory mask = 0700
  74.  
  75. valid users = %S
  76.  
  77. [_distr]
  78. browseable = yes
  79. ;delete readonly = yes
  80. writeable = no
  81. path = /mnt/arch0/_distr
  82. force user = villian
  83. comment = distr
  84. public = yes
  85. create mode = 644
Add Comment
Please, Sign In to add comment