The Samba-Bugzilla – Attachment 3753 Details for
Bug 5909
MS-DFS does not work on Vista, if link name includes multibyte character.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch for samba 3.2
samba-3.2-msdfs-ucs2count.patch (text/plain), 919 bytes, created by
Yasuma Takeda
on 2008-11-19 21:28:09 UTC
(
hide
)
Description:
a patch for samba 3.2
Filename:
MIME Type:
Creator:
Yasuma Takeda
Created:
2008-11-19 21:28:09 UTC
Size:
919 bytes
patch
obsolete
>diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c >index aef4ff6..22f7e4e 100644 >--- a/source/smbd/msdfs.c >+++ b/source/smbd/msdfs.c >@@ -960,7 +960,7 @@ static int setup_ver2_dfs_referral(const char *pathname, > memcpy(pdata+uni_reqpathoffset2,uni_requestedpath,requestedpathlen); > > /* create the header */ >- SSVAL(pdata,0,consumedcnt * 2); /* path consumed */ >+ SSVAL(pdata,0,requestedpathlen - 2); /* path consumed */ > /* number of referral in this pkt */ > SSVAL(pdata,2,junction->referral_count); > if(self_referral) { >@@ -1056,7 +1056,7 @@ static int setup_ver3_dfs_referral(const char *pathname, > *ppdata = pdata; > > /* create the header */ >- SSVAL(pdata,0,consumedcnt * 2); /* path consumed */ >+ SSVAL(pdata,0,reqpathlen - 2); /* path consumed */ > SSVAL(pdata,2,junction->referral_count); /* number of referral */ > if(self_referral) { > SIVAL(pdata,4,DFSREF_REFERRAL_SERVER | DFSREF_STORAGE_SERVER);
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 5909
: 3753 |
3754