The Samba-Bugzilla – Attachment 1086 Details for
Bug 2530
'smbclient' gets errors and traps when conversing with Win98 SE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch.
look (text/plain), 910 bytes, created by
Jeremy Allison
on 2005-03-22 16:48:52 UTC
(
hide
)
Description:
Patch.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2005-03-22 16:48:52 UTC
Size:
910 bytes
patch
obsolete
>Index: libsmb/clidfs.c >=================================================================== >--- libsmb/clidfs.c (revision 5971) >+++ libsmb/clidfs.c (working copy) >@@ -595,8 +595,26 @@ > > /* we got an error, check for DFS referral */ > >- if ( !cli_dfs_check_error(rootcli) ) >+ if ( !cli_dfs_check_error(rootcli) ) { >+ /* Check for Win98 server - doesn't support this call. */ >+ uint32 flgs2 = SVAL(rootcli->inbuf,smb_flg2); >+ >+ /* only deal with DS when we negotiated NT_STATUS codes and UNICODE */ >+ >+ if ( !( (flgs2&FLAGS2_32_BIT_ERROR_CODES) && (flgs2&FLAGS2_UNICODE_STRINGS) ) ) { >+ uint8 eclass = 0; >+ uint32 ecode = 0; >+ cli_dos_error(rootcli, &eclass, &ecode); >+ if ((eclass == ERRDOS) && (ecode == ERRbadfunc)) { >+ rootcli->dfsroot = 0; >+ *targetcli = rootcli; >+ pstrcpy( targetpath, path ); >+ return True; >+ } >+ } >+ > return False; >+ } > > /* check for the referral */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2530
:
1079
|
1080
|
1081
|
1082
|
1083
|
1084
|
1085
| 1086