The Samba-Bugzilla – Attachment 1512 Details for
Bug 1828
Pocket PC 2003 (iPAQ) cannot connect if SPNEGO is enabled.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
look (text/plain), 1.02 KB, created by
Jeremy Allison
on 2005-10-14 15:06:30 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2005-10-14 15:06:30 UTC
Size:
1.02 KB
patch
obsolete
>Index: libsmb/ntlmssp.c >=================================================================== >--- libsmb/ntlmssp.c (revision 11073) >+++ libsmb/ntlmssp.c (working copy) >@@ -429,14 +429,31 @@ > #endif > > if (request.length) { >- if (!msrpc_parse(&request, "CddAA", >+ BOOL parse_ok = msrpc_parse(&request, "CddAA", > "NTLMSSP", > &ntlmssp_command, > &neg_flags, > &cliname, >- &domname)) { >+ &domname); >+ >+ if (!parse_ok) { >+ /* PocketPC 2003 sends the cliname and domname strings in unicode, >+ but doesn't set the unicode bit. Try with a parse string of "CddUU" */ >+ SAFE_FREE(cliname); >+ SAFE_FREE(domname); >+ parse_ok = msrpc_parse(&request, "CddUU", >+ "NTLMSSP", >+ &ntlmssp_command, >+ &neg_flags, >+ &cliname, >+ &domname); >+ } >+ >+ if (!parse_ok) { > DEBUG(1, ("ntlmssp_server_negotiate: failed to parse NTLMSSP Negotiate:\n")); > dump_data(2, (const char *)request.data, request.length); >+ SAFE_FREE(cliname); >+ SAFE_FREE(domname); > return NT_STATUS_INVALID_PARAMETER; > } >
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 1828
:
1010
|
1011
|
1012
|
1385
|
1503
|
1508
|
1509
|
1511
| 1512 |
1513
|
1514