]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-nim-afs-20070617
authorAsanka Herath <asanka@secure-endpoints.com>
Sun, 17 Jun 2007 05:50:29 +0000 (05:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 17 Jun 2007 05:50:29 +0000 (05:50 +0000)
commit5e7faaefcc631e0b3d3690a9018c23cf7c19870a
tree598683f2abf1f338a1815820f06f8e3520449d95
parent7940ab94a87da7799c4d1e7910fdc485433cac87
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
terminator.

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.

(cherry picked from commit 6bc5c0899a9eb6c134c0079406fe28113e5cbeaf)
src/WINNT/netidmgr_plugin/afsconfigdlg.c
src/WINNT/netidmgr_plugin/afsfuncs.c
src/WINNT/netidmgr_plugin/afsnewcreds.c
src/WINNT/netidmgr_plugin/afsnewcreds.h