Advertisement
Guest User

Untitled

a guest
May 3rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. # /etc/samba/smb.conf of the server:
  2.  
  3. [global]
  4. netbios name = Server
  5. server string = Servidor Samba
  6. workgroup = Grupo
  7. security = user
  8. encrypt passwords = yes
  9. hosts allow = 192.168.1.
  10.  
  11. interfaces = eth1
  12. bind interfaces only = yes
  13.  
  14. local master = yes
  15. os level = 100
  16. preferred master = yes
  17. wins support = yes
  18.  
  19. [Videos]
  20. path = /mnt/videos
  21. writable = yes
  22. guest ok = yes
  23. comment = Pasta com filmes e shows
  24.  
  25. # /etc/fstab of the Linux client:
  26.  
  27. //192.168.1.1/videos /mnt/videos cifs users,username=xxxxxx,password=xxxxxx,uid=nando
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement