DEVEL15-windows-freelance-improved-dfs-handling-20080127
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jan 2008 07:23:35 +0000 (07:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jan 2008 07:23:35 +0000 (07:23 +0000)
commitbaa645b73da08c587615ef3f319bb199dde6c415
tree31718f618b0194f615e5a25d86f8cf6251dc1153
parentfad6f22197226bc71f5bc502f5f3e61acc9e6f06
DEVEL15-windows-freelance-improved-dfs-handling-20080127

LICENSE MIT

Cell names are published as share names.  As a result they are searched
for as part of the Dfs Referral evaluation.  If share "foo" can not be
reached, the CIFS client will fallback to searching for "fo" as well.

Since the freelance client automatically adds a symlink for prefixes
of the cell name, this results in both "foo" and "fo" being added to
the freelance root.afs volume.  This patch prevents that negative side
effect.

(cherry picked from commit 36bdf1ccd859fb0039d8ae9abd04f9eea08d704d)
src/WINNT/afsd/cm.h
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_freelance.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb3.c