krb5.git
29 years ago * adm_conn.c (kadm_get_creds): Pass kcontext to os_localaddr
Tom Yu [Thu, 6 Jul 1995 23:20:29 +0000 (23:20 +0000)]
* adm_conn.c (kadm_get_creds): Pass kcontext to os_localaddr

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

29 years ago * localaddr.c: moved to lib/crypto/os; just a stub here
Tom Yu [Thu, 6 Jul 1995 23:19:46 +0000 (23:19 +0000)]
* localaddr.c: moved to lib/crypto/os; just a stub here

* ustime.c: moved to lib/crypto/os; just a stub here.

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

29 years ago * new_rn_key.c (mit_des_init_random_number_generator): don't call
Tom Yu [Thu, 6 Jul 1995 23:18:24 +0000 (23:18 +0000)]
* new_rn_key.c (mit_des_init_random_number_generator): don't call
us_timeofday with context arg; also update for new
function names (krb5_crypto_*).

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

29 years ago * localaddr.c: migrated from lib/krb5/os
Tom Yu [Thu, 6 Jul 1995 23:16:55 +0000 (23:16 +0000)]
* localaddr.c: migrated from lib/krb5/os

* ustime.c: migrated from lib/krb5/os; removed context variable
from arglist.

* Makefile.in: don't copy or remove localaddr.c and ustime.c;
they're local now.

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

29 years agoprof_int.h must be included after stdio.h for prototypes
Ezra Peisach [Thu, 6 Jul 1995 14:06:33 +0000 (14:06 +0000)]
prof_int.h must be included after stdio.h for prototypes

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

29 years agoRemove t_an_to_ln.o when making clean
Ezra Peisach [Thu, 6 Jul 1995 13:59:14 +0000 (13:59 +0000)]
Remove t_an_to_ln.o when making clean

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

29 years agoChecking in the change of removing makeshlib
Ezra Peisach [Thu, 6 Jul 1995 13:55:53 +0000 (13:55 +0000)]
Checking in the change of removing makeshlib

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

29 years agoRemove makeshlib on clean
Ezra Peisach [Thu, 6 Jul 1995 13:55:04 +0000 (13:55 +0000)]
Remove makeshlib on clean

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

29 years agoAdded MPW Worksheet to build on Macintosh (may get replaced later)
Keith Vetter [Thu, 6 Jul 1995 01:41:48 +0000 (01:41 +0000)]
Added MPW Worksheet to build on Macintosh  (may get replaced later)

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

29 years agoChanges for Macintosh implementation
Keith Vetter [Thu, 6 Jul 1995 01:39:47 +0000 (01:39 +0000)]
Changes for Macintosh implementation

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

29 years agoRemove declaration of errno altoghether. "extern int errno;" is
Theodore Tso [Thu, 6 Jul 1995 00:08:24 +0000 (00:08 +0000)]
Remove declaration of errno altoghether.  "extern int errno;" is
always wrong.

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

29 years agoDon't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Theodore Tso [Thu, 6 Jul 1995 00:05:35 +0000 (00:05 +0000)]
Don't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Don't just blindly set the file status flags to 0.  Instead, do a
fcntl(0, F_GETFL), and then reset the nonblocking flags.

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

29 years ago * makeshlib.sh: Add support for NetBSD shared libraries
Tom Yu [Tue, 4 Jul 1995 06:13:59 +0000 (06:13 +0000)]
* makeshlib.sh: Add support for NetBSD shared libraries

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

29 years ago * configure.in: Add support for NetBSD shared libraries
Tom Yu [Tue, 4 Jul 1995 06:13:27 +0000 (06:13 +0000)]
* configure.in: Add support for NetBSD shared libraries

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

29 years ago * Makefile.in (libdb.a): Quiet the if statement
Tom Yu [Mon, 3 Jul 1995 19:17:41 +0000 (19:17 +0000)]
* Makefile.in (libdb.a): Quiet the if statement

* configure.in: Symlink $(TOPLIBD)/libdb.* from the right place.

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

29 years ago* Replace Gcc test from top level configure.in with one from
Sam Hartman [Mon, 3 Jul 1995 01:46:55 +0000 (01:46 +0000)]
* Replace Gcc test from top level configure.in with one from
util/configure.in.

* Modify top level configure.in and util/makeshlib.sh so AIX can
build/use shared libs with Gcc.

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

29 years ago * aclocal.m4 (_MAKE_SUBDIRS): Fixed so that error propogates
Tom Yu [Mon, 3 Jul 1995 00:13:32 +0000 (00:13 +0000)]
* aclocal.m4 (_MAKE_SUBDIRS): Fixed so that error propogates
upward if -[ik] not specified.

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Sun, 2 Jul 1995 23:59:05 +0000 (23:59 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Declare errno as extern int, not just int.  This prevents masking the
definition in the c library, which can make life interesting under
AIX.

CVS:

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Sun, 2 Jul 1995 23:22:04 +0000 (23:22 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Correct logic in krb5_recvauth so that it returns an error reply if
authentication fails.

CVS:

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

29 years ago * aclocal.m4 (SubdirLibRule): don't recreate DONE if list of objs
Tom Yu [Sun, 2 Jul 1995 10:50:04 +0000 (10:50 +0000)]
* aclocal.m4 (SubdirLibRule): don't recreate DONE if list of objs
is null to avoid re-making lotsa stuff.
(_MAKE_SUBDIRS): really gross sh hack for subdir
recursion; make -[ik] should dtrt now even with broken
makes (like Ultrix) that do sh -ce "rule".  Basically,
throw an "if" test around the recursion line so that even
if the -e option to sh is set by make, an error in a
subdir below won't cause for loop to exit unless we want
it to.

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

29 years ago * commands.c: rename setmode() and clearmode() to tel_setmode()
Tom Yu [Sun, 2 Jul 1995 09:19:35 +0000 (09:19 +0000)]
* commands.c: rename setmode() and clearmode() to tel_setmode()
and tel_clearmode() to avoid conflicts with setmode()
defined in NetBSD unistd.h

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

29 years ago * configure.in: Don't check for pgno_t; it's not in sys/types.h on
Tom Yu [Sun, 2 Jul 1995 05:23:21 +0000 (05:23 +0000)]
* configure.in: Don't check for pgno_t; it's not in sys/types.h on
any system I've seen, and it breaks the following check
for datum.dsize under netbsd.

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

29 years agoAdd shared library support
Paul Park [Fri, 30 Jun 1995 20:22:58 +0000 (20:22 +0000)]
Add shared library support

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

29 years agoAdd ability to switch between Berkeley and DBM for KDC database
Paul Park [Fri, 30 Jun 1995 20:21:49 +0000 (20:21 +0000)]
Add ability to switch between Berkeley and DBM for KDC database

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

29 years agoAdd profile and Berkeley database smarts for aname_to_lname
Paul Park [Fri, 30 Jun 1995 20:21:28 +0000 (20:21 +0000)]
Add profile and Berkeley database smarts for aname_to_lname

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

29 years agoMove Berkeley database code here; remove typo
Paul Park [Fri, 30 Jun 1995 20:20:34 +0000 (20:20 +0000)]
Move Berkeley database code here; remove typo

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

29 years agoDescribe previous changes
Paul Park [Fri, 30 Jun 1995 20:20:03 +0000 (20:20 +0000)]
Describe previous changes

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

29 years agoAdd ability to test using Berkeley or DBM
Paul Park [Fri, 30 Jun 1995 20:19:41 +0000 (20:19 +0000)]
Add ability to test using Berkeley or DBM

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

29 years agoRemove Berkeley database object modules
Paul Park [Fri, 30 Jun 1995 20:19:25 +0000 (20:19 +0000)]
Remove Berkeley database object modules

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

29 years agoAdd function dispatch for database accesses
Paul Park [Fri, 30 Jun 1995 20:19:06 +0000 (20:19 +0000)]
Add function dispatch for database accesses

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

29 years agoFix initialization and terminal disassociation broken by previous rev
Paul Park [Fri, 30 Jun 1995 20:16:55 +0000 (20:16 +0000)]
Fix initialization and terminal disassociation broken by previous rev

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

29 years agoAdd usage of compile(3) for regular expressions so SysV machines have them too
Paul Park [Fri, 30 Jun 1995 20:15:17 +0000 (20:15 +0000)]
Add usage of compile(3) for regular expressions so SysV machines have them too

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

29 years agoAdd kdb dispatch table for changing between Berkeley and DBM
Paul Park [Fri, 30 Jun 1995 20:14:39 +0000 (20:14 +0000)]
Add kdb dispatch table for changing between Berkeley and DBM

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

29 years agoAdd ability to switch between Berkeley and DBM for both aname and KDC database
Paul Park [Fri, 30 Jun 1995 20:11:46 +0000 (20:11 +0000)]
Add ability to switch between Berkeley and DBM for both aname and KDC database

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

29 years agoBe more flexible where sources come from when building shared libraries
Paul Park [Fri, 30 Jun 1995 20:11:05 +0000 (20:11 +0000)]
Be more flexible where sources come from when building shared libraries

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

29 years ago * krb5.hin: special-case ultrix brokenness (again!) for
Tom Yu [Fri, 30 Jun 1995 02:56:32 +0000 (02:56 +0000)]
* krb5.hin: special-case ultrix brokenness (again!) for
KRB5_CONST; krb5.h breaks when typedef'ing while
installed.  Yuck.

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

29 years agoRemove -g from LDFLAGS
Sam Hartman [Thu, 29 Jun 1995 19:05:08 +0000 (19:05 +0000)]
Remove -g from LDFLAGS

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Thu, 29 Jun 1995 18:58:21 +0000 (18:58 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Input the master key before daemoning if you're going to detach.  This
makes kadmind5 -m useful without -n as well.

CVS:

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

29 years ago * configure.in (--with-dbm): new option, allows easy building of
Mark Eichin [Thu, 29 Jun 1995 10:56:35 +0000 (10:56 +0000)]
* configure.in (--with-dbm): new option, allows easy building of
normal dbm support for compatibility.
* Makefile.in (DBFLAGS): variable to hold substitution of flags to
enable Berkeley db support.

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

29 years ago * kerberos_v4.c (check_princ): delete master_key_version check,
Mark Eichin [Thu, 29 Jun 1995 10:52:46 +0000 (10:52 +0000)]
* kerberos_v4.c (check_princ): delete master_key_version check,
since we never actually set it.
(main): elide original V4 server code to avoid confusion when
looking for variable references.
(type_2_v5err): reformat for 79 columns instead of 80 and
conditionalize out since it is unused (though still informative.)

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

29 years agofix the other typo
Mark Eichin [Thu, 29 Jun 1995 00:24:43 +0000 (00:24 +0000)]
fix the other typo

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

29 years agofix typo
Mark Eichin [Thu, 29 Jun 1995 00:23:18 +0000 (00:23 +0000)]
fix typo

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

29 years ago * test.c: use PROTOTYPE
Mark Eichin [Thu, 29 Jun 1995 00:21:15 +0000 (00:21 +0000)]
* test.c: use PROTOTYPE

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

29 years agoProper test for GCC. (based on autoconf test).
Ezra Peisach [Thu, 29 Jun 1995 00:19:14 +0000 (00:19 +0000)]
Proper test for GCC. (based on autoconf test).
If using gcc, set shlibs_ldflag and noshlibs_ldflag properly for compiler.
(I put it in the OSF code, but the testing may be more generic for all systems)

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

29 years ago * test.c, k524init.c, getcred.c: rewrote for old style definitiions.
Mark Eichin [Wed, 28 Jun 1995 21:37:32 +0000 (21:37 +0000)]
* test.c, k524init.c, getcred.c: rewrote for old style definitiions.
* encode.c: use PROTOTYPE instead of KRB5_PROTOTYPE.

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

29 years ago * configure.in: with static libs, we need install-unix, not install
Mark Eichin [Wed, 28 Jun 1995 21:30:33 +0000 (21:30 +0000)]
* configure.in: with static libs, we need install-unix, not install

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

29 years ago * read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead
Mark Eichin [Wed, 28 Jun 1995 21:16:39 +0000 (21:16 +0000)]
* read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead

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

29 years agoaclocal.m4 (KRB_INCLUDE): Search the build directories before the
Theodore Tso [Wed, 28 Jun 1995 21:13:07 +0000 (21:13 +0000)]
aclocal.m4 (KRB_INCLUDE): Search the build directories before the
source directories.  (Doesn't hurt anything, and it helps in a few
cases of user error.)

configure.in: Conditionalize on the name of CC to determine whether to
use the gcc or suncc flags for shared libraries.  (This is a little
bit ugly; we might want to use a better test later on.)

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

29 years agoRename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanly
Theodore Tso [Wed, 28 Jun 1995 20:45:17 +0000 (20:45 +0000)]
Rename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanly
under DOS.  Argh.

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

29 years ago * krlogin.c: don't redeclare noltc, defltc if we happen to have
Tom Yu [Wed, 28 Jun 1995 18:45:02 +0000 (18:45 +0000)]
* krlogin.c: don't redeclare noltc, defltc if we happen to have
TIOCGLTC in addition to POSIX_TERMIOS

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

29 years agoWork around bug in autoconf which causes a relative path for dnl
Theodore Tso [Wed, 28 Jun 1995 18:29:26 +0000 (18:29 +0000)]
Work around bug in autoconf which causes a relative path for dnl
AC_PROG_INSTALL to be cached.  We workaround this by unsetting the
cache variable if it contains a relative pathname.

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

29 years agoRename ct_c.* to ct_c.*.in. ct_c.sed.in is now processed by sed to
Theodore Tso [Wed, 28 Jun 1995 18:28:11 +0000 (18:28 +0000)]
Rename ct_c.* to ct_c.*.in.  ct_c.sed.in is now processed by sed to
remove comment lines beginning with '#', since some sed programs can't
handle that.  Change config_script so that the directory where the
ct_c.* files can be specified, since those are in the build directory,
instead of the source directory.  (This is all for the sake of System
V sed.  Sigh.)

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

29 years agosim_client.c: Include stdlib.h or declare malloc. Include string.h for
Ezra Peisach [Wed, 28 Jun 1995 17:51:17 +0000 (17:51 +0000)]
sim_client.c: Include stdlib.h or declare malloc. Include string.h for
strlen and memcpy definitions

configure.in: Check for stdlib.h.

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

29 years agoInclude <string.h> for memcpy definitions
Ezra Peisach [Wed, 28 Jun 1995 17:20:11 +0000 (17:20 +0000)]
Include <string.h> for memcpy definitions

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

29 years ago * configure.in: int*_t and pgno_t declarations from
Mark Eichin [Wed, 28 Jun 1995 04:56:49 +0000 (04:56 +0000)]
* configure.in: int*_t and pgno_t declarations from
hash/configure.in.

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

29 years ago * krb524d.c: changed main, krb5_free_keyblock_contents to use old
Mark Eichin [Wed, 28 Jun 1995 04:50:58 +0000 (04:50 +0000)]
* krb524d.c: changed main, krb5_free_keyblock_contents to use old
style definitions.

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

29 years ago * configure.in: use AC_CHECK_FUNCS and check for memmove.
Mark Eichin [Wed, 28 Jun 1995 04:25:26 +0000 (04:25 +0000)]
* configure.in: use AC_CHECK_FUNCS and check for memmove.
hash.h: if we don't HAVE_MEMMOVE use bcopy.

Really, though, a quick glance seems to indicate that most of the uses
of memmove could really be handled by memcpy, but I haven't time to prove
it right now. If I'm right, back out this check. (This is for sunos 4 which
has memcpy but not memmove.)

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

29 years ago * dbtest.c (xmalloc): use memcpy, memmove isn't needed.
Mark Eichin [Wed, 28 Jun 1995 04:23:17 +0000 (04:23 +0000)]
* dbtest.c (xmalloc): use memcpy, memmove isn't needed.
* configure.in: use AC_CHECK_FUNCS for index, and check for memmove.

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

29 years ago * run.test: look in /usr/share/lib/dict/words to find the words
Mark Eichin [Wed, 28 Jun 1995 04:05:49 +0000 (04:05 +0000)]
* run.test: look in /usr/share/lib/dict/words to find the words
file under SGI Irix 5.

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

29 years ago * krb4-proto.h: correct signature for krb_rd_req.
Mark Eichin [Wed, 28 Jun 1995 04:03:00 +0000 (04:03 +0000)]
* krb4-proto.h: correct signature for krb_rd_req.
* krb.h (swap_u_long): use KRB4_32 in swap() macros.

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

29 years ago * rd_req.c (krb_rd_req): from_addr is an address, so use unsigned
Mark Eichin [Wed, 28 Jun 1995 04:02:00 +0000 (04:02 +0000)]
* rd_req.c (krb_rd_req): from_addr is an address, so use unsigned
KRB4_32 instead of long.

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

29 years ago * rd_safe.c (krb_rd_safe): use KRB4_32 for address comparison
Mark Eichin [Wed, 28 Jun 1995 03:59:01 +0000 (03:59 +0000)]
* rd_safe.c (krb_rd_safe): use KRB4_32 for address comparison
and checksum swapping.

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

29 years ago * db.h: *int*_t are likely to collide with native types,
Mark Eichin [Wed, 28 Jun 1995 00:36:57 +0000 (00:36 +0000)]
* db.h: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them
off to hash/configure.in AC_CHECK_TYPE calls.

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

29 years ago * configure.in: *int*_t are likely to collide with native types,
Mark Eichin [Wed, 28 Jun 1995 00:36:06 +0000 (00:36 +0000)]
* configure.in: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them
off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also.

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

29 years ago * read_passwd.c: only use volatile if __STDC__ is 1
Mark Eichin [Wed, 28 Jun 1995 00:34:38 +0000 (00:34 +0000)]
* read_passwd.c: only use volatile if __STDC__ is 1

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

29 years ago * encode.c: make declarations use KRB5_PROTOTYPE, and use old
Mark Eichin [Wed, 28 Jun 1995 00:32:33 +0000 (00:32 +0000)]
* encode.c: make declarations use KRB5_PROTOTYPE, and use old
style definitions, per V5 coding style.

Also deleted Makefile (from original code) since it gets stomped by configure

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

29 years agoCompiler warning cleanup
Paul Park [Tue, 27 Jun 1995 20:45:50 +0000 (20:45 +0000)]
Compiler warning cleanup

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

29 years agoAllow md4.c to be optimized by native DEC compilers
Paul Park [Tue, 27 Jun 1995 20:42:45 +0000 (20:42 +0000)]
Allow md4.c to be optimized by native DEC compilers

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

29 years agoCheck for EOF from fputs
Paul Park [Tue, 27 Jun 1995 20:36:21 +0000 (20:36 +0000)]
Check for EOF from fputs

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

29 years agoCompiler warning cleanup/Reinstate KRB5_PROVIDE_PROTOTYPES
Paul Park [Tue, 27 Jun 1995 20:34:45 +0000 (20:34 +0000)]
Compiler warning cleanup/Reinstate KRB5_PROVIDE_PROTOTYPES

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

29 years agoReinstate KRB5_PROVIDE_PROTOTYPES
Paul Park [Tue, 27 Jun 1995 20:34:02 +0000 (20:34 +0000)]
Reinstate KRB5_PROVIDE_PROTOTYPES

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

29 years agoChanged shared libraries so that it works under AIX and sets the
Sam Hartman [Mon, 26 Jun 1995 22:42:09 +0000 (22:42 +0000)]
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

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

29 years agoMade makeshlib produced by Makefile, so I can know whether I'm running Gcc. Also...
Sam Hartman [Mon, 26 Jun 1995 22:36:33 +0000 (22:36 +0000)]
Made makeshlib produced by Makefile, so I can know whether I'm running Gcc.  Also, Ted wanted this to happen eventually anyway

CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Mon, 26 Jun 1995 22:33:30 +0000 (22:33 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

CVS:

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

29 years ago * Makefile.in: Typo: install-mac was really supposed to be
Tom Yu [Mon, 26 Jun 1995 20:43:03 +0000 (20:43 +0000)]
* Makefile.in: Typo: install-mac was really supposed to be
install-unix

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

29 years agoRemove -g from explicit LdFlags in Makefile.in
Sam Hartman [Mon, 26 Jun 1995 19:33:21 +0000 (19:33 +0000)]
Remove -g from explicit LdFlags in Makefile.in

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

29 years ago Changes to make sure all the right include files are included
Sam Hartman [Mon, 26 Jun 1995 19:31:57 +0000 (19:31 +0000)]
Changes to make sure all the right include files are included
under AIX.

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

29 years ago * configure.in: fix typo; appended "all" rule needs two colons to
Tom Yu [Sat, 24 Jun 1995 00:10:32 +0000 (00:10 +0000)]
* configure.in: fix typo; appended "all" rule needs two colons to
keep gmake from breaking.

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

29 years ago * configure.in: fix Sam's typo so libdes425.a gets symlinked
Tom Yu [Fri, 23 Jun 1995 22:19:27 +0000 (22:19 +0000)]
* configure.in: fix Sam's typo so libdes425.a gets symlinked
properly.

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

29 years ago * configure.in: fix Sam's typo so libkrb4.a gets symlinked
Tom Yu [Fri, 23 Jun 1995 22:18:43 +0000 (22:18 +0000)]
* configure.in: fix Sam's typo so libkrb4.a gets symlinked
properly

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

29 years ago * error_table.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:48:48 +0000 (19:48 +0000)]
* error_table.h: reverse sense of KRB5_PROVIDE_PROTOTYPES

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

29 years ago * md4.c: reverse sense of KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:48:01 +0000 (19:48 +0000)]
* md4.c: reverse sense of KRB5_PROVIDE_PROTOTYPES

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

29 years ago * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:46:49 +0000 (19:46 +0000)]
* syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES

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

29 years ago * k5-config.h: remove definition for KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:44:33 +0000 (19:44 +0000)]
* k5-config.h: remove definition for KRB5_PROVIDE_PROTOTYPES
because we've reversed the sense

* configure.in: KBR5_PROVIDE_PROTOTYPES -> KRB5_NO_PROTOTYPES;
NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES

* rsa-md5.h: reverse sense of KRB5_PROVIDE_PROTOTYPES

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

29 years ago * krb4-proto.h, krb.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:43:50 +0000 (19:43 +0000)]
* krb4-proto.h, krb.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
(-> KRB5_NO_PROTOTYPES)

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

29 years ago * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
Tom Yu [Fri, 23 Jun 1995 19:43:08 +0000 (19:43 +0000)]
* syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
* krb5.hin: special-case ultrix brokenness, reverse sense of
KRB5_PROVIDE_PROTOTYPES (becomes KRB5_NO_PROTOTYPES);
also, NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES
* Makefile.in: don't install NO_NESTED_PROTOTYPES, HAS_VOID_TYPE,
and KRB5_PROVIDE_PROTOTYPES symbols into krb5.h

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

29 years ago * acconfig.h: NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES;
Tom Yu [Fri, 23 Jun 1995 19:41:40 +0000 (19:41 +0000)]
* acconfig.h: NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES;
KRB5_PROVIDE_PROTOTYPES -> KRB5_NO_PROTOTYPES

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

29 years agoChange SRCTOP so that it's defined in configure script, instead of
Theodore Tso [Fri, 23 Jun 1995 18:30:13 +0000 (18:30 +0000)]
Change SRCTOP so that it's defined in configure script, instead of
being hardcoded as $(srcdir)/$(BUILDTOP).

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

29 years ago Fixed typos that prevent static libs from working. Add code
Sam Hartman [Fri, 23 Jun 1995 17:34:54 +0000 (17:34 +0000)]
Fixed typos that prevent static libs from working.  Add code
to Makefile so shared libs work on non-AIX platforms.

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

29 years agoFix typos that prevented static libs from working
Sam Hartman [Fri, 23 Jun 1995 17:31:25 +0000 (17:31 +0000)]
Fix typos that prevented static libs from working

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

29 years agoConvert to new handling of static libraries
Sam Hartman [Fri, 23 Jun 1995 17:30:26 +0000 (17:30 +0000)]
Convert to new handling of static libraries

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

29 years agoFix typos that made static libraries fail
Sam Hartman [Fri, 23 Jun 1995 17:28:50 +0000 (17:28 +0000)]
Fix typos that made static libraries fail

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

29 years ago* Re-enable static libraries under Linux
Sam Hartman [Fri, 23 Jun 1995 17:28:01 +0000 (17:28 +0000)]
* Re-enable static libraries under Linux

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

29 years ago(V5_MAKE_SHARED_RULE) Set STEXT when not making shared library
Ezra Peisach [Fri, 23 Jun 1995 15:52:00 +0000 (15:52 +0000)]
(V5_MAKE_SHARED_RULE) Set STEXT when not making shared library
(CONFIG_RULES): Move AC_CONST from WITH_KRB4 definition

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

29 years agoChange done to DONE for shared library rules
Paul Park [Fri, 23 Jun 1995 14:52:00 +0000 (14:52 +0000)]
Change done to DONE for shared library rules

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

29 years agoAdd description of new KDC configuration file
Paul Park [Fri, 23 Jun 1995 14:37:45 +0000 (14:37 +0000)]
Add description of new KDC configuration file

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

29 years agoChange argument ordering for KDC
Paul Park [Fri, 23 Jun 1995 14:03:26 +0000 (14:03 +0000)]
Change argument ordering for KDC

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

29 years agoDocument changes to KDC
Paul Park [Fri, 23 Jun 1995 14:02:44 +0000 (14:02 +0000)]
Document changes to KDC

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

29 years agoMultiple realm support and remove KDB_CONVERT_KEY_OUTOF_DB
Paul Park [Fri, 23 Jun 1995 14:02:19 +0000 (14:02 +0000)]
Multiple realm support and remove KDB_CONVERT_KEY_OUTOF_DB

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

29 years agoMultiple realm support
Paul Park [Fri, 23 Jun 1995 14:01:45 +0000 (14:01 +0000)]
Multiple realm support

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