diff options
| author | Keith Vetter <keithv@fusion.com> | 1995-04-06 03:49:47 +0000 |
|---|---|---|
| committer | Keith Vetter <keithv@fusion.com> | 1995-04-06 03:49:47 +0000 |
| commit | 8ae426aca4d7f95de05ec34a9e0dfe5cc70395a3 (patch) | |
| tree | a32c3f23c5ac1aef1e9fc8230b92c344d563edda /src/windows/wintel | |
| parent | 1d06f0e29f9041438a30c0a09911d911fdf1e1f5 (diff) | |
| download | krb5-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')
| -rw-r--r-- | src/windows/wintel/changelo | 5 | ||||
| -rw-r--r-- | src/windows/wintel/dialog.h | 1 | ||||
| -rw-r--r-- | src/windows/wintel/screen.c | 15 | ||||
| -rw-r--r-- | src/windows/wintel/screen.h | 1 | ||||
| -rw-r--r-- | src/windows/wintel/telnet.rc | 1 |
5 files changed, 21 insertions, 2 deletions
diff --git a/src/windows/wintel/changelo b/src/windows/wintel/changelo index 34b6ed30d..f903d1045 100644 --- a/src/windows/wintel/changelo +++ b/src/windows/wintel/changelo @@ -1,3 +1,8 @@ +Wed Apr 5 16:18:30 1995 Keith Vetter (keithv@fusion.com) + + * screen.c, screen.h, dialog.h, telnet.rc: added an about + box with version number. + Fri Mar 31 16:24:52 1995 Keith Vetter (keithv@fusion.com) * telnet.c, wt-proto.h: added command line option to set port number diff --git a/src/windows/wintel/dialog.h b/src/windows/wintel/dialog.h index da4790f74..cfec5928a 100644 --- a/src/windows/wintel/dialog.h +++ b/src/windows/wintel/dialog.h @@ -1,4 +1,3 @@ -#define IDM_ABOUT 100 #define IDM_SHOWCONSOLE 700 #define IDM_OPENTELNETDLG 200 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); diff --git a/src/windows/wintel/screen.h b/src/windows/wintel/screen.h index edc4d1368..7a472436f 100644 --- a/src/windows/wintel/screen.h +++ b/src/windows/wintel/screen.h @@ -127,6 +127,7 @@ typedef struct CONFIG { #define IDM_FONT 100 #define IDM_BACKSPACE 101 #define IDM_DELETE 102 +#define IDM_ABOUT 103 #define IDM_COPY 200 #define IDM_PASTE 201 diff --git a/src/windows/wintel/telnet.rc b/src/windows/wintel/telnet.rc index bcdcdb569..cbe082578 100644 --- a/src/windows/wintel/telnet.rc +++ b/src/windows/wintel/telnet.rc @@ -14,6 +14,7 @@ BEGIN MENUITEM "&Delete", IDM_DELETE MENUITEM SEPARATOR MENUITEM "&Font...", IDM_FONT + MENUITEM "&About...", IDM_ABOUT END POPUP "&Edit" BEGIN |
