windows-nim-afscred-identity-initialization-20080108
authorAsanka Herath <asanka@secure-endpoints.com>
Tue, 8 Jan 2008 17:04:19 +0000 (17:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Jan 2008 17:04:19 +0000 (17:04 +0000)
commit521f139a89c2f078888b8bad37a495d23723a789
treebdbaa161a6a30d0f76ca1632977c30a9a2fb2bb8
parent5979a37e4e361bd9d2c52b6f6ef4bcce20a3124c
windows-nim-afscred-identity-initialization-20080108

LICENSE MIT

One of the challenges to deploying NIM has been the configuration of
AFS token acquisition.  This patch adds a new registry key hierarchy

  HKLM\SOFTWARE\OpenAFS\Client\Realms

which is used to configure the AFS Provider for a new identity based
upon the realm of the identity.  The Realms key contains subkeys for
each realm for which configuration data is being provided

  HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"

"RealmName" contains one optional value, "AFSEnabled", and subkeys for
each Cell that is to be added to the configuration.  "AFSEnabled" defaults
to 0x01.

   HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"\"CellName"

In "CellName", there are two optional values, "Realm" and "MethodName".
If the values are not specified, the automatic realm and method determination
algorithms are used.

These values can be added to an MSI transform or deployed via Group Policy.
src/WINNT/netidmgr_plugin/afsnewcreds.c