Hi, I have got smbclient working in the following way.....
On the Windows machine I created and shared an empty directory called 99
Then on the linux machine I did the command as follows in the code excerpt:
Does anyone know what holds me back from mount a windows directory or seeing the share list?
Code:
/usr/bin/smbclient \\\\systen\\99 -I 10.0.0.11
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sat May 27 15:28:35 2017
Timezone is UTC+1.0
Password:
Domain=[VALLEY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
connected as guest security=user
smb: \> cd
Current directory is \
smb: \> ls
. D 0 Sat May 27 15:24:10 2017
.. D 0 Sat May 27 15:24:10 2017
39935 blocks of size 262144. 330 blocks available
smb: \> put backup_minimum_to_tar
putting file backup_minimum_to_tar of size 1540 bytes as \backup_minimum_to_tar (10.5168 kb/s) (average 10.5168 kb/s)
smb: \>
I am trying to mount the drive as follows:
Code:
/usr/bin/smbmount //systen/99 /mnt -I 10.0.0.11
Password:
mount error: No such device
Please look at smbmount's manual page for possible reasons