Bug 6572 - libsmbclient: unable to access 'msdfs proxy' share
Summary: libsmbclient: unable to access 'msdfs proxy' share
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.3.9
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 00:35 UTC by SATOH Fumiyasu
Modified: 2020-12-22 01:49 UTC (History)
0 users

See Also:


Attachments
Proposed patch for v3-3-test (10.18 KB, patch)
2009-07-23 00:42 UTC, SATOH Fumiyasu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATOH Fumiyasu 2009-07-23 00:35:27 UTC
Because libsmb/libsmb_server.c:SMBC_server() does not check if
the \\server\share is a 'msdfs proxy' share or not,
libsmbclient cannot access a 'msdfs proxy' share.
Comment 1 SATOH Fumiyasu 2009-07-23 00:42:17 UTC
Created attachment 4460 [details]
Proposed patch for v3-3-test

Please review this patch.
Comment 2 Derrell Lipman 2009-10-25 09:11:49 UTC
Reassign to Jeremy for more immediate review than I can provide right now
Comment 3 Jeremy Allison 2009-10-27 19:53:24 UTC
This code looks (mostly) correct, except for not initializing in_cache. I'm going to check this in for 3.5.0 and above.
Jeremy.
Comment 4 Jeremy Allison 2009-10-28 15:21:14 UTC
Slightly modified version added to 3.5.0 and above. Satoh please test and close the bug out once you've confirmed.
Thanks !
Jeremy.
Comment 5 Björn Jacke 2020-12-22 01:49:05 UTC
master commit is c27194a7e08b51a36a3214a84dcd3d6a12c7f891