OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-31-ge249aac
Gerrit Code Review
gerrit@openafs.org
Thu, 8 Oct 2009 04:07:30 -0700 (PDT)
The following commit has been merged in the master branch:
commit e249aace420e20996fef8ace2b5051d5bbdcd809
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Tue Oct 6 14:46:09 2009 -0400
Permit DNS SRV record lookups to be used by the Windows afsconf_GetAfsdbInfo
Permit DNS SRV record lookups to be used by the Windows afsconf_GetAfsdbInfo
As per the published DNS SRV internet draft for the AFS3 protocol,
DNS SRV records are to replace AFSDB records as the primary method
of looking up AFS3 service location information.
In order to make that happen for Windows:
1. afsconf_GetAfsdbInfo must be able to translate from internal service
names to IANA assigned service names.
2. The Windows getAFSServer() API must accept IANA service and protocol
parameters as well as the port number to use if AFSDB record fallback is
required.
3. The Windows cache manager must pay attention to the port number
stored within the sockaddr_in structure instead of using hard coded
values based upon the server type.
For afsconf_GetAfsdbInfo, in addition to searching for the requested
IANA service, if that service is prserver or kaserver fallback to
the vlserver record (if any).
LICENSE MIT
Reviewed-on: http://gerrit.openafs.org/593
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/afsd_init.c | 2 +
src/WINNT/afsd/cm_callback.c | 1 +
src/WINNT/afsd/cm_config.c | 26 ++++++--
src/WINNT/afsd/cm_conn.c | 27 +++++---
src/WINNT/afsd/cm_dns.c | 152 ++++++++++++++++++++++--------------------
src/WINNT/afsd/cm_dns.h | 11 ++-
src/WINNT/afsd/cm_ioctl.c | 8 ++
src/WINNT/afsd/cm_server.c | 3 +-
src/WINNT/afsd/cm_volume.c | 1 +
src/auth/cellconfig.c | 56 ++++++++++-----
10 files changed, 178 insertions(+), 109 deletions(-)
--
OpenAFS Master Repository