OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-151-g65dcd0a

Gerrit Code Review gerrit@openafs.org
Fri, 19 Mar 2010 13:10:15 -0700 (PDT)


The following commit has been merged in the master branch:
commit 65dcd0a7dabea704973d7f67c1733d2a47559f1b
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sat Mar 6 17:32:57 2010 -0500

    afsadminutil: translate krb5 error messages on Windows
    
    util_AdminErrorCodeTranslate() is used to translate error
    code messages within the libadmin library set and is used
    by translate_et.  This has in the past not translated
    krb5 error codes.
    
    This patchset conditionally adds support for using
    krb5_get_error_message() or error_message() on the Windows
    platform if KFW is installed.  This is accomplished by
    adding new functions to afsutil.lib:
    
      initialize_krb5()
      fetch_krb5_error_message()
    
    which are used within util_AdminErrorCodeTranslate()
    only if AFS_KRB5_ERROR_ENV is defined.
    
    Support for Unix is not provided at the present time
    because doing this "right" will lead to a dependence on
    kerberos libraries from this library, which we might want
    to avoid.
    
    Change-Id: I7caf7b8e41cfd806f4defc175aa45afb165ec244
    Reviewed-on: http://gerrit.openafs.org/1531
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>

 src/config/param.amd64_w2k.h           |    1 +
 src/config/param.i386_nt40.h           |    1 +
 src/config/param.i386_w2k.h            |    1 +
 src/libadmin/adminutil/NTMakefile      |   17 ++++++-
 src/libadmin/adminutil/afs_utilAdmin.c |   12 ++++-
 src/util/NTMakefile                    |    4 ++
 src/util/krb5_nt.c                     |   80 ++++++++++++++++++++++++++++++++
 src/util/krb5_nt.h                     |   35 ++++++++++++++
 8 files changed, 149 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository