The Samba-Bugzilla – Attachment 154 Details for
Bug 480
Can not lookup SID for user names with UTF8 characters (WINBINDD_LOOKUPNAME)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the problem (to rpc_parse/parse_lsa.c file from 3.0RC3
parse_lsa.diff (text/plain), 806 bytes, created by
Aleksey Studnev
on 2003-09-19 08:47:51 UTC
(
hide
)
Description:
Patch to fix the problem (to rpc_parse/parse_lsa.c file from 3.0RC3
Filename:
MIME Type:
Creator:
Aleksey Studnev
Created:
2003-09-19 08:47:51 UTC
Size:
806 bytes
patch
obsolete
>--- parse_lsa.c 2003-09-19 19:36:59.739996000 +0400 >+++ parse_lsa.new 2003-09-19 19:17:23.000000000 +0400 >@@ -1088,11 +1088,21 @@ > > for (i = 0; i < num_names; i++) { > int len; >+ uint16 *ptr; >+ UNISTR2 *unistr; >+ >+ unistr = &q_l->uni_name[i]; > len = strlen(names[i]); >- >- init_uni_hdr(&q_l->hdr_name[i], len); >- init_unistr2(&q_l->uni_name[i], names[i], len); >- >+ init_unistr2(unistr, names[i], len); >+ /* now calculate real length of UNICODE string */ >+ len=0; >+ for(ptr = unistr->buffer;*ptr;ptr++) len++; /* it is zero - terminated */ >+ >+ DEBUG(4,("init_unistr2(%s) pre length: %d actual length: %d\n",unistr->buffer, unistr->uni_str_len , len)); >+ unistr->uni_str_len = (uint32)len; >+ unistr->uni_max_len = (uint32)len; >+ >+ init_uni_hdr(&q_l->hdr_name[i], len); > } > } >
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 480
: 154