Windows: Modify afscreds.exe and afs_config.exe to be UAC compatible
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Oct 2009 03:43:46 +0000 (23:43 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Wed, 21 Oct 2009 17:50:58 +0000 (10:50 -0700)
commit040712a744dd5e021d20987c2e2a98ac0f129b15
tree88ce2357a6d8aa440ec39ae72fdfffc94fde6eb2
parentee7399fa3795652c3d903e9af2baa9ba0174ca03
Windows: Modify afscreds.exe and afs_config.exe to be UAC compatible

afscreds.exe:
 1. disable the drive mapping and advanced tabs.
 2. on exit, remove the option to stop the service.

afs_config.exe:
 1. disable the drive mapping tab

Removing this functionality by default will address some of the
problems while permitting users that wish to continue using these tools
to do so.   The drive mapping tab can be re-enabled setting the registry
value to be non-zero:

  {HKCU,HKLM}\Software\OpenAFS\Client DWORD "ShowMountTab"

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/663
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/client_config/main.cpp
src/WINNT/client_creds/NTMakefile
src/WINNT/client_creds/window.cpp