summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/screen.c
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-04-06 03:49:47 +0000
committerKeith Vetter <keithv@fusion.com>1995-04-06 03:49:47 +0000
commit8ae426aca4d7f95de05ec34a9e0dfe5cc70395a3 (patch)
treea32c3f23c5ac1aef1e9fc8230b92c344d563edda /src/windows/wintel/screen.c
parent1d06f0e29f9041438a30c0a09911d911fdf1e1f5 (diff)
downloadkrb5-8ae426aca4d7f95de05ec34a9e0dfe5cc70395a3.tar.gz
krb5-8ae426aca4d7f95de05ec34a9e0dfe5cc70395a3.tar.xz
krb5-8ae426aca4d7f95de05ec34a9e0dfe5cc70395a3.zip
Bug fixes or better error handling for the following 4 Windows bugs
(note, these changes haven't yet been tested on the PC which were failing so no guarantee that they fully work): a) GUI to cns improved so that you don't need a resize for the widgets to align properly, and so the interaction of typing: "username cr password cr" is all you need to do to get you a ticket. b) cns uses krb5_us_gettimeofday instead of krb5_timeofday because the former is more accurate and handles timezones. Probably should make the latter just call the former. c) Added SOCKET_INIT and SOCKET_DESTROY around krb5_sendto_kdc to prevent some tcp/ip stacks from locking up after 8 uses. d) Added a new error message and better error handling to give more precision as to why one PC was getting the error 'Cannot find KDC for requested realm.' git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5342 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/wintel/screen.c')
-rw-r--r--src/windows/wintel/screen.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/windows/wintel/screen.c b/src/windows/wintel/screen.c
index 2f12ad00c..6842b75c9 100644
--- a/src/windows/wintel/screen.c
+++ b/src/windows/wintel/screen.c
@@ -2,7 +2,7 @@
#include <commdlg.h>
#include <stdlib.h>
#include <string.h>
-#include "screen.h"
+#include "telnet.h"
#include "ini.h"
extern char *cInvertedArray;
@@ -759,6 +759,19 @@ LPARAM lParam; /* additional information */
case IDM_PASTE:
Edit_Paste(hWnd);
break;
+ case IDM_ABOUT:
+ #ifdef KRB4
+ strcpy(strTmp, " Kerberos 4 for Windows\n");
+ #endif
+ #ifdef KRB5
+ strcpy(strTmp, " Kerberos 5 for Windows\n");
+ #endif
+ strcat(strTmp, "\n Version 1.00\n\n");
+ strcat(strTmp, " For support, contact:\n");
+ strcat(strTmp, "Cygnus Support");
+ strcat(strTmp, " - (415) 903-1400");
+ MessageBox(NULL, strTmp, "Kerberos", MB_OK);
+ break;
#ifdef _DEBUG
case IDM_DEBUG:
CheckScreen(fpScr);