Advertisement
skycrane

Untitled

Nov 21st, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. Load smb config files from /etc/samba/smb.conf
  2. rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
  3. Processing section "[homes]"
  4. Processing section "[printers]"
  5. Processing section "[print$]"
  6. Processing section "[Archive]"
  7. Loaded services file OK.
  8. Server role: ROLE_STANDALONE
  9. [global]
  10. server string = %h server
  11. map to guest = Bad User
  12. obey pam restrictions = Yes
  13. pam password change = Yes
  14. passwd program = /usr/bin/passwd %u
  15. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  16. unix password sync = Yes
  17. syslog = 0
  18. log file = /var/log/samba/log.%m
  19. max log size = 1000
  20. dns proxy = No
  21. usershare allow guests = Yes
  22. panic action = /usr/share/samba/panic-action %d
  23. idmap config * : backend = tdb
  24.  
  25. [homes]
  26. comment = Home Directories
  27. valid users = %S
  28. create mask = 0700
  29. directory mask = 0700
  30. browseable = No
  31.  
  32. [printers]
  33. comment = All Printers
  34. path = /var/spool/samba
  35. create mask = 0700
  36. printable = Yes
  37. print ok = Yes
  38. browseable = No
  39.  
  40. [print$]
  41. comment = Printer Drivers
  42. path = /var/lib/samba/printers
  43.  
  44. [Archive]
  45. comment = Backup Folder
  46. path = /media/USBHDD1/archive
  47. valid users = @users
  48. force group = users
  49. read only = No
  50. create mask = 0660
  51. directory mask = 0771
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement