krb5.git
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

29 years agoMostly formatting nitpicking. Fix some typos in function names as well
Ezra Peisach [Sat, 13 May 1995 13:08:06 +0000 (13:08 +0000)]
Mostly formatting nitpicking. Fix some typos in function names as well

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

29 years agoAvoid warning of redeclaring POSIX_SIGNALS if already defined
Ezra Peisach [Sat, 13 May 1995 13:05:59 +0000 (13:05 +0000)]
Avoid warning of redeclaring POSIX_SIGNALS if already defined

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

29 years agoso that credential forwarding works
Ezra Peisach [Sat, 13 May 1995 13:01:57 +0000 (13:01 +0000)]
so that credential forwarding works

recvauth: Use krb5_auth_con_genaddrs to set the port on the connection

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

29 years agoAdd kadmin.exp for kadmin tests
Paul Park [Fri, 12 May 1995 20:19:35 +0000 (20:19 +0000)]
Add kadmin.exp for kadmin tests

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

29 years agoChange dejagnu tests to use new kadmin/kadmind
Paul Park [Fri, 12 May 1995 20:18:53 +0000 (20:18 +0000)]
Change dejagnu tests to use new kadmin/kadmind

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

29 years agoDescribe last batch of changes
Paul Park [Fri, 12 May 1995 20:14:10 +0000 (20:14 +0000)]
Describe last batch of changes

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

29 years agoCheck for and use POSIX signal/setjmp/longjmp
Paul Park [Fri, 12 May 1995 20:13:46 +0000 (20:13 +0000)]
Check for and use POSIX signal/setjmp/longjmp

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

29 years ago* Use DEBUG_NOSLAVE debug bit to turn off slave creation for connections.
Paul Park [Fri, 12 May 1995 20:13:14 +0000 (20:13 +0000)]
* Use DEBUG_NOSLAVE debug bit to turn off slave creation for connections.
* Use POSIX signals/setjmp/longjmp when present.
* Increase maximum number of slaves and decrease wait when slaves slots
  are all taken.

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

29 years agoAdd DEBUG_NOSLAVES
Paul Park [Fri, 12 May 1995 20:11:32 +0000 (20:11 +0000)]
Add DEBUG_NOSLAVES

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

29 years agoChange howmany because of Ultrix
Paul Park [Fri, 12 May 1995 20:11:06 +0000 (20:11 +0000)]
Change howmany because of Ultrix

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

29 years agoFix errors for Ultrix
Paul Park [Fri, 12 May 1995 20:05:42 +0000 (20:05 +0000)]
Fix errors for Ultrix

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

29 years agoMissing a "retval = " so errors in addresses were passing
Ezra Peisach [Fri, 12 May 1995 11:34:57 +0000 (11:34 +0000)]
Missing a "retval = " so errors in addresses were passing
successfully.

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

29 years ago * key_sched.c (mit_des_key_sched): *always* fill in the schedule,
Mark Eichin [Fri, 12 May 1995 06:47:10 +0000 (06:47 +0000)]
* key_sched.c (mit_des_key_sched): *always* fill in the schedule,
regardless of the key failing other tests, as a defense against
telnet-style bugs.

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

29 years ago * mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
Chris Provenzano [Thu, 11 May 1995 23:07:45 +0000 (23:07 +0000)]
* mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
* mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()),
* rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()):
Pass the contents pointer returned from krb5_make_fulladdr()
to free() not the address of the pointer.

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

29 years agoCorrectly calculate beginning of first component
Paul Park [Thu, 11 May 1995 17:06:25 +0000 (17:06 +0000)]
Correctly calculate beginning of first component

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

29 years agobug fixes
Paul Park [Thu, 11 May 1995 16:24:19 +0000 (16:24 +0000)]
bug fixes

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

29 years agoRework address bind logic
Paul Park [Thu, 11 May 1995 16:23:58 +0000 (16:23 +0000)]
Rework address bind logic

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

29 years agoAvoid a core dump when the master key is entered incorrectly
Paul Park [Thu, 11 May 1995 16:23:30 +0000 (16:23 +0000)]
Avoid a core dump when the master key is entered incorrectly

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

29 years agoFix two annoying things in kadmin5
Paul Park [Thu, 11 May 1995 16:20:05 +0000 (16:20 +0000)]
Fix two annoying things in kadmin5

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

29 years agoUpdate usage message and manual page to reflect current reality. (-e -f
Ezra Peisach [Thu, 11 May 1995 11:34:28 +0000 (11:34 +0000)]
Update usage message and manual page to reflect current reality. (-e -f
arguments).

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

29 years agoAdd sample client/server tests
Ezra Peisach [Wed, 10 May 1995 21:04:29 +0000 (21:04 +0000)]
Add sample client/server tests

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

29 years agoModifications to klist to prevent an expect bug for hanging tests.
Ezra Peisach [Wed, 10 May 1995 20:57:33 +0000 (20:57 +0000)]
Modifications to klist to prevent an expect bug for hanging tests.
(sync. problem with spawned process exiting too quickly).

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

29 years agoAdded domain_realm stanza to krb5.conf.
Ezra Peisach [Wed, 10 May 1995 20:55:57 +0000 (20:55 +0000)]
Added domain_realm stanza to krb5.conf.
setup_srvtab: Takes optional service name to extract for keytab

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

29 years agoInclude stdlib.h or declare malloc()
Ezra Peisach [Wed, 10 May 1995 20:44:09 +0000 (20:44 +0000)]
Include stdlib.h or declare malloc()

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

29 years agoAdd new options -p and -S to specify port and keytab files
Ezra Peisach [Wed, 10 May 1995 20:25:27 +0000 (20:25 +0000)]
Add new options -p and -S to specify port and keytab files
for use by dejagnu tests. Manual page updated as well.

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

29 years agoInstall the error tables
Ezra Peisach [Wed, 10 May 1995 17:23:52 +0000 (17:23 +0000)]
Install the error tables

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

29 years agoMore missing contexts
Ezra Peisach [Tue, 9 May 1995 21:41:21 +0000 (21:41 +0000)]
More missing contexts

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