Samba

From The World according to Vissie
Jump to navigation Jump to search

Setup

sudo apt install cifs-utils
sudo apt install smbclient

Test

smbclient //192.168.101.58/Software -U Domain/username
Unable to initialize messaging context
Enter Domain\username's password: 

Then

Try "help" to get a list of possible commands.
smb: \> ls
smb: \> help
smb: \> exit

Mount

sudo mount -v -t cifs //123.456.7.8/Software /media/smb/Vissie -osec=ntlmv2,domain=DOMAIN,username=myusername,password=abcde12345