• Paulo Alcantara's avatar
    smb: client: fix dfs link mount against w2k8 · 11260c3d
    Paulo Alcantara authored
    Customer reported that they couldn't mount their DFS link that was
    seen by the client as a DFS interlink -- special form of DFS link
    where its single target may point to a different DFS namespace -- and
    it turned out that it was just a regular DFS link where its referral
    header flags missed the StorageServers bit thus making the client
    think it couldn't tree connect to target directly without requiring
    further referrals.
    
    When the DFS link referral header flags misses the StoraServers bit
    and its target doesn't respond to any referrals, then tree connect to
    it.
    
    Fixes: a1c0d005 ("cifs: share dfs connections and supers")
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarPaulo Alcantara (SUSE) <pc@manguebit.com>
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    11260c3d
dfs.c 14.8 KB