sergio_educacionit

nmbd.conf

Mar 27th, 2024
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. [global]
  2. workgroup = WORKGROUP
  3. log file = /var/log/samba/log.%m
  4. max log size = 1000
  5. logging = file
  6. panic action = /usr/share/samba/panic-action %d
  7. server role = standalone server
  8. obey pam restrictions = yes
  9. unix password sync = yes
  10. passwd program = /usr/bin/passwd %u
  11. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  12. pam password change = yes
  13. map to guest = bad user
  14. usershare allow guests = yes
  15.  
  16. [ServerNas]
  17. comment = Directorio compartido
  18. browseable = yes
  19. writable = yes
  20. path = /var/samba
  21. # create mask = 0700
  22. # directory mask = 0700
  23. valid users = usuario1, usuario2, ...
  24.  
Add Comment
Please, Sign In to add comment