Guest User

Untitled

a guest
Feb 6th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #smbclient //ballzdeep/torrents
  2. Server not using user level security and no password supplied
  3. tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  4.  
  5. # insecure and common usage
  6. //share/dir /mnt/myshare cifs username=user,password=pass
  7.  
  8. # more secure usage
  9. Create a credentials file in /etc/ that has 0600 permissions for root.
  10. Call it fileshare
  11.  
  12. //share/dir /mt/myshare cifs credentials=/etc/fileshare
  13.  
  14. cat /etc/fileshare
  15. username=yourusername
  16. password=youpass
  17.  
  18. smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
Add Comment
Please, Sign In to add comment