Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #smbclient //ballzdeep/torrents
- Server not using user level security and no password supplied
- tree connect failed: NT_STATUS_BAD_NETWORK_NAME
- # insecure and common usage
- //share/dir /mnt/myshare cifs username=user,password=pass
- # more secure usage
- Create a credentials file in /etc/ that has 0600 permissions for root.
- Call it fileshare
- //share/dir /mt/myshare cifs credentials=/etc/fileshare
- cat /etc/fileshare
- username=yourusername
- password=youpass
- smbmount //share/dir /mnt/myshare -o credentials=/etc/fileshare
Add Comment
Please, Sign In to add comment