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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 25 May 2009 18:06:38 EDT


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.h cm_cell.c cm_cell.h cm_config.c cm_config.h 
	cm_dns.c cm_dns.h cm_ioctl.c libafsconf.def smb.c 
Log Message:
DELTA DEVEL15-windows-cellservdb-lookup-20090525
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Add a new Registry distribution method for CellServDB info.

The CellServDB registry schema is as follows:

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\
   "LinkedCell"    REG_SZ "[cellname]"
   "Description"   REG_SZ "[comment]"
   "ForceDNS"      DWORD  {0,1}

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\[servername]\
   "HostName"      REG_SZ "[hostname]"
   "IPv4Address"   REG_SZ "[address]"
   "IPv6Address"   REG_SZ "[address]"   <future>
   "Comment"       REG_SZ "[comment]"
   "Rank"          DWORD  "0..65535"
   "Clone"         DWORD  "{0,1}"       <future - server only>
   "vlserver"      DWORD  "7003"        <future>
   "ptserver"      DWORD  ...           <future>

 ForceDNS is implied non-zero if there are no [servername]
 keys under the [cellname] key.  Otherwise, ForceDNS is zero.
 If [servername] keys are specified and none of them evaluate
 to a valid server configuration, the return code is success.
 This prevents failover to the CellServDB file or DNS.

Registry distributed info takes precedence over the CellServDB file.

Registry support has been added to both the Windows specific cm_config
interface and the auth/cellconfig interface utilized by aklog, the
services, and the vast majority of support commands.

Enhance the DNS lookup for Cell vlserver info to support ranking info
which is used with _vlserver._udp SRV record lookups when AFSDB records
are not present.  Priorities become ranks.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/afskfw.c 1.28.4.22 1.28.4.23
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm.h 1.17.2.18 1.17.2.19
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_cell.c 1.23.2.28 1.23.2.29
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_cell.h 1.7.6.11 1.7.6.12
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_config.c 1.26.4.12 1.26.4.13
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_config.h 1.8.6.9 1.8.6.10
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_dns.c 1.12.4.5 1.12.4.6
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_dns.h 1.2.14.1 1.2.14.2
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.71 1.73.2.72
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/libafsconf.def 1.4.6.2 1.4.6.3
DEVEL15-windows-cellservdb-lookup-20090525 openafs/src/WINNT/afsd/smb.c 1.118.2.126 1.118.2.127