windows-freelance-improved-dfs-handling-20080127
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jan 2008 07:22:32 +0000 (07:22 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Jan 2008 07:22:32 +0000 (07:22 +0000)
commit36bdf1ccd859fb0039d8ae9abd04f9eea08d704d
tree4ba5b532ee0bbb88c492bb9ca9e0050380a00a1b
parent3f3545024100f3efd7bb76925d3cb1b1c15ae3f4
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.
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