OpenAFS CVS Commit: openafs/src/WINNT/netidmgr_plugin by jaltman

Sun, 17 Jun 2007 00:50:30 EDT

Update of /cvs/openafs/src/WINNT/netidmgr_plugin
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/netidmgr_plugin

Modified Files:
      Tag: openafs-devel-1_5_x
	afsconfigdlg.c afsfuncs.c afsnewcreds.c afsnewcreds.h 
Log Message:
DELTA DEVEL15-windows-nim-afs-20070617

Don't assume that WM_DESTROY is the final message received by a
window.  Verify dialog data structures when handling messages and
reset the window data field when freeing the data structure.

Zero should be considered a valid credentials type identifier in
Network Identity Manager.

When checking if an identity is configured to obtain a token for a
specific cell, don't go through the list of cells if AFS tokens
are disabled for the identity.

Similarly, when removing a token for a specific cell from all
identities, don't bother modifying identities for whom AFS tokens
are disabled.

Keep track of whether a specific cell was added to the list of
cells to authenticate for an identity because it was listed in the
configuration or because a token for the cell already existed.

Correct an off-by-one error when calculating buffer sizes for
multi strings which failed to account for a double NULL

Don't update the cell->identity mapping if a token for that cell
could not be obtained.

If the list of cell to authenticate for an identity is empty, we
still need to write the empty string to the configuration.
Otherwise, removing all the tokens from an identity will not
result in a configuration change reflecting that.

--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsconfigdlg.c
DEVEL15-windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsfuncs.c
DEVEL15-windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsnewcreds.c
DEVEL15-windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsnewcreds.h