krb5.git
29 years agoWed Jun 14 12:37:51 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
Sam Hartman [Wed, 14 Jun 1995 18:05:37 +0000 (18:05 +0000)]
Wed Jun 14 12:37:51 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>

* configure.in: Check for umask being defined.

* store_mkey.c (krb5_db_store_mkey): Use HAVE_UMASK instead of
unix as a preprocessor define for setting the umask.  AIX doesn't
define unix.

* t_kdb.c (main): Declare option as int, not char.  When char is
unsigned, the comparison to EOF fails and it loops forever.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6060 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFor shared library support create symlinks to the .so images in the
Ezra Peisach [Wed, 14 Jun 1995 14:20:33 +0000 (14:20 +0000)]
For shared library support create symlinks to the .so images in the
subdirs.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6058 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDon't copy library up a level. Let above Makefile create symlink for
Ezra Peisach [Wed, 14 Jun 1995 14:19:34 +0000 (14:19 +0000)]
Don't copy library up a level. Let above Makefile create symlink for
this library and the .so

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6057 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago Instead of special casing _AIX in network.c, look for
Sam Hartman [Tue, 13 Jun 1995 22:22:32 +0000 (22:22 +0000)]
Instead of special casing _AIX in network.c, look for
SYS_SELECT_H in configure.in and check this symbol to include
sys/select.h in network.c.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6056 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago Only defining DEVICE_OPEN et al when unix was defined breaks
Sam Hartman [Tue, 13 Jun 1995 22:20:59 +0000 (22:20 +0000)]
Only defining DEVICE_OPEN et al when unix was defined breaks
AIX.  Instead, assume POSIX behavior (just open the devices), and
special case anything that differs (PC, Mac).  Currently, there
weren't any special cases anyway.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6055 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoReally check for /bin/sh5
Paul Park [Tue, 13 Jun 1995 20:15:56 +0000 (20:15 +0000)]
Really check for /bin/sh5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6054 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix test for Ultrix and Solaris
Paul Park [Tue, 13 Jun 1995 20:02:23 +0000 (20:02 +0000)]
Fix test for Ultrix and Solaris

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6053 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago Check for sys/select.h and include if found. Required to
Sam Hartman [Tue, 13 Jun 1995 16:42:44 +0000 (16:42 +0000)]
Check for sys/select.h and include if found.  Required to
compile under AIX.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6052 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * Makefile.in: don't install libss.a
Tom Yu [Tue, 13 Jun 1995 05:49:42 +0000 (05:49 +0000)]
* Makefile.in: don't install libss.a

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6051 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * aclocal.m4 (CopySrcHeader): do a set -x before mkdir
Tom Yu [Tue, 13 Jun 1995 05:47:12 +0000 (05:47 +0000)]
* aclocal.m4 (CopySrcHeader): do a set -x before mkdir
_MAKE_SUBDIRS: inserted a "-@" rather than a "@" at the
beginning of the rule; Ultrix make does /bin/sh -e
ruleline if it's not there, and set +e doesn't work.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6050 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago(kdc_process_tgs_req): Set the auth_context rcache to null before
Ezra Peisach [Tue, 13 Jun 1995 00:08:35 +0000 (00:08 +0000)]
(kdc_process_tgs_req): Set the auth_context rcache to null before
freeing auth_context. This keeps the rcache valid (to be close elsewhere)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6044 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)
Chris Provenzano [Mon, 12 Jun 1995 21:41:23 +0000 (21:41 +0000)]
A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)
* in_tkt_ktb.c (keytab_keyproc()): Fix memory leak.
* recvauth.c (krb5_recvauth()): Don't open a new rcache if
the auth_context already has one.
* auth_con.c (krb5_auth_con_free()): Close rcache is the
auth_context has one set.
* auth_con.c (krb5_auth_con_getrcache()): Return pointer
to the rcache set in the auth_context.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6043 dc483132-0cff-0310-8789-dd5450dbe970

29 years agodefinition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)
Ezra Peisach [Sun, 11 Jun 1995 17:00:02 +0000 (17:00 +0000)]
definition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)
is only the size of the pointer - not the structure size!

auth_con_init: Zero the entire auth_context... With the change in

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6041 dc483132-0cff-0310-8789-dd5450dbe970

29 years agokrb5.tex: Update krb5_auth_context usage. Add krb5_get_cred_via_tkt
Ezra Peisach [Sun, 11 Jun 1995 13:34:00 +0000 (13:34 +0000)]
krb5.tex: Update krb5_auth_context usage. Add krb5_get_cred_via_tkt

ccache.tex: Add krb5_get_notification_message.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6040 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago(clean): Remove t_kdb and t_kdb.o
Ezra Peisach [Sun, 11 Jun 1995 13:27:22 +0000 (13:27 +0000)]
(clean): Remove t_kdb and t_kdb.o

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6039 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago(clean-unix): Remove $(UNIX_OBJS)
Ezra Peisach [Sun, 11 Jun 1995 13:25:09 +0000 (13:25 +0000)]
(clean-unix): Remove $(UNIX_OBJS)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6038 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd missing declaration of krb5_auth_con_initivector
Ezra Peisach [Sun, 11 Jun 1995 13:21:51 +0000 (13:21 +0000)]
Add missing declaration of krb5_auth_con_initivector

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6037 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * configure.in: fix intial value of CDEFS_INCLUDE so that make
Tom Yu [Sun, 11 Jun 1995 06:53:02 +0000 (06:53 +0000)]
* configure.in: fix intial value of CDEFS_INCLUDE so that make
check doesn't end up with a "-I "

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6036 dc483132-0cff-0310-8789-dd5450dbe970

29 years agochanges to accomodate redefinition of krb5_auth_context
Tom Yu [Sun, 11 Jun 1995 06:31:30 +0000 (06:31 +0000)]
changes to accomodate redefinition of krb5_auth_context

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6035 dc483132-0cff-0310-8789-dd5450dbe970

29 years agorecv_tocken: Initialize stack variable to 0 before using
Ezra Peisach [Sat, 10 Jun 1995 23:19:43 +0000 (23:19 +0000)]
recv_tocken: Initialize stack variable to 0 before using

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6034 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRemoved HAS_ANSI_CONST, HAS_ANSI_VOLATILE, HAS_SYS_FILE,
Ezra Peisach [Sat, 10 Jun 1995 12:29:39 +0000 (12:29 +0000)]
Removed HAS_ANSI_CONST, HAS_ANSI_VOLATILE, HAS_SYS_FILE,
HAS_SYS_PARAM_H, TM_IN_SYS_TIME. include/krb5/configure does not check
for these and are therefore these are never set.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6033 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAllow for partial reads while reading the token
Theodore Tso [Sat, 10 Jun 1995 04:29:38 +0000 (04:29 +0000)]
Allow for partial reads while reading the token

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6032 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMake sure the status return from krb5_scc_store_principal is reflected
Theodore Tso [Sat, 10 Jun 1995 04:05:32 +0000 (04:05 +0000)]
Make sure the status return from krb5_scc_store_principal is reflected
in the return status of krb5_scc_initialize().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6031 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMake sure the status return from krb5_fcc_store_principal is reflected
Theodore Tso [Sat, 10 Jun 1995 04:04:41 +0000 (04:04 +0000)]
Make sure the status return from krb5_fcc_store_principal is reflected
in the return status of krb5_fcc_initialize().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6030 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChange assertion to check to make sure that the day of the month is >=
Theodore Tso [Sat, 10 Jun 1995 03:47:44 +0000 (03:47 +0000)]
Change assertion to check to make sure that the day of the month is >=
1, not 0.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6029 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChange the default kadmin instance to be "admin"
Theodore Tso [Sat, 10 Jun 1995 03:47:18 +0000 (03:47 +0000)]
Change the default kadmin instance to be "admin"

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6028 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse the principal "krbtest/admin@KRBTEST.COM" for kadmin
Theodore Tso [Sat, 10 Jun 1995 03:46:49 +0000 (03:46 +0000)]
Use the principal "krbtest/admin@KRBTEST.COM" for kadmin

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6027 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:44:39 +0000 (23:44 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6026 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:37:12 +0000 (23:37 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6025 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:33:58 +0000 (23:33 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6024 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:32:16 +0000 (23:32 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

scc_maybe.c: Fix -Wall nits

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6023 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:32:07 +0000 (23:32 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

fcc_maybe.c: Fix -Wall nits

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6022 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:29:13 +0000 (23:29 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6021 dc483132-0cff-0310-8789-dd5450dbe970

29 years agomd5crypto.c: Fix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:22:40 +0000 (23:22 +0000)]
md5crypto.c: Fix -Wall nits

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6020 dc483132-0cff-0310-8789-dd5450dbe970

29 years agomd4crypto.c: Fix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:21:24 +0000 (23:21 +0000)]
md4crypto.c: Fix -Wall nits

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6019 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:20:47 +0000 (23:20 +0000)]
Fix -Wall nits

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6018 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:17:10 +0000 (23:17 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6017 dc483132-0cff-0310-8789-dd5450dbe970

29 years agodispatch.c, kdc_util.h, kerberos_v4.c: Use KRB5_KRB4_COMPAT instead of
Theodore Tso [Fri, 9 Jun 1995 23:16:14 +0000 (23:16 +0000)]
dispatch.c, kdc_util.h, kerberos_v4.c: Use KRB5_KRB4_COMPAT instead of
KRB4 for determining whether to compile in Kerberos V4 backwards
compatibility

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

do_as_req.c, do_tgs_req.c, kdc_util.c, kerberos_v4.c, main.c,
network.c: Fix -Wall nits.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6016 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:10:30 +0000 (23:10 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6015 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:10:15 +0000 (23:10 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6014 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:55:31 +0000 (22:55 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6013 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:54:31 +0000 (22:54 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6012 dc483132-0cff-0310-8789-dd5450dbe970

29 years agord_req_dec.c (krb5_rd_req_decoded): Fix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 22:50:37 +0000 (22:50 +0000)]
rd_req_dec.c (krb5_rd_req_decoded): Fix -Wall nits

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

Makefile.in, faddr_ordr.c: Remove faddr_ordr.c; its function,
krb5_fulladdr_order, isn't used anywhere.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6011 dc483132-0cff-0310-8789-dd5450dbe970

29 years agokrb5.hin: Remove definition of the krb5_fulladdr structure, and the
Theodore Tso [Fri, 9 Jun 1995 22:47:33 +0000 (22:47 +0000)]
krb5.hin: Remove definition of the krb5_fulladdr structure, and the
prototype for the unused function krb5_fulladdr_order.

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6010 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:43:06 +0000 (22:43 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6009 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:41:51 +0000 (22:41 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

kdc.h: Don't define the macros for max and min; they're already
defined in kdc_util.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6008 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRemove KRB5ROOT
Theodore Tso [Fri, 9 Jun 1995 22:40:22 +0000 (22:40 +0000)]
Remove KRB5ROOT

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6007 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:38:35 +0000 (22:38 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6006 dc483132-0cff-0310-8789-dd5450dbe970

29 years agosim_server.c: #include krb5.h first, to reduce size of debugging
Theodore Tso [Fri, 9 Jun 1995 22:25:10 +0000 (22:25 +0000)]
sim_server.c: #include krb5.h first, to reduce size of debugging
executable.

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6005 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:22:47 +0000 (22:22 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6004 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 22:21:51 +0000 (22:21 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

dumpv4.c: Change name of controlling #ifdef to be KRB5_KRB4_COMPAT
instead of KRB4.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6003 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdded additional changes made to aclocal.m4:
Theodore Tso [Fri, 9 Jun 1995 22:21:07 +0000 (22:21 +0000)]
Added additional changes made to aclocal.m4:

Change name of standardized Kerberos V4 #ifdef variable from
KRB4 to KRB5_KRB4_COMPAT.  KRB4 was already in use in the POP
clients.

Added a new macro rule, DO_SUBDIRS, which includes all of the
MAKE_SUBDIRS macros.  This makes it easier to add global
recursive targets to the tree.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6002 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoaclocal.m4 (CONFIG_RULES): CONFIG_RULES now contains the standardized
Theodore Tso [Fri, 9 Jun 1995 22:12:59 +0000 (22:12 +0000)]
aclocal.m4 (CONFIG_RULES): CONFIG_RULES now contains the standardized
autoconf macros which all configure.in files will include.
Removed WITH_KRB5ROOT, since it's no longer used.

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6001 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoBuild adm_err.h here
Paul Park [Fri, 9 Jun 1995 16:49:02 +0000 (16:49 +0000)]
Build adm_err.h here

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6000 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoPorted to DEC Alpha OSF/1:
Ezra Peisach [Fri, 9 Jun 1995 10:56:54 +0000 (10:56 +0000)]
Ported to DEC Alpha OSF/1:

kadm_stream.c (vts_long, stv_long): Change u_long to krb5_ui_4
kadm_server.c (kadm_ser_ckpw): Change u_long to krb5_ui_4
kadm_ser_wrap.c (errpkt, kadm_ser_in):  Change u_long to krb5_ui_4
kadm_funcs.c (kadm_add_entry):  Change u_long to krb5_ui_4
admin_server.c (process_client): Change u_long to krb5_ui_4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5999 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoerror.c (ss_error): remove const declaration from local variable. (it is
Ezra Peisach [Fri, 9 Jun 1995 10:38:29 +0000 (10:38 +0000)]
error.c (ss_error): remove const declaration from local variable. (it is
used with free is called on the contents).

ss_internal.h: Include stdlib.h if present on system. If is present,
don't redeclare malloc.

configure.in: Check for stdlib.h before including blindly.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5998 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago oops these weren't necessary
Tom Yu [Fri, 9 Jun 1995 07:46:23 +0000 (07:46 +0000)]
oops these weren't necessary

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5997 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * Makefile.in: don't install et-generated headers in the build tree
Tom Yu [Fri, 9 Jun 1995 06:51:35 +0000 (06:51 +0000)]
* Makefile.in: don't install et-generated headers in the build tree

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5996 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * Makefile.in, configure.in: use CopyHeader rather than hand-coded
Tom Yu [Fri, 9 Jun 1995 06:50:33 +0000 (06:50 +0000)]
* Makefile.in, configure.in: use CopyHeader rather than hand-coded
header install rule.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5995 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * rd_cred.c (krb5_rd_cred_basic): fix typo (extra "context"
Tom Yu [Fri, 9 Jun 1995 06:46:31 +0000 (06:46 +0000)]
* rd_cred.c (krb5_rd_cred_basic): fix typo (extra "context"
argument passed to krb5_xfree)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5994 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * .cvsignore: ignore "configure"
Tom Yu [Fri, 9 Jun 1995 04:06:25 +0000 (04:06 +0000)]
* .cvsignore: ignore "configure"

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5993 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago$($(WHAT)_OBJS) is not accepted by all Makes! We assume for now that
Theodore Tso [Fri, 9 Jun 1995 03:34:06 +0000 (03:34 +0000)]
$($(WHAT)_OBJS) is not accepted by all Makes!  We assume for now that
libkadm.a rule is only used by Unix, which should be a valid
assumption, and build handle $(UNIX_OBJS) there.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5992 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoread_passwd.c (des_read_pw_string): Don't depend on
Theodore Tso [Fri, 9 Jun 1995 03:26:30 +0000 (03:26 +0000)]
read_passwd.c (des_read_pw_string): Don't depend on
krb5_read_password(); this created a circular dependency in
the libraries.  This code is now duplicated in
des_read_pw_string.

util.c (des_cblock_print_file): Fix -Wall nit.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5991 dc483132-0cff-0310-8789-dd5450dbe970

29 years agolist_req.c, ss_internal.h: Clean up -Wall flames
Theodore Tso [Fri, 9 Jun 1995 03:23:36 +0000 (03:23 +0000)]
list_req.c, ss_internal.h: Clean up -Wall flames

configure.in: Don't install the internal ss include files.

Makefile.in (install): Don't install in this directory.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5990 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChange mk_cmds so that the output file is always created in the
Theodore Tso [Fri, 9 Jun 1995 02:55:07 +0000 (02:55 +0000)]
Change mk_cmds so that the output file is always created in the
current directory, instead of in the directory where the source file
is located.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5989 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix problem where the ticket field was assigned with a krb5_data,
Theodore Tso [Fri, 9 Jun 1995 02:52:05 +0000 (02:52 +0000)]
Fix problem where the ticket field was assigned with a krb5_data,
which was then immediately freed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5988 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDon't install compile_et.1; we're not installing the program, anyway
Theodore Tso [Thu, 8 Jun 1995 21:58:00 +0000 (21:58 +0000)]
Don't install compile_et.1; we're not installing the program, anyway

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5987 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd install target
Theodore Tso [Thu, 8 Jun 1995 21:57:26 +0000 (21:57 +0000)]
Add install target

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5986 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDon't install the install/kerberosIV header files
Theodore Tso [Thu, 8 Jun 1995 21:48:22 +0000 (21:48 +0000)]
Don't install the install/kerberosIV header files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5985 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoIntegrated patch from OpenVision which allows klist to list keytabs as
Theodore Tso [Thu, 8 Jun 1995 21:47:51 +0000 (21:47 +0000)]
Integrated patch from OpenVision which allows klist to list keytabs as
well as ccache's.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5984 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDefine ${prefix} since exec_prefix is sometimes to that. Don't create
Theodore Tso [Thu, 8 Jun 1995 21:46:24 +0000 (21:46 +0000)]
Define ${prefix} since exec_prefix is sometimes to that.  Don't create
the directories include/krb5 and include/kerberosIV when installing.
(They're not needed).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5983 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRemove excess definitions of prefix, exec_prefix, etc. (Defined in
Theodore Tso [Thu, 8 Jun 1995 21:43:50 +0000 (21:43 +0000)]
Remove excess definitions of prefix, exec_prefix, etc. (Defined in
config/pre.in)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5982 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoClean up gcc -Wall flames
Theodore Tso [Thu, 8 Jun 1995 21:20:04 +0000 (21:20 +0000)]
Clean up gcc -Wall flames

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5981 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd comment explaining old admin acl
Theodore Tso [Thu, 8 Jun 1995 20:06:03 +0000 (20:06 +0000)]
Add comment explaining old admin acl

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5980 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDon't install the include/krb5 header files
Theodore Tso [Thu, 8 Jun 1995 20:00:20 +0000 (20:00 +0000)]
Don't install the include/krb5 header files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5979 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd description of logging section
Paul Park [Thu, 8 Jun 1995 19:09:11 +0000 (19:09 +0000)]
Add description of logging section

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5978 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd logging section to profile, export profile to root shell
Paul Park [Thu, 8 Jun 1995 19:08:46 +0000 (19:08 +0000)]
Add logging section to profile, export profile to root shell

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5977 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUpdate kadmind5 to use new logging routines
Paul Park [Thu, 8 Jun 1995 19:08:06 +0000 (19:08 +0000)]
Update kadmind5 to use new logging routines

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5976 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd new logging control routines
Paul Park [Thu, 8 Jun 1995 19:05:29 +0000 (19:05 +0000)]
Add new logging control routines

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5975 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd prototypes for logging routines
Paul Park [Thu, 8 Jun 1995 19:04:38 +0000 (19:04 +0000)]
Add prototypes for logging routines

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5974 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoReinstate default name of kadmin.old ACL file
Paul Park [Thu, 8 Jun 1995 19:03:56 +0000 (19:03 +0000)]
Reinstate default name of kadmin.old ACL file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5973 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoosconf.h: Use INSTALL and INSTALL_PREFIX instead of KRB5ROOT. How the
Theodore Tso [Wed, 7 Jun 1995 20:26:59 +0000 (20:26 +0000)]
osconf.h: Use INSTALL and INSTALL_PREFIX instead of KRB5ROOT.  How the
filenames are determined have been completely revamped.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5972 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMakefile.in: Process osconf.h using PREFIX and EXEC_PREFIX instead of
Theodore Tso [Wed, 7 Jun 1995 20:26:06 +0000 (20:26 +0000)]
Makefile.in: Process osconf.h using PREFIX and EXEC_PREFIX instead of
KRB5ROOT.

k5-config.h: Remove old defines for krb.conf and krb.realms, which are
now obsolete.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5971 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMakefile.in (CFLAGS), srv_acl.c (acl_init): Use KRB5_DEFAULT_ADMIN_ACL
Theodore Tso [Wed, 7 Jun 1995 20:12:18 +0000 (20:12 +0000)]
Makefile.in (CFLAGS), srv_acl.c (acl_init): Use KRB5_DEFAULT_ADMIN_ACL
defined in osconf.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5970 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMakefile.in (INSTALLMKDIRS): Make sure that the $(INSTALL_PREFIX) directory
Theodore Tso [Wed, 7 Jun 1995 20:11:21 +0000 (20:11 +0000)]
Makefile.in (INSTALLMKDIRS): Make sure that the $(INSTALL_PREFIX) directory
exists, not $(KRB5ROOT).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5969 dc483132-0cff-0310-8789-dd5450dbe970

29 years agopre.in: Use the GNU/configure standard method of prefix and
Theodore Tso [Wed, 7 Jun 1995 20:09:58 +0000 (20:09 +0000)]
pre.in: Use the GNU/configure standard method of prefix and
exec_prefix to determine where programs get installed.  The
use of KRB5ROOT is obsolete.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5968 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoclean-$(what) should be clean-$(WHAT)
Theodore Tso [Wed, 7 Jun 1995 19:48:13 +0000 (19:48 +0000)]
clean-$(what) should be clean-$(WHAT)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5967 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoconfigure.in (CDEFS_INCLUDE): /bin/sh doesn't grok $(foo); it wants ${foo}!
Theodore Tso [Wed, 7 Jun 1995 19:47:09 +0000 (19:47 +0000)]
configure.in (CDEFS_INCLUDE): /bin/sh doesn't grok $(foo); it wants ${foo}!

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5966 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRemove old CONFIG_FILE code
Theodore Tso [Wed, 7 Jun 1995 19:23:58 +0000 (19:23 +0000)]
Remove old CONFIG_FILE code

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5965 dc483132-0cff-0310-8789-dd5450dbe970

29 years agodef_realm.c (krb5_get_default_realm), get_krbhst.c
Theodore Tso [Wed, 7 Jun 1995 19:22:30 +0000 (19:22 +0000)]
def_realm.c (krb5_get_default_realm), get_krbhst.c
(krb5_get_krbhst), hst_realm.c (krb5_get_host_realm),
init_os_ctx.c (krb5_os_init_context), osconfig.c,
realm_dom.c (krb5_get_realm_domain): Remove old ifdef'ed
code which read in krb.conf and krb.realms.

read_pwd.c (krb5_read_password): Remove old #ifdef notdef code.
Significantly simplified and cleaned up function.
Removed BSD 4.3 compatibility code.  (If we ever need
to make this work on a non-POSIX system, we'll supply
POSIX termios emulation functions in src/lib/krb5/posix.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5964 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoInclude time.h (or sys/time.h) for struct tm structure which is now
Ezra Peisach [Wed, 7 Jun 1995 14:15:56 +0000 (14:15 +0000)]
Include time.h (or sys/time.h) for struct tm structure which is now
referenced in the los-proto.h file.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5963 dc483132-0cff-0310-8789-dd5450dbe970

29 years agotest.c (do_remote): Case sockaddr_in * to sockaddr * in calling
Ezra Peisach [Wed, 7 Jun 1995 01:20:12 +0000 (01:20 +0000)]
test.c (do_remote): Case sockaddr_in * to sockaddr * in calling
krb524_convert_creds_addr.
(krb4_print_ticket): issue_time should be a KRB4_32

encode.c (encode_v4tkt): Cast a the unsigned long mbz field of KTEXT to
krb5_int32 for call to encode_int32.

conv_creds.c (krb524_convert_creds_addr): Cast sockaddr * to sockaddr_in *.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5962 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChange lifetime field of decomp_ticket prototype to KRB4_32 to match the
Ezra Peisach [Wed, 7 Jun 1995 01:18:38 +0000 (01:18 +0000)]
Change lifetime field of decomp_ticket prototype to KRB4_32 to match the
Cygnus krb4 library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5961 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago(key_decrypt_keys): On error, when clearing keyblocks, set contents to null.
Ezra Peisach [Wed, 7 Jun 1995 00:40:44 +0000 (00:40 +0000)]
(key_decrypt_keys): On error, when clearing keyblocks, set contents to null.
(key_get_admin_entry):  Allocate enough memory for admin_princ_name.
Initialize akey and pkey to zero.
Cannot use krb5_free_keyblock on stack based keyblock.
(key_finish): Cannot use krb5_free_keyblock on bss based keyblock.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5960 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * configure.in: fix make install
Tom Yu [Wed, 7 Jun 1995 00:06:19 +0000 (00:06 +0000)]
* configure.in: fix make install

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5959 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * configure.in:
Tom Yu [Wed, 7 Jun 1995 00:05:31 +0000 (00:05 +0000)]
* configure.in:
* Makefile.in: fix make install

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5958 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse ARADD instead of ARCHIVE
Paul Park [Tue, 6 Jun 1995 21:32:52 +0000 (21:32 +0000)]
Use ARADD instead of ARCHIVE

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5957 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix strings for Ultrix native compiler
Paul Park [Tue, 6 Jun 1995 21:32:25 +0000 (21:32 +0000)]
Fix strings for Ultrix native compiler

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5956 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoBuild the krb524 directory
Theodore Tso [Tue, 6 Jun 1995 16:39:22 +0000 (16:39 +0000)]
Build the krb524 directory

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5955 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRename save_credentials to krb_save_credentials, to match the Cygnus
Theodore Tso [Tue, 6 Jun 1995 16:37:21 +0000 (16:37 +0000)]
Rename save_credentials to krb_save_credentials, to match the Cygnus
krb4 library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5954 dc483132-0cff-0310-8789-dd5450dbe970