connecting samba shares on linux

Couple of reference links:

 

1
2
3
4
5
curl --upload-file ./Recording-10.mkv -u 'WORKGROUP\sarang' smb://192.168.1.1/Recordings/Recording-10.mkv
Enter host password for user 'WORKGROUP\sarang':
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1317M    0     0  100 1317M      0  6431k  0:03:29  0:03:29 --:--:-- 6397k

 

Or alternatively, I could browse to network disk by configuring samba either from nautilus or dolphin. Edit, /etc/samba/smb.conf and added following lines:

1
2
3
4
5
6
7
8
[global]
client min protocol = NT1
client max protocol = NT1

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP


In my case it was important to add NT1 instead of Samba version 3, my disk is not hosted thru a windows machine, but thru the linksys router.

Anyway..