krb5.git
29 years agoFix typos in Mike's changes
Jonathan Kamens [Fri, 31 Mar 1995 16:20:28 +0000 (16:20 +0000)]
Fix typos in Mike's changes

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

29 years agoChanges from shanzer for API versioning tests
Jonathan Kamens [Fri, 31 Mar 1995 16:18:36 +0000 (16:18 +0000)]
Changes from shanzer for API versioning tests

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

29 years agoFix typo which caused new_keytab to not get freed, causing a memory
Theodore Tso [Fri, 31 Mar 1995 05:46:29 +0000 (05:46 +0000)]
Fix typo which caused new_keytab to not get freed, causing a memory
leak.

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

29 years agoCommit on the whole tree to make a checkpoint for a working windows world
Keith Vetter [Fri, 31 Mar 1995 02:05:49 +0000 (02:05 +0000)]
Commit on the whole tree to make a checkpoint for a working windows world

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

29 years agoNo need to have the session_key established for mutual authentication
Theodore Tso [Wed, 29 Mar 1995 22:06:26 +0000 (22:06 +0000)]
No need to have the session_key established for mutual authentication
to work.  (That's only done if ENCRYPTION is defined.)

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

29 years agoAdd a makefile dependency for libtelnet.a, so that the executable gets
Theodore Tso [Wed, 29 Mar 1995 20:45:44 +0000 (20:45 +0000)]
Add a makefile dependency for libtelnet.a, so that the executable gets
automatically relinked when the library changes.

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

29 years agoAllow mutual authentication even if the ENCRYPTION option is not
Theodore Tso [Wed, 29 Mar 1995 20:09:51 +0000 (20:09 +0000)]
Allow mutual authentication even if the ENCRYPTION option is not
turned on.

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

29 years ago* def.h: Replace STDARG_PROTOTYPES with HAVE_STDARG_H
John Gilmore [Wed, 29 Mar 1995 16:59:39 +0000 (16:59 +0000)]
* def.h:  Replace STDARG_PROTOTYPES with HAVE_STDARG_H

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

29 years ago* Makefile.in: Fix up Mac makefile.
John Gilmore [Wed, 29 Mar 1995 16:58:10 +0000 (16:58 +0000)]
* Makefile.in:  Fix up Mac makefile.
* error_message.c:  For errno, use strerror if HAS_STRERROR.
* configure.in:  Define HAS_STRERROR.

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

29 years ago* ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now.
John Gilmore [Wed, 29 Mar 1995 16:55:01 +0000 (16:55 +0000)]
* ccdefname.c:  On Mac, default cred cache is "STDIO:krb5cc" for now.
FIXME, this needs to find the Preferences folder and use that.
FIXME, shouldn't be conditioned on HAVE_MACSOCK_H.

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

29 years agoAdded functionality for windows to read default file locations from
Keith Vetter [Wed, 29 Mar 1995 05:06:42 +0000 (05:06 +0000)]
Added functionality for windows to read default file locations from
windows ini files.

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

29 years agoChasing an elusive nmake bug
Keith Vetter [Wed, 29 Mar 1995 04:20:02 +0000 (04:20 +0000)]
Chasing an elusive nmake bug

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

29 years agoAdded capability for windows version to read default values out of an ini file
Keith Vetter [Wed, 29 Mar 1995 04:13:53 +0000 (04:13 +0000)]
Added capability for windows version to read default values out of an ini file

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

29 years agoMoved the differing parts of osconf.win into osconf.h
Keith Vetter [Wed, 29 Mar 1995 04:07:14 +0000 (04:07 +0000)]
Moved the differing parts of osconf.win into osconf.h

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

29 years ago* Makefile.in: Fix up Mac build process somewhat. Not complete
John Gilmore [Wed, 29 Mar 1995 02:56:31 +0000 (02:56 +0000)]
* Makefile.in:  Fix up Mac build process somewhat.  Not complete

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

29 years ago* Makefile.in (all): Run all-$(WHAT).
John Gilmore [Wed, 29 Mar 1995 02:51:56 +0000 (02:51 +0000)]
* Makefile.in (all):  Run all-$(WHAT).
(unixmac):  Build includes at this time.
(LDFLAGS):  Punt duplicated setting.

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

29 years ago* Makefile.in (all): Split into all-$(WHAT).
John Gilmore [Wed, 29 Mar 1995 02:50:55 +0000 (02:50 +0000)]
* Makefile.in (all):  Split into all-$(WHAT).
(unixmac):  Add.
(libupdate):  Use $(RM).

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

29 years ago* configure.in (AC_REPLACE_FUNCS): Add getuid to the list.
John Gilmore [Wed, 29 Mar 1995 02:49:44 +0000 (02:49 +0000)]
* configure.in (AC_REPLACE_FUNCS):  Add getuid to the list.
* getuid.c:  Simple getuid() to fake out single-user systems.
* strcasecmp.c:  Remove duplicated <sys/types.h> and u_char.

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

29 years ago* DNR.c: Add Apple MacTCP source file for domain name resolution.
John Gilmore [Wed, 29 Mar 1995 02:46:29 +0000 (02:46 +0000)]
* DNR.c:  Add Apple MacTCP source file for domain name resolution.
* macsock.c:  Add fake socket support routines for MacTCP.
* Makefile.in (OBJS, SRCS):  Add DNR and macsock.
* ccdefname.c:  On Mac, default cred cache is "STDIO:krb5cc" for now.
FIXME, this needs to find the Preferences folder and use that.
FIXME, shouldn't be conditioned on HAVE_MACSOCK_H.
* gmt_mktime.c:  Use HAVE_SYS_TYPES_H.
* krbfileio.c:  Remove <sys/types.h>.
* localaddr.c, sendto_kdc.c:  Convert to more generic socket
support.  Use closesocket instead of close, SOCKET_ERRNO rather
than errno, SOCKET rather than int, etc.
* localaddr.c:  Use getmyipaddr() from macsock.c, if on Mac.
Add FIXME for multiple local addresses.
* lock_file.c:  Provide a dummy version for MacOS.
* read_pwd.c (ECHO_PASSWORD):  Add #ifdef's to avoid all the ioctls
and other stuff that turn off echoing.  This is useful for debugging
on MacOS.  FIXME:  ECHO_PASSWORD needs to be added to configure.in.
* ustime.c:  Bring in Mac-specific time-and-timezone code.  It
probably isn't hooked up correctly, yet.

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

29 years ago* rd_req_sim.c: Really remove the file
John Gilmore [Wed, 29 Mar 1995 02:35:05 +0000 (02:35 +0000)]
* rd_req_sim.c:  Really remove the file

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

29 years ago* Makefile.in (BUILDTOP2, etc): Make it possible
John Gilmore [Wed, 29 Mar 1995 02:34:03 +0000 (02:34 +0000)]
* Makefile.in (BUILDTOP2, etc):  Make it possible
to build the error tables on Unix before a Mac build.
(all-mac):  Don't build $(HDRS) on Mac.
(unixmac):  Build `includes'.
(clean-mac):  Add.
(includes, clean, .SUFFIXES, .et.h, .et.c):  Add, to make it
possible to run `make -f Makefile.in unixmac' successfully.
* configure.in (ASN1_{HDRS,OBJS,SRCS, BOGUS):  Remove, unused.
(CopyHeader rules):  Remove, they're now in Makefile.in.

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

29 years ago* Makefile.in (unixmac): Add to build header files
John Gilmore [Wed, 29 Mar 1995 02:28:37 +0000 (02:28 +0000)]
* Makefile.in (unixmac):  Add to build header files

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

29 years ago* Makefile.in (clean-mac): Add.
John Gilmore [Wed, 29 Mar 1995 02:27:41 +0000 (02:27 +0000)]
* Makefile.in (clean-mac):  Add.
* configure.in (LinkFile's):  Put `./' on libraries to ease Mac
translation.
(AppendRule all-unix):  Rename from AppendRule all.

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

29 years ago* Makefile.in (KRB5_HEADERS, install): `Make install' now works.
John Gilmore [Wed, 29 Mar 1995 02:14:16 +0000 (02:14 +0000)]
* Makefile.in (KRB5_HEADERS, install):  `Make install' now works.
* configure.in (WITH_KRB5ROOT):  For `make install'.
* krb5.h:  Include "k5-errors.h" rather than "errors.h".

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

29 years ago* k5-errors.h: Rename errors.h (which duplicated a standard Mac
John Gilmore [Wed, 29 Mar 1995 02:12:14 +0000 (02:12 +0000)]
* k5-errors.h:  Rename errors.h (which duplicated a standard Mac
header name, causing a problem).
* AddressXlation.h, GetMyIPAddr.h, MacTCPCommonTypes.h, TCPPB.h,
UDPPB.h:  Add MacTCP header files.

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

29 years ago* Makefile.in (KRB5_HEADERS, install): Account for file renames.
John Gilmore [Wed, 29 Mar 1995 02:08:58 +0000 (02:08 +0000)]
* Makefile.in (KRB5_HEADERS, install):  Account for file renames.
(all-mac):  Add.
* configure.in (CONFIG_RULES):  Remove.
(krb5_sigtype):  Define as either void or int.
* encryption.h:  Insert parentheses in macros to avoid mis-expansion.
* k5-config.h:  Further parameterize socket support.
* macsock.h:  Support connect(), recv(), send(), getmyipaddr().
(WSAGetLastError):  Fix typo -- there's no argument to this macro.

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

29 years ago* mac-config.cache: Correct some entries.
John Gilmore [Wed, 29 Mar 1995 02:01:43 +0000 (02:01 +0000)]
* mac-config.cache:  Correct some entries.
* mac-mf.sed:  Improve conversion of pathnames, $(srcdir),
support linking MPW tools (for make check, kinit).
* mac-pre.in (.c.o):  Add -sym on for debugging.
(LDFLAGS):  Remove ToolLibs.o.
(RANLIB, ARCHIVE):  Make these work.
(MAKE):  Make recursive makes work, with BuildProgram.

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

29 years ago* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
John Gilmore [Wed, 29 Mar 1995 01:57:39 +0000 (01:57 +0000)]
* Makefile.in (LDFLAGS):  Remove, conflicts with pre.in.
(kinit):  Link with $(CC) $(LDFLAGS), to work on the Mac.
* kinit.c (HAVE_PWD_H):  Use.
(NO_KEYTAB):  Skip keytab support if defined.
FIXME:  NO_KEYTAB needs to be set by configure.

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

29 years agoBring in portability fixes from Cygnus K4 release
John Gilmore [Tue, 28 Mar 1995 23:42:20 +0000 (23:42 +0000)]
Bring in portability fixes from Cygnus K4 release

* f_cbc.c, f_cksum.c, f_pcbc.c:  Replace individual casts with
simpler solution.
* f_tables.h:  Insert debugging code, and circumvention for MPW
compiler bug.
* key_sched.c:  Remove ancient (microvax??!) comments, and dup
prototype.
* verify.c:  Small hack for MS-Windows scrolling.  Fix spelling.
"register x" -> "register int x".

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

29 years agoRenamed some windows files
Keith Vetter [Tue, 28 Mar 1995 19:54:19 +0000 (19:54 +0000)]
Renamed some windows files

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

29 years agoAdding zipping and building in windows/wintel directory
Keith Vetter [Tue, 28 Mar 1995 08:01:28 +0000 (08:01 +0000)]
Adding zipping and building in windows/wintel directory

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

29 years agoFixed typo in windows makefile
Keith Vetter [Tue, 28 Mar 1995 07:33:29 +0000 (07:33 +0000)]
Fixed typo in windows makefile

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

29 years agoRenamed a file for DOS 8.3 compatability
Keith Vetter [Tue, 28 Mar 1995 05:17:56 +0000 (05:17 +0000)]
Renamed a file for DOS 8.3 compatability

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

29 years agoAdded windows/wintel directory
Keith Vetter [Tue, 28 Mar 1995 04:59:14 +0000 (04:59 +0000)]
Added windows/wintel directory

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

29 years agoMinor bug fixes and clean up in windows/cns
Keith Vetter [Tue, 28 Mar 1995 04:55:24 +0000 (04:55 +0000)]
Minor bug fixes and clean up in windows/cns

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

29 years agoAdded windows/wintel directory for the windows telnet program
Keith Vetter [Tue, 28 Mar 1995 04:51:52 +0000 (04:51 +0000)]
Added windows/wintel directory for the windows telnet program

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

29 years ago* full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:
John Gilmore [Mon, 27 Mar 1995 22:28:25 +0000 (22:28 +0000)]
* full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:
Remove explicit includes of socket files.
* locate_kdc.c:  Remove <sys/types.h> and "os-proto.h".

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

29 years ago* macsock.c (connect, send, recv): Add for K5 compatability.
John Gilmore [Mon, 27 Mar 1995 22:19:24 +0000 (22:19 +0000)]
* macsock.c (connect, send, recv):  Add for K5 compatability.
(getmyipaddr):  Add for use in K5.

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

29 years ago* macsock.c: Add Mac socket support file, verbatim from K4 release
John Gilmore [Mon, 27 Mar 1995 22:17:24 +0000 (22:17 +0000)]
* macsock.c:  Add Mac socket support file, verbatim from K4 release

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

29 years ago * kdc5_hammer.c (verify_cs_pair()): Use new calling conventions
Chris Provenzano [Mon, 27 Mar 1995 14:50:56 +0000 (14:50 +0000)]
    * kdc5_hammer.c (verify_cs_pair()): Use new calling conventions
for krb5_rd_req() and krb5_mk_req_extended(),

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

29 years ago * kprop.c : Use new calling conventions for krb5_sendauth(),
Chris Provenzano [Mon, 27 Mar 1995 14:50:30 +0000 (14:50 +0000)]
    * kprop.c : Use new calling conventions for krb5_sendauth(),
krb5_mk_safe(), krb5_rd_safe() and krb5_mk_priv().

        * kpropd.c : Use new calling conventions for krb5_recvauth(),
krb5_mk_safe(), krb5_rd_safe() and krb5_rd_priv().

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

29 years ago * Makefile.in: Removed rd_req_sim.c
Chris Provenzano [Mon, 27 Mar 1995 14:49:55 +0000 (14:49 +0000)]
* Makefile.in: Removed rd_req_sim.c

* auth_con.c: Default cksumtype is now CKSUMTYPE_RSA_MD4_DES.

* auth_con.c: Added krb5_auth_con_setuseruserkey(),
krb5_auth_con_getkey(),
krb5_auth_con_getremotesubkey(),
krb5_auth_con_getauthenticator(),
krb5_auth_con_getremoteseqnumber(),
krb5_auth_con_initivector().

* auth_con.c: Fixed krb5_auth_con_getlocalsubkey() to check for
a valid local_subkey before calling krb5_copy_keyblock().

* auth_con.h: Fixed some comments.

* mk_req_ext.c (krb5_mk_req_extended()): Always pass in a seed
(the keyblock contents) to krb5_calculate_checksum()

* rd_rep.c (krb5_rd_rep()): Use appropriate key to decode reply.

* rd_safe.c (krb5_rd_safe()): Don't pass checksum to
krb5_rd_safe_basic(), it's unnecessary.

* compat_recv.c (krb5_compat_recvauth()):
* mk_rep.c (krb5_mk_rep()):
* rd_req.c (krb5_rd_req()):
* rd_req_dec.c (krb5_rd_req_decode()):
* recvauth.c (krb5_recvauth()):
Added a krb5_auth_context argument and eliminated many of
the other arguments because they are included in the
krb5_auth_context structure.

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

29 years ago * accept_sec_context.c: Use new calling convention for krb5_rd_req()
Chris Provenzano [Mon, 27 Mar 1995 14:49:07 +0000 (14:49 +0000)]
    * accept_sec_context.c: Use new calling convention for krb5_rd_req()
and krb5_mk_rep().

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

29 years ago * kdc_util.c Use new calling conventions for krb5_rd_req_decoded()
Chris Provenzano [Mon, 27 Mar 1995 14:48:30 +0000 (14:48 +0000)]
* kdc_util.c Use new calling conventions for krb5_rd_req_decoded()

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

29 years ago * adm_process.c, adm_kadmin.c, adm_adm_func.c, adm_kpasswd.c,
Chris Provenzano [Mon, 27 Mar 1995 14:47:28 +0000 (14:47 +0000)]
    * adm_process.c, adm_kadmin.c, adm_adm_func.c, adm_kpasswd.c,
* adm_funcs, adm_nego.c adm_extern.c and adm_listen.c
                Use new calling convention for krb5_recvauth(), krb5_mk_priv(),
                krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe().
(Redid many of the internal functions to accomidate new a
uth_context structure and remove old unnecessary structures.)

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

29 years ago * kpasswd.c: Cast malloc() return value to shut compiler up
Chris Provenzano [Mon, 27 Mar 1995 14:46:25 +0000 (14:46 +0000)]
* kpasswd.c: Cast malloc() return value to shut compiler up

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

29 years ago * kadmin_inq.c, kadmin.c:
Chris Provenzano [Mon, 27 Mar 1995 14:46:00 +0000 (14:46 +0000)]
    * kadmin_inq.c, kadmin.c:
Cast malloc() return value to shut compiler up.

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

29 years ago * func-proto.h (krb5_rd_req(), krb5_rd_req_decode(), krb5_mk_rep(),
Chris Provenzano [Mon, 27 Mar 1995 14:39:33 +0000 (14:39 +0000)]
    * func-proto.h (krb5_rd_req(), krb5_rd_req_decode(), krb5_mk_rep(),
                krb5_recvauth(), and krb5_compat_recvauth(). Added a
krb5_auth_context argument and eliminated many of the
other arguments because they are included in the
krb5_auth_context structure.

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

29 years ago * server.c: Use new calling conventions for krb5_sendauth(),
Chris Provenzano [Mon, 27 Mar 1995 14:32:20 +0000 (14:32 +0000)]
    * server.c: Use new calling conventions for krb5_sendauth(),
krb5_mk_req_extended(), and krb5_mk_safe().

        * client.c: Use new calling conventions for krb5_recvauth(),
krb5_rd_req(), and krb5_rd_safe().

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

29 years ago * kerberos5.c (kerberos5_is()): Use new calling convention for
Chris Provenzano [Mon, 27 Mar 1995 14:31:31 +0000 (14:31 +0000)]
    * kerberos5.c (kerberos5_is()): Use new calling convention for
krb5_rd_req(), and krb5_mk_rep().

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

29 years ago * sim_server.c: Use new calling convention for krb5_rd_req(),
Chris Provenzano [Mon, 27 Mar 1995 14:30:55 +0000 (14:30 +0000)]
    * sim_server.c: Use new calling convention for krb5_rd_req(),
krb5_rd_safe(), and krb5_rd_priv().

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

29 years ago * sim_client.c: Don't set cksumtype because CKSUMTYPE_RSA_MD4_DES
Chris Provenzano [Mon, 27 Mar 1995 14:30:32 +0000 (14:30 +0000)]
* sim_client.c: Don't set cksumtype because CKSUMTYPE_RSA_MD4_DES
is now the default type.

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

29 years ago * sserver.c: Use new calling convention for krb5_recvauth()
Chris Provenzano [Mon, 27 Mar 1995 14:22:04 +0000 (14:22 +0000)]
    * sserver.c: Use new calling convention for krb5_recvauth()

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

29 years ago * pop_init.c Use new calling conventions for krb5_recvauth()
Chris Provenzano [Mon, 27 Mar 1995 14:21:38 +0000 (14:21 +0000)]
    * pop_init.c Use new calling conventions for krb5_recvauth()

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

29 years ago * movemail.c: Fixups to get movemail to compile
Chris Provenzano [Mon, 27 Mar 1995 14:21:13 +0000 (14:21 +0000)]
* movemail.c: Fixups to get movemail to compile

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

29 years ago * poplib.c (pop_init()): Use new calling convention for krb5_sendauth()
Chris Provenzano [Mon, 27 Mar 1995 14:11:54 +0000 (14:11 +0000)]
* poplib.c (pop_init()): Use new calling convention for krb5_sendauth()

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

29 years agokcmd.c (kcmd()): Don't pass any data to sendauth() to be
Chris Provenzano [Mon, 27 Mar 1995 14:03:41 +0000 (14:03 +0000)]
kcmd.c (kcmd()): Don't pass any data to sendauth() to be
cchecksummed. The remote side doesn't check it anyway.

krcp.c (send_auth()): Use new calling convention for krb5_rd_req().

krshd.c (recvauth()): Use new calling convention for krb5_compat_recvauth().

krlogind.c (recvauth()): Use new calling convention for krb5_compat_recvauth().

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

29 years ago * Makefile.in (memmove.c): memmove.c is in krb5/posix, not krb5/os
Mark Eichin [Sat, 25 Mar 1995 20:42:08 +0000 (20:42 +0000)]
* Makefile.in (memmove.c): memmove.c is in krb5/posix, not krb5/os

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

29 years ago * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in
Tom Yu [Sat, 25 Mar 1995 20:15:14 +0000 (20:15 +0000)]
* scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in
reference to fvno_bytes)

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

29 years ago * scc_gennew.c: Ultrix cc (and K&R compilers) doesn't deal with
Tom Yu [Sat, 25 Mar 1995 19:57:07 +0000 (19:57 +0000)]
* scc_gennew.c: Ultrix cc (and K&R compilers) doesn't deal with
automatic aggregate initialization, so fixed scc_fvno usage.

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

29 years ago * asn1_decode.c: move declaration of gmt_mktime() outside of
Tom Yu [Sat, 25 Mar 1995 19:14:42 +0000 (19:14 +0000)]
* asn1_decode.c: move declaration of gmt_mktime() outside of
asn1_decode_generaltime() so that compilers like Ultrix cc that
don't support prototypes within function bodies don't break

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

29 years agoInitialize auth_context to zero before calling mk_req
Theodore Tso [Sat, 25 Mar 1995 05:42:36 +0000 (05:42 +0000)]
Initialize auth_context to zero before calling mk_req

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

29 years agofix copied code in HAVE_GETUTENT case
Mark Eichin [Sat, 25 Mar 1995 04:16:28 +0000 (04:16 +0000)]
fix copied code in HAVE_GETUTENT case

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

29 years agoOops. The ketype field was 2 bytes, not 1
Theodore Tso [Sat, 25 Mar 1995 03:55:21 +0000 (03:55 +0000)]
Oops.  The ketype field was 2 bytes, not 1

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

29 years agoFix stupid bug from the last change
Theodore Tso [Sat, 25 Mar 1995 03:30:07 +0000 (03:30 +0000)]
Fix stupid bug from the last change

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

29 years agoHardcode the size of the keytype field in the file format, to be
Theodore Tso [Sat, 25 Mar 1995 03:08:05 +0000 (03:08 +0000)]
Hardcode the size of the keytype field in the file format, to be
compatible with what was used in the Beta 4 release (before we changed
the size of a krb5_keytype type).

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

29 years agoDon't include sys/socket.h and netdb.h, since they are included by
Theodore Tso [Fri, 24 Mar 1995 23:06:57 +0000 (23:06 +0000)]
Don't include sys/socket.h and netdb.h, since they are included by
k5-config.h

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

29 years agolocate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h,
Theodore Tso [Fri, 24 Mar 1995 23:06:07 +0000 (23:06 +0000)]
locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h,
since these files are already included by k5-config.h

sendto_kdc.c: Don't include sys/socket.h, since it is already
included by k5-config.h

sn2princ.c: Don't include netdb.h, since it is already included
by k5-config.h

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

29 years agoDon't cast dbm_close() to void, because dbm_close is already void
Theodore Tso [Fri, 24 Mar 1995 22:46:19 +0000 (22:46 +0000)]
Don't cast dbm_close() to void, because dbm_close is already void

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

29 years agokinit.c (main): Remove the call to krb5_os_localaddr() since
Theodore Tso [Fri, 24 Mar 1995 22:42:59 +0000 (22:42 +0000)]
kinit.c (main): Remove the call to krb5_os_localaddr() since
      get_in_tkt_XXXX will default appropriately.

kinit.c (main): Kinit will print an error when there are two
      many arguments.

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

29 years agokdc5_hammer.c (get_tgt): Remove the call to krb5_os_localaddr()
Theodore Tso [Fri, 24 Mar 1995 22:36:48 +0000 (22:36 +0000)]
kdc5_hammer.c (get_tgt): Remove the call to krb5_os_localaddr()
since get_in_tkt_XXXX will default appropriately.

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

29 years agokpropd.c (PRS): Don't bother initializing server_addrs since
Theodore Tso [Fri, 24 Mar 1995 22:36:17 +0000 (22:36 +0000)]
kpropd.c (PRS): Don't bother initializing server_addrs since
      it's not used.

kprop.c (get_tickets): Remove the call to krb5_os_localaddr() since
      get_in_tkt_XXXX will default appropriately.

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

29 years agoUse $(SRCTOP) instead of $(srcdir), since Mac's don't like dealing
Theodore Tso [Fri, 24 Mar 1995 22:28:42 +0000 (22:28 +0000)]
Use $(SRCTOP) instead of $(srcdir), since Mac's don't like dealing
with $(U)$(U).

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

29 years agoreplay.c: The KDC replay cache needs to store the database
Theodore Tso [Fri, 24 Mar 1995 22:28:07 +0000 (22:28 +0000)]
replay.c: The KDC replay cache needs to store the database
      modification time, so that if the database is modified in
      between when it receives a request and when it receives a
      replay of the same request, it knows to throw away the
      replay cache entry and generate a new response (since the
      record in the database on which the response is based may
      have been modified).

main.c (kdc_com_err_proc): Use syslog() instead of vsyslog().

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

29 years agoAdd install rule for the error table headers
Theodore Tso [Fri, 24 Mar 1995 22:26:49 +0000 (22:26 +0000)]
Add install rule for the error table headers

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

29 years agoIf /etc/services doesn't have the kadmin port, use a compiled in default
Theodore Tso [Fri, 24 Mar 1995 22:26:07 +0000 (22:26 +0000)]
If /etc/services doesn't have the kadmin port, use a compiled in default

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

29 years agoadm_defs.h (ADM5_DEFAULT_PORT): Add definition of default
Theodore Tso [Fri, 24 Mar 1995 22:24:45 +0000 (22:24 +0000)]
adm_defs.h (ADM5_DEFAULT_PORT): Add definition of default
administration port.

Makefile.in (install): Delete the destination header files
before copying in the new ones.  Also install autoconf.h.
Only install header files if the header file has changed.

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

29 years agoMake same fix for krlogind
Theodore Tso [Fri, 24 Mar 1995 04:42:19 +0000 (04:42 +0000)]
Make same fix for krlogind

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

29 years agoStupid typo in previous fix
Theodore Tso [Fri, 24 Mar 1995 04:29:53 +0000 (04:29 +0000)]
Stupid typo in previous fix

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

29 years agoAdd "support_desmd5" flag
Theodore Tso [Fri, 24 Mar 1995 04:29:00 +0000 (04:29 +0000)]
Add "support_desmd5" flag

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

29 years agoMakefile.in (krshd): Move $(K4LIB) after $(KLIB) so that if
Theodore Tso [Fri, 24 Mar 1995 04:28:07 +0000 (04:28 +0000)]
Makefile.in (krshd): Move $(K4LIB) after $(KLIB) so that if
we're using des425, the V5 crypto library can be picked up.

configure.in: Use the correct path to find libdes425

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

29 years agorealm_dom.c (krb5_get_realm_domain): Don't indent preprocessor directives.
Theodore Tso [Fri, 24 Mar 1995 04:15:15 +0000 (04:15 +0000)]
realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor directives.
(Not portable).

hst_realm.c (krb5_get_host_realm): Don't indent preprocessor directives.
Removed excess close paren introduced by Keith.

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

29 years ago * logutil.c (update_wtmp): initialize ut from ent the way the V4
Mark Eichin [Fri, 24 Mar 1995 01:28:24 +0000 (01:28 +0000)]
* logutil.c (update_wtmp): initialize ut from ent the way the V4
code did. Appears to handle SunOS case (when nearly all of the
ifdef's are off) correctly now.

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

29 years agoFixed breakage introduced by windows port. com_err() is supposed to
Theodore Tso [Fri, 24 Mar 1995 00:00:36 +0000 (00:00 +0000)]
Fixed breakage introduced by windows port.  com_err() is supposed to
print a newline at after printing the error message!

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

29 years agoAlso produce a link map along with the DLL
Keith Vetter [Thu, 23 Mar 1995 22:32:38 +0000 (22:32 +0000)]
Also produce a link map along with the DLL

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

29 years agoUpdated windows readme to reflect the name change of the zip target
Keith Vetter [Thu, 23 Mar 1995 22:05:04 +0000 (22:05 +0000)]
Updated windows readme to reflect the name change of the zip target

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

29 years agoChanged the name of the zipping up source target for the PC
Keith Vetter [Thu, 23 Mar 1995 22:01:39 +0000 (22:01 +0000)]
Changed the name of the zipping up source target for the PC

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

29 years agoWork around of fscanf which is not available in a windows DLL
Keith Vetter [Thu, 23 Mar 1995 03:46:07 +0000 (03:46 +0000)]
Work around of fscanf which is not available in a windows DLL

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

29 years agoAdded some error checking code to handle missing realms file
Keith Vetter [Thu, 23 Mar 1995 00:31:21 +0000 (00:31 +0000)]
Added some error checking code to handle missing realms file

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

29 years agoAdded readme file to the windows directory
Keith Vetter [Wed, 22 Mar 1995 23:04:21 +0000 (23:04 +0000)]
Added readme file to the windows directory

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

29 years agoFixed problem in com_err.c due to the fact that the PC doesn't use autoconf and
Keith Vetter [Wed, 22 Mar 1995 22:38:05 +0000 (22:38 +0000)]
Fixed problem in com_err.c due to the fact that the PC doesn't use autoconf and
com_err.c doesn't include k5-config.h.

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

29 years agoAdded prototypes to ccache change notification
Keith Vetter [Wed, 22 Mar 1995 22:35:49 +0000 (22:35 +0000)]
Added prototypes to ccache change notification

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

29 years agoNew file, unix_time, didn't work on the PC
Keith Vetter [Wed, 22 Mar 1995 22:28:10 +0000 (22:28 +0000)]
New file, unix_time, didn't work on the PC

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

29 years agoRepair some makefile changes which broke the PC build
Keith Vetter [Wed, 22 Mar 1995 22:27:01 +0000 (22:27 +0000)]
Repair some makefile changes which broke the PC build

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

29 years agoPC config changes due to changes in include sys/types.h
Keith Vetter [Wed, 22 Mar 1995 22:24:07 +0000 (22:24 +0000)]
PC config changes due to changes in include sys/types.h

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

29 years agoAdded all-mac target to the top level makefile
Keith Vetter [Wed, 22 Mar 1995 20:42:42 +0000 (20:42 +0000)]
Added all-mac target to the top level makefile

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

29 years agoMake -I options work when the build and source tree are different
Theodore Tso [Wed, 22 Mar 1995 20:27:00 +0000 (20:27 +0000)]
Make -I options work when the build and source tree are different

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

29 years agoFixed up zipping up PC source for uncleaned source trees
Keith Vetter [Wed, 22 Mar 1995 20:23:11 +0000 (20:23 +0000)]
Fixed up zipping up PC source for uncleaned source trees

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

29 years agoAdded files to the windows/cns directory
Keith Vetter [Wed, 22 Mar 1995 20:17:41 +0000 (20:17 +0000)]
Added files to the windows/cns directory

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

29 years agoAdding files to newley created windows directory
Keith Vetter [Wed, 22 Mar 1995 20:15:00 +0000 (20:15 +0000)]
Adding files to newley created windows directory

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