OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Fri, 01 Feb 2008 16:42:18 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_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 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
--- DELTA config follows ---
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afsd_init.c 1.106 1.107
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afskfw.c 1.41 1.42
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/afskfw.h 1.6 1.7
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_cell.c 1.35 1.36
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_config.c 1.28 1.29
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_config.h 1.12 1.13
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/cm_freelance.c 1.39 1.40
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/fs.c 1.49 1.50
windows-refactor-cm_config-20080201 openafs/src/WINNT/afsd/libafsconf.def 1.4 1.5