Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. mount -t cifs //nas.domain.local/share /mnt/archive
  2.  
  3. Host is down.
  4.  
  5. ping nas.domain.local
  6. ping ip
  7. smbclient //nas.domain.local/share
  8.  
  9. smbclient -L <server_ip> -U <username> -d 256
  10.  
  11. protocol negotiation failed: NT_STATUS_CONNECTION_RESET
  12.  
  13. smbclient -L <server_ip> -U <username> -m SMB2
  14.  
  15. mount -t cifs //<server_ip>/<share> /mnt/<mountpoint> -o vers=2.0
  16.  
  17. mount error(112): Host is down
  18.  
  19. # Allow these IP Addresses to connect:
  20. hosts allow = 127.0.0.1 127.0.1.13 127.0.1.63
  21.  
  22. # Anything else not allowed is, by default, rejected
  23. hosts deny = ALL
  24.  
  25. mount -t cifs -o rw,netbiosname=nasserver1,credentials=/etc/user_credentials.txt //192.168.1.11/someshare /mnt
  26.  
  27. username=mydomainuser1
  28. password=somepass
  29.  
  30. mount --verbose -t cifs //pc/share /my-share -no user=user1,password=pw1 -o uid=user2,gid=group1,dir_mode=0775,file_mode=0664
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement