OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 22 Dec 2007 23:52:00 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	afsd.h afsd_service.c cm.h cm_conn.h cm_vnodeops.c 
	cm_vnodeops.h cm_volstat.c cm_volstat.h smb.c smb.h smb3.c 
Log Message:
DELTA windows-volstat-and-vista-dfs-support-20071222
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

This patch completes the implementation of smb_ReceiveTran2GetDFSReferral()
which is called by Vista even if we do not advertise the support of DFS
referrals.  It also adds DFS link mapping notifications to the volstat
interface which can be used by volstat plug-ins to redirect requests to
the dfs target path.

Other miscellaneous items:

(1) return EAS_NOT_SUPPORTED instead of EA length 0 and silently accepting
    but not storing EA data

(2) Call cm_VolStatus_Service_Started() before smb initialization instead
    of afterwards

(3) During directory enumeration and link assembly push the UNC path into
    the lower levels by storing references to the tidPath and the relative
    paths within the cm_req_t object.

(4) During directory enumeration make absolutely sure that we do not
    reference an unallocated cm_dirEntry_t object

(5) publish a prototype for cm_FollowMountPoint()

(6) return ERROR_RETRY instead of BAD_NETWORK_PATH if the server returns
    VBUSY

(7) return PATH_NOT_COVERED instead of BADSHARENAME for DfsLinks when
    a volstat plugin is in use




--- DELTA config follows ---
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/afsd.h 1.24 1.25
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/afsd_service.c 1.70 1.71
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm.h 1.24 1.25
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm_conn.h 1.21 1.22
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm_vnodeops.c 1.118 1.119
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm_vnodeops.h 1.20 1.21
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm_volstat.c 1.2 1.3
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/cm_volstat.h 1.3 1.4
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/smb.c 1.167 1.168
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/smb.h 1.60 1.61
windows-volstat-and-vista-dfs-support-20071222 openafs/src/WINNT/afsd/smb3.c 1.144 1.145