OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 03 Nov 2008 14:56:54 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-kdfs/src/WINNT/afsd
Modified Files:
Tag: openafs-windows-kdfs-ifs-branch
afskfw.c cm_cell.c cm_cell.h cm_config.c cm_config.h
cm_ioctl.c cm_volume.c cm_volume.h fs.c libafsconf.def
Log Message:
DELTA KDFS-windows-linked-cells-20081103
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
FIXES 123571
The Windows code base was implemented ignorant of linked cells as
defined in the src/auth/cellconfig.h struct afsconf_cell. The code
that made use of the afsconf_cell objects would leak the memory from
the linkedCell field if is non-NULL.
Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile
capable of returning a linked cell obtained from the CellServDB file.
Update GetCellConfig to populate the linkedCell field of the afsconf_cell
structure.
Modify cm_cell_t to support a linked cell name.
Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce
that two cells are linked to each other.
Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback
to the linked cell if the response is CM_ERROR_NOSUCHVOLUME.
--- DELTA config for openafs-windows-kdfs-ifs-branch follows ---
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/afskfw.c 1.44.2.3 1.44.2.4
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.c 1.37.2.12 1.37.2.13
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.h 1.15.2.2 1.15.2.3
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.c 1.30.2.5 1.30.2.6
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.h 1.16.2.1 1.16.2.2
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_ioctl.c 1.113.2.25 1.113.2.26
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.c 1.50.2.19 1.50.2.20
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.h 1.16.2.5 1.16.2.6
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/fs.c 1.51.2.6 1.51.2.7
KDFS-windows-linked-cells-20081103 openafs/src/WINNT/afsd/libafsconf.def 1.5 1.5.2.1