As Eric already pointed out in December there is indeed a free 
smbclient. It is written by Michael Kostylev and can be downloaded 
from his DynDNS server at:

http://mik.dyndns.org/dos-stuff/

The server is up at the moment.

Although experimental, smbclient.exe is promising. I was able to 
connect from my freedos 486SX to my Windows XP Thinkpad and transfer 
files with "get" and "put" commands.

"smbclnt \\laptop\share"
"Password:" (leave empty)
and that's it.

Authentication with Samba on my Debian Etch server didn't work; after 
typing the password I got a "NT_STATUS_LOGON_FAILURE". Still working 
on it. I normally use "passdb backend = tdbsam" in smb.conf for 
authentication but changing to a flat "smbpasswd" file didn't work 
either. Maybe it's the encryption...

Smbclient.exe uses the WATT32 library and thus needs a wattcp.cfg in 
the same directory where it is started. It complains about a missing 
"/dev/env/DJDIR/lib/samba/smb.cfg" but works nevertheless. I renamed 
the executable to "smbclnt.exe" as the original is a 9.3 filename.

It is fascinating to connect to Windows shares with just that 
executable, the WATTCP.CFG file and a packet driver loaded. Thanks 
Michael! (and Eric for pointing me there).




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to