'smbclient' returns errors and dies when conversing with a Win98 SE server. $ smbclient //ono-sendai/c smb: \> cd windows cd \windows\: ERRDOS - ERRbadfunc (Invalid function.) smb: \> dir do_list: [\*] ERRDOS - ERRbadfunc (Invalid function.) Error in dskattr: ERRDOS - ERRbadfunc (Invalid function.) Segmentation Fault(coredump) No problems from same servers when using x86 Fedora Core 1 'smbclient' (version above). Compiled on Ultra 10 running Solaris 8 with recent patch cluster applied. Used Sun Studio 7, cc 5.4 to compile 64-bit executables. CFLAGS='-fast -xtarget=ultra2 -xarch=v9a'
Created attachment 1079 [details] output -- bad
Created attachment 1080 [details] tcpdump -- raw, bad tcpdump -w smbclient_win98se_dir_trap_tcpdump.raw -s 4096 port 139
Created attachment 1081 [details] tcpdump -- cooked, bad tcpdump -r smbclient_win98se_dir_trap_tcpdump.raw -vv -X -n
Created attachment 1082 [details] dbx stack trace
Created attachment 1083 [details] output -- good
Created attachment 1084 [details] tcpdump -- raw, good tcpdump -w smbclient_win98se_dir_trap_tcpdump_good.raw -s 4096 port 139
Created attachment 1085 [details] tcpdump -- cooked, good tcpdump -r smbclient_win98se_dir_trap_tcpdump_good.raw -vv -X -n
Note this bug was produced *after* the patch for <a href="show_bug.cgi?id=2519">Bug 2519</a></b></font> was applied.
I've just fixed this in SVN. Jerry - please fix this correctly :-). Jeremy.
Created attachment 1086 [details] Patch.
Tested. Works!
fixed in 3.0.13
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.