Theodore Tso [Fri, 29 Sep 1995 06:04:19 +0000 (06:04 +0000)]
For MS-DOS, use the brute force method of defining the size of
variables; we should really get an autoconf file for MS-DOS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6893
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 05:53:14 +0000 (05:53 +0000)]
gss-client.c (main): Set display_file to be stdout
gss-server.c (main): Set display_file to 0 if using inetd; otherwise,
set it to be stdout.
gss-misc.c (send_token, recv_token, display_status): If display_file
is null, don't set it to stderr; just don't print the log message
instead. Needed for inetd operation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6892
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 05:48:50 +0000 (05:48 +0000)]
#include "osconf.h" all the time, at the beginning of the file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6891
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 05:48:21 +0000 (05:48 +0000)]
Don't include autoconf.h under Windows, since it doesn't exist
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6890
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 05:45:03 +0000 (05:45 +0000)]
Copy stock/osconf.h to osconf.h in include/krb5, and clean it up when
we're done building the distribution.
Add config/windows.in to the beginning of the Makefile.in when we're
building the Makefile.
New scheme for building DOS and Macintosh distribution files; much
more forgiving of random cruft in the source tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6889
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 05:29:13 +0000 (05:29 +0000)]
#include autoconf.h instead of osconf.h, because that's the file we
really care about.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6888
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 29 Sep 1995 04:21:28 +0000 (04:21 +0000)]
More Mac project file cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6886
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 04:09:56 +0000 (04:09 +0000)]
Only check the returned starttime to make sure it matches the
requested starttime if we requested a postdated ticket.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6885
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 29 Sep 1995 03:53:36 +0000 (03:53 +0000)]
Rename verify.c to t_verify.c to remove conflict with
gssapi/krb5/verify.c on the Mac.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6884
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 29 Sep 1995 03:19:27 +0000 (03:19 +0000)]
Only convert instances which don't have a '.' in them. If they have a
'.', assume that they are fully qualified already.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6883
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 29 Sep 1995 03:15:32 +0000 (03:15 +0000)]
(gets it to actually build on sunos, and provides a fair guess for
other systems)
* update_utmp.c: ultimately fall back to /etc/utmp for UTMP_FILE,
if it is still missing after all previous efforts.
* update_wtmp.c: /usr/adm/wtmp for WTMP_FILE likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6882
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 29 Sep 1995 02:27:50 +0000 (02:27 +0000)]
Misc Mac cleanups
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6881
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Fri, 29 Sep 1995 02:01:22 +0000 (02:01 +0000)]
gss sample program
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6880
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 28 Sep 1995 08:27:52 +0000 (08:27 +0000)]
Added new KerberosHeaders files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6879
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 28 Sep 1995 08:22:34 +0000 (08:22 +0000)]
Working telnet authentication module and project consolidations
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6878
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 28 Sep 1995 00:29:20 +0000 (00:29 +0000)]
Files in telnet authentication module directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6877
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 28 Sep 1995 00:27:12 +0000 (00:27 +0000)]
Telnet authentication module fixes. Also project organization
cleanup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6876
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Thu, 28 Sep 1995 00:05:01 +0000 (00:05 +0000)]
Remove telnet directory from repository
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6875
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 27 Sep 1995 15:49:59 +0000 (15:49 +0000)]
Change install: to install-unix: so that the destination directories are
created first.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6873
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 04:57:30 +0000 (04:57 +0000)]
Added macfile.list to the list of excluded files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6872
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 04:52:56 +0000 (04:52 +0000)]
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6871
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 04:52:27 +0000 (04:52 +0000)]
New file, used for generating DOS zip files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6870
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 02:15:43 +0000 (02:15 +0000)]
Move changes from ChangeLog to changelo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6869
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:21:29 +0000 (00:21 +0000)]
Don't include des_int.h; it's no longer needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6868
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:18:30 +0000 (00:18 +0000)]
alt_prof.c (krb5_read_realm_params): On an error, initialize the
returned rparams pointer to NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6867
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:11:26 +0000 (00:11 +0000)]
Don't include los-proto.h; it's no longer present
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6866
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:10:13 +0000 (00:10 +0000)]
k5-int.h: Don't predefine symbols to stop kdb.h and kdb_dbm.h for
_MSDOS.
krb5.hin, k5-int.h: Move some src/lib/krb5/os prototypes to krb5.hin.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6865
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:09:13 +0000 (00:09 +0000)]
kdb.h, kdb_dbm.h: Add #if !defined(_MSDOS) && !defined(_MACINTOSH) to
prevent these #includes from being used by Mac and PC
machines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6864
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 Sep 1995 00:03:06 +0000 (00:03 +0000)]
Systematic rework of all the cleanup code to make the generated object
file subtatially (40% on the i386 platform) smaller. The cleanup is
now handled with a "goto error_out" statement, which prevents the
cleanup statements from being replicated many, many, many times
throughout the entire file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6863
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 21:31:45 +0000 (21:31 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6862
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 21:07:28 +0000 (21:07 +0000)]
Added missing backslash at the end of one of the lines, missing from
the Macintosh integration.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6861
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 21:03:18 +0000 (21:03 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6860
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:55:45 +0000 (20:55 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6859
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:52:20 +0000 (20:52 +0000)]
Fix tabbing in prototypes. (Just to clear up a conflict)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6858
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:50:11 +0000 (20:50 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6857
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:47:50 +0000 (20:47 +0000)]
Oops! Removed ^M from source files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6856
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:45:20 +0000 (20:45 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6855
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:37:51 +0000 (20:37 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
aclocal.m4 (MAKE_SUBDIRS, DO_SUBDIRS): MAKE_SUBDIRS now takes three
arguments; DO_SUBDIRS now generates target rules of the form:
"foo-unix: <for each subdirectory> make foo". All of the macros
which generated targets "all", "install", "clean", etc. now generate
targets "all-unix", "install-unix", "clean-unix".
This scheme allows us to do multiple-platform builds, while
preserving ordering constraints that we need in order to build
library subdirectories correctly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6854
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:32:26 +0000 (20:32 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
configure.in: Remove custom MAKE_SUBDIRS line with the standard
DO_SUBDIRS rule, which works now that we're revamping how the
foo-$(WHAT) system works.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6853
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:30:46 +0000 (20:30 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
configure.in: Don't include "all:: all-$(WHAT)" at the end of the
Makefile. That's now included at the very beginning by pre.in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6852
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 Sep 1995 20:26:06 +0000 (20:26 +0000)]
Added lines of the form "all:: all-$(WHAT)" for all, clean, install,
and check.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6851
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 25 Sep 1995 04:20:37 +0000 (04:20 +0000)]
(this may have caused the spin-looping I saw...)
* krb524d.c (do_connection): if recvfrom failed, just return,
don't try to use the (likely invalid) sockaddr in a reply message.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6850
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Mon, 25 Sep 1995 02:07:06 +0000 (02:07 +0000)]
Pick up Mac ReadMe file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6848
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Mon, 25 Sep 1995 00:52:56 +0000 (00:52 +0000)]
Fixed kb_seal_size prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6847
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Mon, 25 Sep 1995 00:45:56 +0000 (00:45 +0000)]
Update of kconfig project file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6846
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Sun, 24 Sep 1995 23:55:45 +0000 (23:55 +0000)]
Change password for the Mac
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6845
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Sun, 24 Sep 1995 20:29:17 +0000 (20:29 +0000)]
Removing mac/build directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6844
dc483132-0cff-0310-8789-
dd5450dbe970
Keith Vetter [Sun, 24 Sep 1995 20:27:37 +0000 (20:27 +0000)]
Remove mac/build directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6843
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Sun, 24 Sep 1995 03:41:22 +0000 (03:41 +0000)]
(change has no real effect, but I found the inconsistency when looking for
a real problem which wasn't here...)
* write_msg.c (krb5_write_message): check the real length
variable, not the net version.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6842
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Sun, 24 Sep 1995 03:21:39 +0000 (03:21 +0000)]
* logger.c (klog_com_err_proc): pass whoami in failure messages
for error log failures to match format string.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6841
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 05:37:59 +0000 (05:37 +0000)]
Added preauth numbers for KRB5_CYBERSAFE_SECUREID and
KRB5_PADATA_AFS3_SALT.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6840
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 04:28:26 +0000 (04:28 +0000)]
Exclude the MAC and DOS tar/zip files when creating the Mac tar file.
Adjust the windows NT exclusion file so that it works correctly; zip
is a little bit touchy about file specifications.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6839
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 03:33:26 +0000 (03:33 +0000)]
Define PROTOTYPE if it is not defined elsewhere
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 03:19:15 +0000 (03:19 +0000)]
gss-clie.c: turned const_gss_OID into const gss_OID.
gss-misc.c: needed more includes.
gss.c: needed more includes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6837
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 03:10:24 +0000 (03:10 +0000)]
keysalt.c: 16/32 bit integer mismatch.
str_conv.c: sftime_format_table is conditional upon HAVE_STRFTIME,
cast some constants to long so that math wouldn't overflow,
16/32 bit integer size mismatch.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6836
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:30:24 +0000 (02:30 +0000)]
Change length field in krb5_alt_method and krb5_etype_info_entry to be
an int, instead of an int32. This allows the ASN.1 length parsing
routines to work properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6835
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:29:08 +0000 (02:29 +0000)]
Remove the (int) cast, since you can't take address of a value which
has been casted. Instead we change the underlying type in the
structure to be an int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6834
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:16:21 +0000 (02:16 +0000)]
acquire_.c: changed int to size_t.
gssapip_.h: added prototype for kg_seal_size.
k5seal.c: 16/32 bit mismatch and removed unused variables.
seal.c: 16/32 bit mismatch.
sign.c: 16/32 bit mismatch.
ser_sctx.c: added prototypes for all functions since they get
assigned into a structure that has been prototyped.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6833
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:05:01 +0000 (02:05 +0000)]
oid_ops.c: signed/unsigned mismatch, removed unused variables
util_oid.c: changed int to a size_t.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6832
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:03:31 +0000 (02:03 +0000)]
Put back in all:: all-$(WHAT) rule--PC needs it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6831
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 02:00:50 +0000 (02:00 +0000)]
Removed ^M's from DOS integration. (Oops!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6830
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:39:51 +0000 (01:39 +0000)]
Put back in all:: all-$(WHAT) rule--PC needs it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6829
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:38:54 +0000 (01:38 +0000)]
Makefile.in: PC needs sscanf.c
sscanf.c: cleanup to compile cleanly on the PC, mostly fixing
signed/unsigned mismatches.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6828
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:37:02 +0000 (01:37 +0000)]
had to define away DBFLAGS for the PC
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6827
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:35:53 +0000 (01:35 +0000)]
get_in_t.c: removed unused variable.
rd_cred.c: removed INTERFACE keyword.
ser_auth.c: passing int32 where a size_t is wanted.
ser_ctx.c: 16/32 bit int size mismatch.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6826
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:29:10 +0000 (01:29 +0000)]
Added MSDOS to wherever MACINTOSH was used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6825
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:27:39 +0000 (01:27 +0000)]
signed/unsigned mismatch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 01:26:17 +0000 (01:26 +0000)]
32 bit word being passed as an int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6823
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:29:09 +0000 (00:29 +0000)]
Makefile.in: moved shared rule to all-unix:: target
des_crc.c, des_md5.c, raw_des.c: had a volatile/const mismatch
which needs a cast to resolve.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6822
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:26:04 +0000 (00:26 +0000)]
Makefile.in: PC builds all C files because of function name changes
c_localtime.c, c_ustime.c: removed INTERFACE keyword.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6821
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:20:59 +0000 (00:20 +0000)]
md5crypt.c: put function prototype back in, fixed signed/unsigned
mismatch and removed unused variables.
md5glue.c: put function prototypes back in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6820
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:19:35 +0000 (00:19 +0000)]
md4crypt.c: put function prototype back in, fixed signed/unsigned
mismatch and removed unused variables.
md4glue.c: put function prototypes back in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6819
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:17:28 +0000 (00:17 +0000)]
put function prototype back in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6818
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 23 Sep 1995 00:00:54 +0000 (00:00 +0000)]
prof_int.h: added SIZEOF defines for the PC, and added missing
prototype for profile_find_node_name()
prof_init.c (profile_get_first_values): Remove unused variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6817
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 22 Sep 1995 23:59:56 +0000 (23:59 +0000)]
Only define sys_nerr if we're on a Macintosh. On those systems which
use sys_nerr, it's an external variable, defined by libc. Under
Windows, it's apparently an cpp macro.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6816
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 22 Sep 1995 23:46:10 +0000 (23:46 +0000)]
added windows value for SRCTOP
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6815
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 22 Sep 1995 23:44:14 +0000 (23:44 +0000)]
(from Keith Vetter's windows changes); define THREEPARAMOPEN and
prototype for sscanf. Also add #define for strncasecmp() to the
microsoft's strnicmp() function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6814
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 22 Sep 1995 23:40:54 +0000 (23:40 +0000)]
Build the error table header files into include, not include/krb5; and
construct krb5.h from krb5.hin and the error table header files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6813
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Sep 1995 16:21:44 +0000 (16:21 +0000)]
Declare cleanup function as void and propogate thoughout the file. This handles
conflicts with free
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6812
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 18 Sep 1995 18:18:18 +0000 (18:18 +0000)]
Don't modify a const input variable val; copy it to a scratch variable
and modify that.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6811
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 18 Sep 1995 15:17:40 +0000 (15:17 +0000)]
* main.c (init_realm): strdup KRB5_KDB_M_NAME if we use it, to
avoid free'ing a constant later.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6810
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Sep 1995 12:39:04 +0000 (12:39 +0000)]
Makefile.in (check): Only build libdb.a when making the self checks. Do
not install the library.
configure.in: Do not build a shared library - the contents are already
merged into libkrb5. (continue to build shared object files though)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6809
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Sep 1995 09:09:28 +0000 (09:09 +0000)]
Initialize the service name to SAMPLE_SERVICE instead of leaving as NULL
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6808
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Sep 1995 08:04:14 +0000 (08:04 +0000)]
kdb5_edit.c (show_principal): Show key version and last password change
cpw.c: Fix typo in below change in which list was terminated after third
entry. (extra } removed)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6807
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Sep 1995 03:42:16 +0000 (03:42 +0000)]
Fix typo error in checkin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6806
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:56:46 +0000 (07:56 +0000)]
Program for testing if getsockname() works like the BSD networking code
or not.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6804
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:46:49 +0000 (07:46 +0000)]
Fix optional host parsing so that host is recognized as an argument
without the -h option. Free the context and auth_context structures
before exiting.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6803
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:42:04 +0000 (07:42 +0000)]
Free the context and auth_context before exiting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6802
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:41:21 +0000 (07:41 +0000)]
Add an optional third argument which allows the user to set the
Kerberos service name to be used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6801
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:40:20 +0000 (07:40 +0000)]
Allow the user to specify the service instance using the -s option.
Use SO_REUSEEADDR so that the port can be immediately reused. Free
the context and auth_context before exiting.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6800
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:37:50 +0000 (07:37 +0000)]
(sign_server): Only try using gss_export_context and
gss_import_context if the dov2 flag has been set.
(server_establish_context): Make sure the client gss_name_t is
released.
(main): Add a -once option which causes the gss-server to exit after
processing one client. Allows purify to report memory leaks.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6799
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:33:23 +0000 (07:33 +0000)]
Lots of memory leaks and other fixes...
gssapiP_krb5.h: Remove context and cred from the gssapi security
context, as they aren't needed. kg_seal and kg_unseal now take a
krb5_context argument.
ser_sctx.c (kg_ctx_size, kg_ctx_externalize, kg_ctx_internalize): No
longer serialize the context and cred fields of the gssapi security
context.
krb5_gss_glue.c: Don't rely on the context field of the gssapi
security context. Use kg_context instead.
verify.c (krb5_gss_verify, krb5_gss_verify_mic):
unseal.c (krb5_gss_unwrap, krb5_gss_unseal):
sign.c (krb5_gss_sign, krb5_gss_get_mic):
seal.c (krb5_gss_seal, krb5_gss_wrap):
process_context_token.c (krb5_gss_process_context_token):
k5unseal.c (kg_unseal):
k5seal.c (kg_seal_size): Add a krb5_context argument to this function,
so we don't have to depend on the context field in the gssapi
security context.
init_sec_context.c (krb5_gss_init_sec_context): Don't initialize the
context and cred fields in the gssapi security context. Copy
ctx->subkey to ctx->seq.key, so they are separately allocated.
gssapi_krb5.c (kg_get_context): When initialize kg_context, call
krb5_init_ets() so that the error tables are initialized.
export_sec_context.c (krb5_gss_export_sec_context): Don't depend on
the context field from the gssapi security context. Free
ctx->seq.key.
delete_sec_context.c (krb5_gss_delete_sec_context): kg_seal() now
takes a krb5_context argument. Free ctx->seq.key.
acquire_cred.c (krb5_gss_acquire_cred): Clear the gssapi credential
before setting it, to prevent purify from complaining.
accept_sec_context.c (krb5_gss_accept_sec_context): Remove context and
cred from the gssapi security context. Make sure the ticket is freed
after we're done with it.
import_sec_context.c (krb5_gss_import_sec_context): Don't bash the
input interprocess_token. Otherwise, it can't be freed. Don't
depend on the context field in the gss security context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6798
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 16 Sep 1995 07:00:32 +0000 (07:00 +0000)]
sendauth.c (krb5_sendauth): Make sure the scratch credentials
structure may have possible been used be freed..
rd_safe.c (krb5_rd_safe_basic): Fall through to the cleanup code at
the end, to make sure the decoded message in message is freed.
rd_req_dec.c (krb5_rd_req_decoded): Use krb5_copy_keyblock to copy
authent->subkey to auth_context->remote_subkey. Keeping them
separate avoids aliasing problems.
mk_req_ext.c (krb5_generate_authenticator): Fix memory leak. Don't
bash authent->subkey with key after carefully copying it using
krb5_copy_keyblock!
recvauth.c (krb5_recvauth): krb5_get_server_rcache() already opens the
rcache; doing it again merely causes a memory leak.
gen_subkey.c (krb5_generate_subkey): Eliminate memory leak.
krb5_init_random_key() does its own allocation of the
keyblock.
gc_via_tkt.c (krb5_kdcrep2creds): Fix memory leak.
srv_rcache.c (krb5_get_server_rcache): Fix memory leak.
rd_safe.c (krb5_rd_safe_basic): Fix memory leak.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6797
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 21:14:12 +0000 (21:14 +0000)]
klist.M: Updated the man page to include all of the supported options
klist.c (main, show_credential): Reimplement the -e option, and
display the encryption used by the session key and of the ticket.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6796
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 18:32:15 +0000 (18:32 +0000)]
Improved (and changed) input argument handling, to make sim_server
more flexible. This should make it possible to run sim_server from a
DejaGnu test suite. Fixed -Wall nits.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6795
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 18:25:11 +0000 (18:25 +0000)]
Use separate definitions for the Kerberos instance name and the UDP
port name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6794
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 18:23:25 +0000 (18:23 +0000)]
Add DES_CBC_MD5 and DES_CBC_CRC with the V4 salt as default key/salt
tuples to be added. (Once proven's DES_* folding code is implemented,
we can shorten this list.) Eventually, this list should be read in
from kdc.conf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6793
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 09:08:10 +0000 (09:08 +0000)]
Update production rule of kerbsrc-nt.zip to be like the modified
kerbsrc.zip rule.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6792
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 09:03:42 +0000 (09:03 +0000)]
sim_client.c (main): Added better options parsing for more flexibility
in calling this program. Worked around breakage in the Solaris
Streams Sockets emulation where getsockname() can not be used to find
out the address of a network interface.
configure.in: If we are including both -lsocket and -lnsl, #define
BROKEN_STREAMS_SOCKETS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6791
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Sep 1995 05:50:03 +0000 (05:50 +0000)]
Stop after finding the first TGS key which matches an entry in the
key/salt list. (Typo; added missing '!')
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6790
dc483132-0cff-0310-8789-
dd5450dbe970