summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-12-21 08:15:50 +0000
committerTheodore Tso <tytso@mit.edu>1996-12-21 08:15:50 +0000
commite62da738ef5a242b9281c8fb495aa53a10b4e7c9 (patch)
tree4861818ab6a5ddf5183aeadd49cb8af518f12538 /src/windows/cns
parent46f21889c3d2c4ff9f9590dad9b60448cbd69914 (diff)
downloadkrb5-e62da738ef5a242b9281c8fb495aa53a10b4e7c9.tar.gz
krb5-e62da738ef5a242b9281c8fb495aa53a10b4e7c9.tar.xz
krb5-e62da738ef5a242b9281c8fb495aa53a10b4e7c9.zip
krb5.def: New file, copied from cns.def, with Cygnus'isms #ifdef'ed
out. cns.c: Removed text "Contacting Cygnus Support for support" from the "about" box. Makefile.in: Change name of cns.exe to be krb5.exe (CNS is a Cygnus trademark) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9675 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/ChangeLog9
-rw-r--r--src/windows/cns/Makefile.in2
-rw-r--r--src/windows/cns/cns.c4
-rw-r--r--src/windows/cns/krb5.def9
4 files changed, 23 insertions, 1 deletions
diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog
index 6526c65e0a..ef790cfdc3 100644
--- a/src/windows/cns/ChangeLog
+++ b/src/windows/cns/ChangeLog
@@ -1,3 +1,12 @@
+Sat Dec 21 03:13:02 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * krb5.def: New file, copied from cns.def, with Cygnus'isms #ifdef'ed
+ out.
+ * cns.c: Removed text "Contacting Cygnus Support for support" from
+ the "about" box.
+ * Makefile.in: Change name of cns.exe to be krb5.exe (CNS is a
+ Cygnus trademark)
+
Sat Nov 23 00:26:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in (KLIB): Change krb516.dll to krb5_16.dll. [PR#204]
diff --git a/src/windows/cns/Makefile.in b/src/windows/cns/Makefile.in
index 6ef265c032..4759d16cb4 100644
--- a/src/windows/cns/Makefile.in
+++ b/src/windows/cns/Makefile.in
@@ -1,7 +1,7 @@
# makefile: Constructs the Kerberos for Windows ticket manager
# Works for both k4 and k5 releases.
#
-NAME = cns
+NAME = krb5
OBJS = $(NAME).obj tktlist.obj
##### Options
diff --git a/src/windows/cns/cns.c b/src/windows/cns/cns.c
index 6d6af861d1..e5969a11c2 100644
--- a/src/windows/cns/cns.c
+++ b/src/windows/cns/cns.c
@@ -47,7 +47,9 @@
#define MAX_KPW_LEN 128
/* include space for '.' and '@' */
#define MAX_K_NAME_SZ (ANAME_SZ + INST_SZ + REALM_SZ + 2)
+#ifdef CYGNUS
#define ORGANIZATION "Cygnus Support"
+#endif
#define CREDENTIALS char
#endif
@@ -2139,9 +2141,11 @@ kwin_command (
strcpy(copyright, " Kerberos 5 for Windows\n");
#endif
strcat(copyright, "\n Version 1.00\n\n");
+#ifdef CYGNUS
strcat(copyright, " For support, contact:\n");
strcat(copyright, ORGANIZATION);
strcat(copyright, " - (415) 903-1400");
+#endif
MessageBox(hwnd, copyright, "Kerberos", MB_OK);
return TRUE;
diff --git a/src/windows/cns/krb5.def b/src/windows/cns/krb5.def
new file mode 100644
index 0000000000..6a88ffbb91
--- /dev/null
+++ b/src/windows/cns/krb5.def
@@ -0,0 +1,9 @@
+NAME KRB5
+DESCRIPTION 'KRB5 - Credentials Manager'
+EXETYPE WINDOWS
+STUB 'WINSTUB.EXE'
+SEGMENTS _TEXT CLASS 'CODE' PRELOAD
+CODE DISCARDABLE
+DATA PRELOAD MULTIPLE MOVEABLE
+HEAPSIZE 20480
+STACKSIZE 20480