diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2006-04-02 04:28:26 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2006-04-02 04:28:26 +0000 |
commit | 1793a32f2464dc98ebada56908fe5b795ae00676 (patch) | |
tree | 985caf20175758d0e31b1a177abaed9020bba49a /src/windows/identity/ui/main.c | |
parent | c7d16c1e1d721b7c65fa70cd62b965219e544f23 (diff) | |
download | krb5-1793a32f2464dc98ebada56908fe5b795ae00676.tar.gz krb5-1793a32f2464dc98ebada56908fe5b795ae00676.tar.xz krb5-1793a32f2464dc98ebada56908fe5b795ae00676.zip |
Results from Kerberos Interop session:
- 64-bit Windows compatibility
- correct uninitialized variables
- work without kerberos 4 libraries including krb524
- add a mechanism to add and remove identities from
the options dialog. This allows a configuration
to be specified using a separate file based ccache
for each identity
- work without availability of ccapi
- force a renew of credentials on startup to support
the case when MSLSA is the only credential cache
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17832 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/ui/main.c')
-rw-r--r-- | src/windows/identity/ui/main.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/windows/identity/ui/main.c b/src/windows/identity/ui/main.c index 6987db3ef4..cad5dc5667 100644 --- a/src/windows/identity/ui/main.c +++ b/src/windows/identity/ui/main.c @@ -118,6 +118,12 @@ void khm_parse_commandline(void) { break;
}
}
+
+ /* special: always enable renew when other options aren't specified */
+ if (!khm_startup.exit &&
+ !khm_startup.destroy &&
+ !khm_startup.init)
+ khm_startup.renew = TRUE;
}
void khm_register_window_classes(void) {
@@ -552,9 +558,9 @@ int WINAPI WinMain(HINSTANCE hInstance, xfer = MapViewOfFile(hmap, FILE_MAP_WRITE, 0, 0,
sizeof(query_app_version));
- if (xfer) {
- ZeroMemory(&query_app_version, sizeof(query_app_version));
+ ZeroMemory(&query_app_version, sizeof(query_app_version));
+ if (xfer) {
query_app_version.magic = KHM_QUERY_APP_VER_MAGIC;
query_app_version.code = KHM_ERROR_NOT_IMPLEMENTED;
query_app_version.ver_caller = app_version;
|