Hi Mauro,
It would be helpful to confirm the shares you made available on your network. At an OS/2 command line, type the following, replacing "xxx" with the IP or host name (if defined in your \mptn\etc\hosts file) of the host having the shares:
smbclient -L xxx.xxx.xxx.xxx
Hi Sean, I hoped it could be easier sharing local resources with NetDrive and Samba:
[C:\]smbclient -L 127.0.0.1
*here I do not know what else could I write instead 127.0.0.1 and how to discover it, I have just read this address in
C:\MPTN\ETC\hosts. In other words I ignore the IP address of my resources
the terminal answer is:
gethostname failed
Unable to initialize messaging context
gethostname failed
smbclient: Can't load C:\MPTN\ETC/samba/smb.conf - run testparm to debug it
If your are unable to enumarate your shares with the above command, you will need to verify your host machine has available shares.
in my Windows10 resources I have the C volume and the network shared resources accessible just by opening the explorer window, don't know how to translate it in a local resource address to indicate to Samba, which I thought is there to do this.
In the other OS that I'm working with, like Linux Ubuntu or Project Trident (Unix) , you have a resource browser utility that just discover the resource and make them available to you, I believed NetDrive + Samba in OS2 worked with the same premises.
If the above returns a list of available shares, connect to one of the shares using the following OS/2 command, replacing "zzz" with your share name. If you have user security established on your share, you will be prompted for a password. If you need to identify a different user when connecting, add "-U username" to the following command to identify the user.
smbclient \\xxx.xxx.xxx.xxx\zzz
If you successfully connect to the share, you will be at an smb command prompt "smb: \>". You can then issue a "dir" command to list the files in your share.
I then need to clear out on how to solve the above explained difficulty, otherwise I won't go far.
Thank you anyway