Re: [Freedos-user] Free smbclient for DOS
Ulrich Hansen schrieb: Authentication with Samba on my Debian Etch server didn't work; after typing the password I got a NT_STATUS_LOGON_FAILURE. Still working This was just an error on my side. With: smbclnt.exe \\server\share -U Username Password it works. A smbclnt -L \\server shows the shares in a similar way to the net view command in MS Client. Files with special characters (äöüß) are not displayed correctly and can not be accessed. This is a difference to another binary smbclient.exe which I found as part of the ReactOS project http://download.samba-tng.org/tng/snapshot/win32/ and which seems to work in a similar way (behaviour, error message of missing smb.conf) but only in a DOS window in Windows. A smbmount for DOS that could replace net use would also be a nice idea, of course. - 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
[Freedos-user] Free smbclient for DOS
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