smbclient -L HOST and smbclient //HOST/SHARE fail with NT code 0x00050002 with samba-3.0.x if HOST is running 0S/2 Tested with samba-3.0.0 and 3.0.1pre3 on RedHat 9 (RPM from samba.org) and Suse 8.1/SLES 8/UnitedLinux (self-compiled) Server: OS/2 Warp 3 IPG 8596 or OS/2 Warp 4.52 IPG8605
smbclient from samba-2.2.8a works
jim, do you still have an OS/2 test machine? Can you take a look at this ? Thanks.
Yes - the problem is that smbclient is now sending a sessionsetup with incorrect format for sessionsetup (sending a post lanman12 style bcc area) and is sending the userid in unicode which is leading to access denied (return code 5) which is also being incorrectly interpreted as an NT status code.
Created attachment 299 [details] fix to allow smbclient for samba 3 and later to access pre-NTLM servers such as OS2
I've tested Samba-3.0.0 to Samba-3.0.1rc3 with the same results. If you need tests to be done please contact me. We still have a couple of OS/2 machines running here...
Tested Samba-3.0.1rc1 with the same bug...
*** Bug 772 has been marked as a duplicate of this bug. ***
Steve, are we any better now ?
retest against 3.0.11 and reopen if necessary. Thanks.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.