krb5.git
29 years agoRemoved INTERFACE from some kadm prototypes
Keith Vetter [Wed, 31 May 1995 00:33:33 +0000 (00:33 +0000)]
Removed INTERFACE from some kadm prototypes

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

29 years agoAdded k5 password changing code for the cns program (untested, waiting for
Keith Vetter [Wed, 31 May 1995 00:30:24 +0000 (00:30 +0000)]
Added k5 password changing code for the cns program (untested, waiting for
a server.)

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

29 years agoAdded kadm routines to the export list
Keith Vetter [Tue, 30 May 1995 17:40:54 +0000 (17:40 +0000)]
Added kadm routines to the export list

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

29 years agoChanges to get kadm working on the PC
Keith Vetter [Tue, 30 May 1995 17:38:16 +0000 (17:38 +0000)]
Changes to get kadm working on the PC

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

29 years agoUse sys/cdefs.h if present (e.g. linux)
Paul Park [Tue, 30 May 1995 14:55:10 +0000 (14:55 +0000)]
Use sys/cdefs.h if present (e.g. linux)

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

29 years agoIf the size field of a struct datum != size field of DBT, you need to copy
Ezra Peisach [Tue, 30 May 1995 14:48:59 +0000 (14:48 +0000)]
If the size field of a struct datum != size field of DBT, you need to copy
the information from one structure to the other without casting as you wind
up with stack garbage. (DEC alpha OSF)

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

29 years agoCheck for the signal type in compiling tests
Ezra Peisach [Tue, 30 May 1995 10:32:08 +0000 (10:32 +0000)]
Check for the signal type in compiling tests

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

29 years agoUse syslog instead of com_err when shutting down as output may be closed and
Ezra Peisach [Sun, 28 May 1995 20:19:09 +0000 (20:19 +0000)]
Use syslog instead of com_err when shutting down as output may be closed and
a sigpipe would result. (during dejagnu tests)
Use exit instead of return from main as may be on the interrupt stack at the
time.

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

29 years agoRestore timestamp file which is needed by libupdate.sh
Theodore Tso [Sat, 27 May 1995 04:31:43 +0000 (04:31 +0000)]
Restore timestamp file which is needed by libupdate.sh

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

29 years agoAdd timestamp check file required by libupdate.sh
Theodore Tso [Sat, 27 May 1995 04:31:18 +0000 (04:31 +0000)]
Add timestamp check file required by libupdate.sh

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

29 years agoExport $(CC) for the benefit of config.guess
Theodore Tso [Sat, 27 May 1995 04:30:37 +0000 (04:30 +0000)]
Export $(CC) for the benefit of config.guess

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

29 years agoCreate kerbsrc-nt.zip with the right filename, and clean up
Theodore Tso [Sat, 27 May 1995 01:46:58 +0000 (01:46 +0000)]
Create kerbsrc-nt.zip with the right filename, and clean up
include/krb5.h after making the Windows .zip files.

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

29 years agoAdded new function, des_cblock_print_file(), which is referenced by
Theodore Tso [Sat, 27 May 1995 01:45:10 +0000 (01:45 +0000)]
Added new function, des_cblock_print_file(), which is referenced by
libkrb4.a.  (Even though it's never used, some OS's demand that all of
the references in a shared library have to be resolved.)

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

29 years agoRemove backward compatibility code for Kerberos V3 (!) which was
Theodore Tso [Sat, 27 May 1995 01:43:29 +0000 (01:43 +0000)]
Remove backward compatibility code for Kerberos V3 (!) which was
causing problems for shared libraries.  Library code shouldn't try to
reference global variables defined by the calling application!

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

29 years agoAdd support for building shared libraries
Theodore Tso [Sat, 27 May 1995 00:23:35 +0000 (00:23 +0000)]
Add support for building shared libraries

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

29 years agoAdd support for building shared libraries
Theodore Tso [Sat, 27 May 1995 00:08:01 +0000 (00:08 +0000)]
Add support for building shared libraries

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

29 years agoWindows makefile file configuration excludes lines beginning with '@'
Keith Vetter [Fri, 26 May 1995 23:49:02 +0000 (23:49 +0000)]
Windows makefile file configuration excludes lines beginning with '@'

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

29 years agoFix typo
Paul Park [Fri, 26 May 1995 22:45:57 +0000 (22:45 +0000)]
Fix typo

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

29 years agoChange to new Berkeley Database naming convention
Paul Park [Fri, 26 May 1995 22:45:36 +0000 (22:45 +0000)]
Change to new Berkeley Database naming convention

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

29 years agokadmind5 depends on libkdb5.a
Paul Park [Fri, 26 May 1995 22:45:05 +0000 (22:45 +0000)]
kadmind5 depends on libkdb5.a

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

29 years agokrb5kdc depends on libkdb5.a
Paul Park [Fri, 26 May 1995 22:44:43 +0000 (22:44 +0000)]
krb5kdc depends on libkdb5.a

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

29 years agoAdd berk_db to list of subdirectories
Paul Park [Fri, 26 May 1995 22:44:16 +0000 (22:44 +0000)]
Add berk_db to list of subdirectories

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

29 years agoUse new Berkeley Database code and add test
Paul Park [Fri, 26 May 1995 22:43:18 +0000 (22:43 +0000)]
Use new Berkeley Database code and add test

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

29 years agoCheck in Berkeley Database code version 1.85
Paul Park [Fri, 26 May 1995 22:42:39 +0000 (22:42 +0000)]
Check in Berkeley Database code version 1.85

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

29 years agoPrime local shared library registry file for Alpha OSF
Ezra Peisach [Fri, 26 May 1995 18:03:32 +0000 (18:03 +0000)]
Prime local shared library registry file for Alpha OSF

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

29 years agoFor OSF/1, maintain a local shared library registry. (allows for
Ezra Peisach [Fri, 26 May 1995 17:41:23 +0000 (17:41 +0000)]
For OSF/1, maintain a local shared library registry. (allows for
optimization of shared library address space)

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

29 years agoAdded kadm for the PC
Keith Vetter [Fri, 26 May 1995 17:28:36 +0000 (17:28 +0000)]
Added kadm for the PC

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

29 years agoDisabled some of the shared library stuff for the PC
Keith Vetter [Fri, 26 May 1995 17:25:20 +0000 (17:25 +0000)]
Disabled some of the shared library stuff for the PC

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

29 years agoMore prototype changes for the PC to get kadm stuff working
Keith Vetter [Fri, 26 May 1995 17:23:05 +0000 (17:23 +0000)]
More prototype changes for the PC to get kadm stuff working

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

29 years agoAdded lib/kadm directory and removed lib/krb425 directory for the PC
Keith Vetter [Fri, 26 May 1995 17:21:54 +0000 (17:21 +0000)]
Added lib/kadm directory and removed lib/krb425 directory for the PC

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

29 years agoAdded shared library support for Alpha OSF
Ezra Peisach [Fri, 26 May 1995 16:50:37 +0000 (16:50 +0000)]
Added shared library support for Alpha OSF

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

29 years agoAdd support for Dec-alpha. Will currently only work (without warning)
Ezra Peisach [Fri, 26 May 1995 16:43:37 +0000 (16:43 +0000)]
Add support for Dec-alpha. Will currently only work (without warning)
for libcrypto.so

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

29 years agoHeader file changes needed for kadm on the PC
Keith Vetter [Fri, 26 May 1995 02:29:42 +0000 (02:29 +0000)]
Header file changes needed for kadm on the PC

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

29 years agoAdd support building shared libraries
Theodore Tso [Fri, 26 May 1995 02:17:43 +0000 (02:17 +0000)]
Add support building shared libraries

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

29 years agoAdd variable DO_MAKE_SHLIB
Theodore Tso [Fri, 26 May 1995 02:12:08 +0000 (02:12 +0000)]
Add variable DO_MAKE_SHLIB

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

29 years agoAdd support for shared libraries
Theodore Tso [Fri, 26 May 1995 02:11:28 +0000 (02:11 +0000)]
Add support for shared libraries

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

29 years agopre.in(HOST_TYPE, SHEXT): Added variables filled in by configure
Theodore Tso [Fri, 26 May 1995 01:40:19 +0000 (01:40 +0000)]
pre.in(HOST_TYPE, SHEXT): Added variables filled in by configure

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

29 years agoAdded shell script for creating shared libraries
Theodore Tso [Fri, 26 May 1995 01:39:37 +0000 (01:39 +0000)]
Added shell script for creating shared libraries

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

29 years agoFirst pass to make the new kadm stuff compile cleanly on the PC. No test
Keith Vetter [Fri, 26 May 1995 01:01:34 +0000 (01:01 +0000)]
First pass to make the new kadm stuff compile cleanly on the PC. No test
for correctness yet.

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

29 years agoSeveral small changes to get the PC working without warnings
Keith Vetter [Thu, 25 May 1995 22:57:14 +0000 (22:57 +0000)]
Several small changes to get the PC working without warnings

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

29 years agoMistakenly forgot to convert PC eol into Unix eol while unzipping so this
Keith Vetter [Thu, 25 May 1995 20:06:54 +0000 (20:06 +0000)]
Mistakenly forgot to convert PC eol into Unix eol while unzipping so this
removed the extra carriage returns.

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

29 years agoFor the PC, don't copy profile.h until we make in the include directory
Keith Vetter [Thu, 25 May 1995 18:44:33 +0000 (18:44 +0000)]
For the PC, don't copy profile.h until we make in the include directory

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

29 years agoWindows telnet --fixed eol wrapping and general cleanup
Keith Vetter [Thu, 25 May 1995 18:34:40 +0000 (18:34 +0000)]
Windows telnet --fixed eol wrapping and general cleanup

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

29 years ago[secure-admin/2432] add further that the constants must not change
Barry Jaspan [Thu, 25 May 1995 17:37:39 +0000 (17:37 +0000)]
[secure-admin/2432] add further that the constants must not change

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

29 years ago[secure-admin/2432] document the integer values of the error codes;
Barry Jaspan [Thu, 25 May 1995 17:33:34 +0000 (17:33 +0000)]
[secure-admin/2432] document the integer values of the error codes;
note that this really isn't necessary since the com_err prefix defines
it

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

29 years agoFix syntax error in freeing of keyblock
Ezra Peisach [Thu, 25 May 1995 14:04:08 +0000 (14:04 +0000)]
Fix syntax error in freeing of keyblock

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

29 years agoMakefile.in, configure.in: Add rules for building shared library
Theodore Tso [Wed, 24 May 1995 22:21:59 +0000 (22:21 +0000)]
Makefile.in, configure.in: Add rules for building shared library

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

29 years agoOn an error, free the keyblock
Theodore Tso [Wed, 24 May 1995 22:21:06 +0000 (22:21 +0000)]
On an error, free the keyblock

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

29 years agoRemove krb5_encode_ticket prototype as function does not exist
Ezra Peisach [Wed, 24 May 1995 21:43:53 +0000 (21:43 +0000)]
Remove krb5_encode_ticket prototype as function does not exist

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

29 years agoChange klog prototype to match source
Ezra Peisach [Wed, 24 May 1995 21:41:54 +0000 (21:41 +0000)]
Change klog prototype to match source

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

29 years agoAdded for shared library support
Theodore Tso [Wed, 24 May 1995 19:42:41 +0000 (19:42 +0000)]
Added for shared library support

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

29 years agoFix OSF/1 and Ultrix native make problem
Paul Park [Wed, 24 May 1995 18:30:00 +0000 (18:30 +0000)]
Fix OSF/1 and Ultrix native make problem

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

29 years agoCheck for string.h and include if present, else include strings.h
Ezra Peisach [Wed, 24 May 1995 15:17:28 +0000 (15:17 +0000)]
Check for string.h and include if present, else include strings.h

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

29 years agokerberos5.c: Include string.h/strings.h. Include stdlib.h or
Ezra Peisach [Wed, 24 May 1995 15:05:01 +0000 (15:05 +0000)]
kerberos5.c: Include string.h/strings.h. Include stdlib.h or
declare malloc.
(kerberos5_send): Fix improperly closed comment
krb5_get_credentials second argument is not kdc_options

configure.in (LIBOBJS): Removed duplicate WITH_KRB4

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

29 years agoring.c: Include string.h or strings.h
Ezra Peisach [Wed, 24 May 1995 14:12:19 +0000 (14:12 +0000)]
ring.c: Include string.h or strings.h

configure.in: Check for stdlib.h

 externs.h: Include sys/param.h before redefining BSD
            Include stdlib.h or define malloc, realloc, calloc

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

29 years agoCast sockaddr_in * to sockaddr * in call to bind
Ezra Peisach [Wed, 24 May 1995 11:25:29 +0000 (11:25 +0000)]
Cast sockaddr_in * to sockaddr * in call to bind

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

29 years agoInclude stdlib.h or declare malloc, calloc, realloc
Ezra Peisach [Wed, 24 May 1995 11:18:41 +0000 (11:18 +0000)]
Include stdlib.h or declare malloc, calloc, realloc

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

29 years agoCheck for stdlib.h and include if present or declare malloc, calloc and realloc
Ezra Peisach [Wed, 24 May 1995 11:17:21 +0000 (11:17 +0000)]
Check for stdlib.h and include if present or declare malloc, calloc and realloc

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

29 years agoInclude <stdlib.h> or declare malloc, calloc, or realloc
Ezra Peisach [Wed, 24 May 1995 11:16:28 +0000 (11:16 +0000)]
Include <stdlib.h> or declare malloc, calloc, or realloc

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

29 years agoInclude k5-sockets.h now that k5-config.h does not include netdb.h.
Ezra Peisach [Wed, 24 May 1995 10:57:49 +0000 (10:57 +0000)]
Include k5-sockets.h now that k5-config.h does not include netdb.h.
(Conditionalized on NEED_SOCKETS being defined)

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

29 years agoMake clean: Remove libkdb4.a and libkrb4.a symlinks
Ezra Peisach [Wed, 24 May 1995 02:25:52 +0000 (02:25 +0000)]
Make clean: Remove libkdb4.a and libkrb4.a symlinks

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

29 years agoRearrange #include files so that krb5.h gets included first, so that
Theodore Tso [Tue, 23 May 1995 20:48:59 +0000 (20:48 +0000)]
Rearrange #include files so that krb5.h gets included first, so that
the debugging information can be more efficiently collapsed since the
type numbers will be the same.

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

29 years agoDon't install the error table header files; they shouldn't be needed
Theodore Tso [Tue, 23 May 1995 20:47:27 +0000 (20:47 +0000)]
Don't install the error table header files; they shouldn't be needed
by an end-programmer.

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

29 years agoGenerate krb5.h from krb5.hin in awk-windows, for the Windows port
Theodore Tso [Tue, 23 May 1995 20:08:15 +0000 (20:08 +0000)]
Generate krb5.h from krb5.hin in awk-windows, for the Windows port

Added kerbsrc-nt.zip, which creates the zip file without the option to
truncate the names to the MS-DOS 8.3 convention.

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

29 years agoRemove krb5.h, since it's no longer needed
Theodore Tso [Tue, 23 May 1995 19:35:23 +0000 (19:35 +0000)]
Remove krb5.h, since it's no longer needed

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

29 years agok5-config.h, k5-sockets.h: Move the sockets specific setup out
Theodore Tso [Tue, 23 May 1995 19:34:44 +0000 (19:34 +0000)]
k5-config.h, k5-sockets.h: Move the sockets specific setup out
  of k5-config.h to k5-sockets.h, and modify k5-int to
  include k5-sockets.h (if it is requested by
  NEED_SOCKETS) after including krb5.h.  This keeps the
  gdb type numbers the same across .o files, so that
  recent binuntils can compress the debugging information
  in executables linked with a debugging library.

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

29 years agoMakefile.in, configure.in, krb5.hin: Move krb5.h to krb5.hin,
Theodore Tso [Tue, 23 May 1995 19:34:12 +0000 (19:34 +0000)]
Makefile.in, configure.in, krb5.hin: Move krb5.h to krb5.hin,
and build krb5.h from krb5.hin and the error table
include files, which are now built in this directory.
This way, krb5.h is the only include file that we need to
install.

k5-int.h: Move the sockets specific setup out of k5-config.h to
  k5-sockets.h, and modify k5-int to include k5-sockets.h
  (if it is requested by NEED_SOCKETS) after including
  krb5.h.  This keeps the gdb type numbers the same across
  .o files, so that recent binuntils can compress the
  debugging information in executables linked with a
  debugging library.

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

29 years agoUse the POSIX utime instead of utimes. (For hpux)
Ezra Peisach [Mon, 22 May 1995 20:57:49 +0000 (20:57 +0000)]
Use the POSIX utime instead of utimes. (For hpux)

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

29 years agoAdd gssapi.exp
Paul Park [Mon, 22 May 1995 19:45:02 +0000 (19:45 +0000)]
Add gssapi.exp

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

29 years agoFix problem when gss_accept_sec_context() fails where error message was lost
Paul Park [Mon, 22 May 1995 19:43:34 +0000 (19:43 +0000)]
Fix problem when gss_accept_sec_context() fails where error message was lost

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

29 years agoAdd gssapi to list of include subdirectories
Paul Park [Mon, 22 May 1995 15:25:05 +0000 (15:25 +0000)]
Add gssapi to list of include subdirectories

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

29 years agoAdd install SUBDIRS
Paul Park [Mon, 22 May 1995 15:24:11 +0000 (15:24 +0000)]
Add install SUBDIRS

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

29 years agoDescribe previous changes
Paul Park [Mon, 22 May 1995 15:23:36 +0000 (15:23 +0000)]
Describe previous changes

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

29 years agoDo not report creds as expired if the expiration time is indefinite
Paul Park [Mon, 22 May 1995 15:22:56 +0000 (15:22 +0000)]
Do not report creds as expired if the expiration time is indefinite

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

29 years agoAdd null install target
Paul Park [Mon, 22 May 1995 15:22:31 +0000 (15:22 +0000)]
Add null install target

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

29 years agoInstall EXPORTED_HEADERS in gssapi subdirectory
Paul Park [Mon, 22 May 1995 15:22:07 +0000 (15:22 +0000)]
Install EXPORTED_HEADERS in gssapi subdirectory

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

29 years agoInstall old kadmin targets as <mumble>_old
Paul Park [Mon, 22 May 1995 15:20:45 +0000 (15:20 +0000)]
Install old kadmin targets as <mumble>_old

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

29 years agoInstall kadmind5 and manpage in correct location
Paul Park [Mon, 22 May 1995 15:19:49 +0000 (15:19 +0000)]
Install kadmind5 and manpage in correct location

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

29 years agoFix install target logic
Paul Park [Mon, 22 May 1995 15:19:01 +0000 (15:19 +0000)]
Fix install target logic

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

29 years ago * loginpaths.h: Add NetBSD paths
Ezra Peisach [Sun, 21 May 1995 21:09:59 +0000 (21:09 +0000)]
* loginpaths.h: Add NetBSD paths

* login.c: Define TAB3 to 0 if non existant

* krlogin.c (mode): ifdef code based on TABDLY existing on
machine. (netbsd lacks this).

* krcp.c: Declare sys_errlist only if needed by the OS.

* configure.in: Add DECLARE_SYS_ERRLIST
Check for libcrypt defining the function crypt

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

29 years agoHandle problem of O_SYNC not existing on a platform. (for netbsd)
Ezra Peisach [Sun, 21 May 1995 20:27:29 +0000 (20:27 +0000)]
Handle problem of O_SYNC not existing on a platform. (for netbsd)

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

29 years agoDetermine the location of RCTMPDIR at configuration time. (netbsd does not have
Ezra Peisach [Sun, 21 May 1995 19:38:36 +0000 (19:38 +0000)]
Determine the location of RCTMPDIR at configuration time. (netbsd does not have
/usr/tmp)

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

29 years agoInclude k5-int.h before krb.h so that PROTOTYPE is not redefined
Ezra Peisach [Sun, 21 May 1995 18:21:25 +0000 (18:21 +0000)]
Include k5-int.h before krb.h so that PROTOTYPE is not redefined

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

29 years agoCheck for stdlib.h and if present, include, otherwise declare malloc
Ezra Peisach [Sun, 21 May 1995 02:38:47 +0000 (02:38 +0000)]
Check for stdlib.h and if present, include, otherwise declare malloc

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

29 years agoPort to OSF/1. (deal with the longs that should be 4 bytes)
Ezra Peisach [Sun, 21 May 1995 02:30:14 +0000 (02:30 +0000)]
Port to OSF/1. (deal with the longs that should be 4 bytes)

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

29 years agoIf kpropd invoked with -r option, invoke kdb5_edit with different realm
Ezra Peisach [Sat, 20 May 1995 18:23:46 +0000 (18:23 +0000)]
If kpropd invoked with -r option, invoke kdb5_edit with different realm

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

29 years agoIncrement remote_seq_number if KRB5_AUTH_CONTEXT_DO_SEQUENCE is set
Ezra Peisach [Sat, 20 May 1995 18:05:11 +0000 (18:05 +0000)]
Increment remote_seq_number if KRB5_AUTH_CONTEXT_DO_SEQUENCE is set

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

29 years agokprop.M and kpropd.M: Document -P (port) option
Ezra Peisach [Sat, 20 May 1995 17:59:18 +0000 (17:59 +0000)]
kprop.M and kpropd.M: Document -P (port) option
kprop.h: Change path to kdb5_edit to reflect current reality. (should be
determined by configure....)

kpropd.c: use krb5_int32 for over-the-wire length of database
Make -s (srvtab) option work.

kprop.c: Add support for keytab and port specification
Add call to krb5_auth_setaddrs
Use krb5_int32 for OTW db length

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

29 years agoUse the KRB5_KTNAME environment variable to override the default
Theodore Tso [Sat, 20 May 1995 02:10:55 +0000 (02:10 +0000)]
Use the KRB5_KTNAME environment variable to override the default
location of the keytab.

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

29 years agologin.c (main): Only try to use TIOCSETD if it is defined
Theodore Tso [Sat, 20 May 1995 02:07:27 +0000 (02:07 +0000)]
login.c (main): Only try to use TIOCSETD if it is defined
(instead of relying on _IBMR2 *not* being defined).

Only try to use TIOCNXCL if it is defined.

krcp.c: If setreuid() is emulated using setresuid(),
#define HAVE_SETREUID so it gets used.

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

29 years agoin_tkt.c: Use HAVE_SETREUID and HAVE_SETRESUID to define setreuid properly
Ezra Peisach [Thu, 18 May 1995 19:08:19 +0000 (19:08 +0000)]
in_tkt.c: Use HAVE_SETREUID and HAVE_SETRESUID to define setreuid properly

configure.in: Check for setreuid and setresuid

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

29 years agoUse available random number generator and free all allocated memory
Paul Park [Tue, 16 May 1995 18:04:26 +0000 (18:04 +0000)]
Use available random number generator and free all allocated memory

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

29 years agoFix Ultrix problems for tests
Paul Park [Tue, 16 May 1995 17:20:43 +0000 (17:20 +0000)]
Fix Ultrix problems for tests

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

29 years agoFix bug in ktent_to_proto() and add test modules
Paul Park [Tue, 16 May 1995 14:40:02 +0000 (14:40 +0000)]
Fix bug in ktent_to_proto() and add test modules

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

29 years agoAdd new test modules
Paul Park [Tue, 16 May 1995 14:39:25 +0000 (14:39 +0000)]
Add new test modules

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

29 years agoFix bug in krb5_adm_ktent_to_proto() which botched integers
Paul Park [Tue, 16 May 1995 14:38:09 +0000 (14:38 +0000)]
Fix bug in krb5_adm_ktent_to_proto() which botched integers

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

29 years agoFix nitty bug in gmt_mktime()
Paul Park [Tue, 16 May 1995 14:35:02 +0000 (14:35 +0000)]
Fix nitty bug in gmt_mktime()

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

29 years agoDo not destroy the replay cache when done with a request
Paul Park [Tue, 16 May 1995 14:31:51 +0000 (14:31 +0000)]
Do not destroy the replay cache when done with a request

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

29 years ago * aclocal.m4 (_MAKE_SUBDIRS): fix rule so that MAKEFLAGS gets
Tom Yu [Tue, 16 May 1995 07:08:02 +0000 (07:08 +0000)]
* aclocal.m4 (_MAKE_SUBDIRS): fix rule so that MAKEFLAGS gets
processed correctly.

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

29 years agoChange name of admin instance in manpage
Paul Park [Mon, 15 May 1995 14:58:28 +0000 (14:58 +0000)]
Change name of admin instance in manpage

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