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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 03 Nov 2008 14:56:08 EST


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

Modified Files:
      Tag: openafs-devel-1_5_x
	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 DEVEL15-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-devel-1_5_x follows ---
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/afskfw.c 1.28.4.20 1.28.4.21
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.c 1.23.2.26 1.23.2.27
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.h 1.7.6.10 1.7.6.11
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.c 1.26.4.9 1.26.4.10
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.h 1.8.6.8 1.8.6.9
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.65 1.73.2.66
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.55 1.14.4.56
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.h 1.5.6.16 1.5.6.17
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/fs.c 1.32.4.25 1.32.4.26
DEVEL15-windows-linked-cells-20081103 openafs/src/WINNT/afsd/libafsconf.def 1.4.6.1 1.4.6.2