Mac OS X 10.9 following Samba DFS referrals (and possibly 10.76,10.8)
George K Colley
gcolley at apple.com
Sat Aug 17 19:28:55 MDT 2013
More than willing to test anything out for you, just let us know.
George
On Aug 17, 2013, at 6:06 PM, Jeremy Allison <jra at samba.org> wrote:
> On Fri, Aug 16, 2013 at 06:18:33PM -0700, Richard Sharpe wrote:
>> Hi folks,
>>
>> It turns out that Mac OS X 10.9 will not follow path-based DFS
>> referrals handed out by Samba.
>>
>> It turns out that this seems to be because Samba does not actually do
>> what Windows does with such things.
>>
>> Firstly, Windows adds FILE_ATTRIBUTE_REPARSE_POINT to all directory
>> entries that are DFS junction points in a FIND (FIND FIRST/FIND NEXT)
>> response (SMB_FIND_ID_BOTH_DIRECTORY_INFO and others)).
>>
>> Secondly, Windows places IO_REPARSE_TAG_DFS in the EA size field for
>> reasons known only to MS.
>>
>> With these two changes, Mac OS X 10.9 will happily follow path-based DFS links.
>>
>> (Thanks to George Colley for the hint that allowed me to figure this out.)
>
> Do you have the patch available ? Can you log a bugzilla
> bug and we'll get this fixed for 3.6.x and above.
>
> Cheers,
>
> Jeremy.
More information about the samba-technical
mailing list