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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 01 Feb 2008 16:39:41 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
	afsd_init.c afskfw.c afskfw.h cm_cell.c cm_config.c 
	cm_config.h cm_freelance.c fs.c libafsconf.def 
Log Message:
DELTA DEVEL15-windows-refactor-cm_config-20080201
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

cm_config.c was a nightmare.  there were several functions that each
computed the location of the OpenAFS Client configuration directory
in a slightly different way.  Now there is a single exported function
that determines the directory, and another that determines the name
of the CellServDB file.  All of the other functons in cm_config.c and
throughout the src/WINNT/afsd directory now use those two functions.

The new rule for determining the location of the OpenAFS Client 
configuration directory and hence the CellServDB file location is:

1. check the AFSCONF environment variable
2. check the HKLM\SOFTWARE\OpenAFS\Client   CellServDBDir registry value
3. use AFSDIR_CLIENT_ETC_DIRPATH which currently refers to  
   \Program Files\OpenAFS\Client

(For 1.5 branch remove all references to DJGPP in cm_config.[ch])



--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.26 1.79.2.27
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afskfw.c 1.28.4.13 1.28.4.14
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afskfw.h 1.4.4.2 1.4.4.3
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_cell.c 1.23.2.11 1.23.2.12
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_config.c 1.26.4.1 1.26.4.2
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_config.h 1.8.6.3 1.8.6.4
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_freelance.c 1.33.2.5 1.33.2.6
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/fs.c 1.32.4.17 1.32.4.18
DEVEL15-windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/libafsconf.def 1.4 1.4.6.1