Bug 4356 - msdfs and Vista don't work properly
Summary: msdfs and Vista don't work properly
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23d
Hardware: Sparc Windows XP
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 04:32 UTC by Tim Bishop
Modified: 2007-02-08 16:00 UTC (History)
0 users

See Also:


Attachments
Proposed fix (531 bytes, patch)
2007-02-08 15:43 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Bishop 2007-01-26 04:32:03 UTC
[Logged with OS as Windows XP because Windows Vista is not an available choice]

I have a dfs root share containing the following link:

csresws -> msdfs:myrtle\files,csresws\files

If I look at the DFS tab of the Properties under Windows XP I see two paths in the referral list:

\\myrtle\files
\\csresws\files

If I look at the same list in Windows Vista I see:

\\csresws\files
\\myrtle\files\csresws\files

Consequently under Vista it fails to failover correctly.

I guess this is a Vista-related bug?

Tim.
Comment 1 Volker Lendecke 2007-02-08 15:43:04 UTC
Created attachment 2278 [details]
Proposed fix

Attached find a workaround that works for me. This is not the "correct" fix, to me it seems our DFS referral marshalling is broken. Vista requests level 4, we reply with level 2, and Vista seems not to like that. If we reply with level 3 it seems more happy.

Volker
Comment 2 Jeremy Allison 2007-02-08 15:49:29 UTC
Looks good to me !
Jeremy.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2007-02-08 16:00:31 UTC
I'm marking this as fixed for now since the 
patch is in the svn tree.  We'll get more testing 
out of the patchset I post tomorrow as well.