OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-92-g6b0e403

Gerrit Code Review gerrit@openafs.org
Mon, 19 Oct 2009 14:17:12 -0700 (PDT)


The following commit has been merged in the master branch:
commit 6b0e4039c65262e68481ff43bc0cce531c5b39eb
Author: Asanka Herath <asanka@secure-endpoints.com>
Date:   Mon Oct 19 17:12:32 2009 -0400

    Windows: Add a token status icon to the NIM plug-in
    
    The Network Identity Manager plug-in for OpenAFS replaces
    afscreds.exe for token management.  However, unlike afscreds.exe,
    the plug-in did not indicate the status of AFS tokens using an
    icon in the notification area.
    
    This patch adds a token status icon to the plug-in so that while
    the plug-in is used, a familiar padlock icon in the notification
    area will indicate the status of tokens as well as the OpenAFS
    service.
    
    There are four possible states indicated by the icons:
    
    - No tokens: indicated by a padlock with a bright red 'X' beside
      it.
    
    - At least one valid token: indicated by a normal padlock.
    
    - Service is not running: indicated by a grayed out padlock with
      a black square beside it.
    
    - Service error: indicated by a padlock broken in half.
    
    The 'Service error' state means that the OpenAFS client service
    is technically running (as reported by Windows), but is not
    responding to requests.
    
    In addition to the icon, hovering the mouse cursor over the icon
    will show details about the current state (such as the list of
    cells for which valid tokens exist) and the version of OpenAFS
    running on the machine.
    
    Reviewed-on: http://gerrit.openafs.org/683
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>

 src/WINNT/netidmgr_plugin/NTMakefile               |    6 +
 src/WINNT/netidmgr_plugin/afscred.h                |   56 +++++
 src/WINNT/netidmgr_plugin/afsfuncs.c               |   14 +-
 src/WINNT/netidmgr_plugin/afsicon.c                |  239 ++++++++++++++++++++
 src/WINNT/netidmgr_plugin/afsplugin.c              |   76 ++++---
 src/WINNT/netidmgr_plugin/images/creds_broke.ico   |  Bin 0 -> 318 bytes
 src/WINNT/netidmgr_plugin/images/creds_none.ico    |  Bin 0 -> 318 bytes
 src/WINNT/netidmgr_plugin/images/creds_ok.ico      |  Bin 0 -> 318 bytes
 src/WINNT/netidmgr_plugin/images/creds_stopped.ico |  Bin 0 -> 318 bytes
 src/WINNT/netidmgr_plugin/lang/en_us/langres.rc    |   32 ++-
 src/WINNT/netidmgr_plugin/langres.h                |   12 +-
 11 files changed, 387 insertions(+), 48 deletions(-)

-- 
OpenAFS Master Repository