OpenAFS CVS Commit: openafs/src/WINNT/netidmgr_plugin by jaltman
Sun, 17 Jun 2007 00:49:32 EDT
Update of /cvs/openafs/src/WINNT/netidmgr_plugin
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/netidmgr_plugin
afsconfigdlg.c afsfuncs.c afsnewcreds.c afsnewcreds.h
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
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 follows ---
windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsconfigdlg.c 1.2 1.3
windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsfuncs.c 1.8 1.9
windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsnewcreds.c 1.3 1.4
windows-nim-afs-20070617 openafs/src/WINNT/netidmgr_plugin/afsnewcreds.h 1.2 1.3