]> www.infradead.org Git - users/hch/xfs.git/commit
smb: client: don't trust DFSREF_STORAGE_SERVER bit
authorPaulo Alcantara <pc@manguebit.com>
Wed, 5 Feb 2025 16:03:33 +0000 (13:03 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 6 Feb 2025 03:09:00 +0000 (21:09 -0600)
commit77c2e45dbf9d2ced21d2cf6cc3b2a048d57ab7ad
treee4c032f238abc5bc7b5b3a29aaf508606045906e
parent2014c95afecee3e76ca4a56956a936e23283f05b
smb: client: don't trust DFSREF_STORAGE_SERVER bit

Some servers don't respect the DFSREF_STORAGE_SERVER bit, so
unconditionally tree connect to DFS link target and then decide
whether or not continue chasing DFS referrals for DFS interlinks.
Otherwise the client would fail to mount such shares.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/dfs.c