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

29 years agoOops. Missed a directory in zipping up for the PC
Keith Vetter [Wed, 22 Mar 1995 05:52:52 +0000 (05:52 +0000)]
Oops. Missed a directory in zipping up for the PC

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

29 years agoAdded zipping up source for the PC to the top-level makefile
Keith Vetter [Wed, 22 Mar 1995 05:37:11 +0000 (05:37 +0000)]
Added zipping up source for the PC to the top-level makefile

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

29 years agoAdded the GSSAPI routines to the windows dll
Keith Vetter [Wed, 22 Mar 1995 05:17:01 +0000 (05:17 +0000)]
Added the GSSAPI routines to the windows dll

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

29 years agoBug fixes in ccache/file for the PC: files need to be opened in binary mode,
Keith Vetter [Wed, 22 Mar 1995 05:12:02 +0000 (05:12 +0000)]
Bug fixes in ccache/file for the PC: files need to be opened in binary mode,
unitialized variable and changed some clever code that depends upon 32 bit
integers. Also, added hooks, ala k4, that notify the world when the cache changes.

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

29 years agoFixed signed/unsigned assignment mismatches
Keith Vetter [Wed, 22 Mar 1995 05:05:53 +0000 (05:05 +0000)]
Fixed signed/unsigned assignment mismatches

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

29 years agoChanged the name of the gssapi library created under Windows and a couple of
Keith Vetter [Wed, 22 Mar 1995 04:59:35 +0000 (04:59 +0000)]
Changed the name of the gssapi library created under Windows and a couple of
signed/unsigned assignment mismatches.

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

29 years agoPart of low-level open file PC bug and moved some prototypes into world
Keith Vetter [Wed, 22 Mar 1995 04:56:13 +0000 (04:56 +0000)]
Part of low-level open file PC bug and moved some prototypes into world
accessible files.

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

29 years agoFixed bugs in the com_err library so that it's callable from windows programs
Keith Vetter [Wed, 22 Mar 1995 04:50:28 +0000 (04:50 +0000)]
Fixed bugs in the com_err library so that it's callable from windows programs

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

29 years agoThe "includes" target is *not* obsolete; it's necessary to copy the
Theodore Tso [Wed, 22 Mar 1995 02:27:22 +0000 (02:27 +0000)]
The "includes" target is *not* obsolete; it's necessary to copy the
header files to the build tree.

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

29 years agoAdded function (unix_time_gmt_unixsec) needed for des425 to work with
Theodore Tso [Tue, 21 Mar 1995 02:19:24 +0000 (02:19 +0000)]
Added function (unix_time_gmt_unixsec) needed for des425 to work with
the Cygnus krb.a.

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

29 years agoFix comment that referred to STDARG_PROTOTYPES
John Gilmore [Sun, 19 Mar 1995 20:52:53 +0000 (20:52 +0000)]
Fix comment that referred to STDARG_PROTOTYPES

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

29 years ago* aclocal.m4 (CHECK_STDARG): Remove; we're just using AC_HEADER_CHECK.
John Gilmore [Sun, 19 Mar 1995 20:51:13 +0000 (20:51 +0000)]
* aclocal.m4 (CHECK_STDARG):  Remove; we're just using AC_HEADER_CHECK.
(V5_AC_OUTPUT_MAKEFILE):  Reorder the Makefile output so that it can be
run through `sed' for the Macintosh.
* acconfig.h:  Remove STDARG_PROTOTYPES.

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

29 years ago* kerberos_v4.c: Replace STDARG_PROTOTYPES with HAVE_STDARG_H
John Gilmore [Sun, 19 Mar 1995 03:00:31 +0000 (03:00 +0000)]
* kerberos_v4.c:  Replace STDARG_PROTOTYPES with HAVE_STDARG_H

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

29 years ago* bld_pr_ext.c, bld_princ.c: Replace STDARG_PROTOTYPES with
John Gilmore [Sun, 19 Mar 1995 02:59:07 +0000 (02:59 +0000)]
* bld_pr_ext.c, bld_princ.c:  Replace STDARG_PROTOTYPES with
HAVE_STDARG_H for consistency.

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

29 years ago* configure.in: Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.
John Gilmore [Sun, 19 Mar 1995 02:50:24 +0000 (02:50 +0000)]
* configure.in:  Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.
* error.c:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.

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

29 years ago* com_err.c, com_err.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
John Gilmore [Sun, 19 Mar 1995 02:48:33 +0000 (02:48 +0000)]
* com_err.c, com_err.h:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
* configure.in:  Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.

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

29 years agoForgot to check this in earlier
John Gilmore [Sun, 19 Mar 1995 02:43:49 +0000 (02:43 +0000)]
Forgot to check this in earlier

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

29 years ago* acgeneral.m4: Report the update status of the cache better;
John Gilmore [Sat, 18 Mar 1995 04:42:05 +0000 (04:42 +0000)]
* acgeneral.m4:  Report the update status of the cache better;
show diffs if an unwriteable cache gets updated, for manually
configuring the Mac config.cache.
* configure:  Update with this acgeneral.m4.

[This change, or one very close to it, was submitted for autoconf 2.2.]

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

29 years ago* Makefile.in (LDFLAGS): Eliminate duplicate of config/pre.in
John Gilmore [Sat, 18 Mar 1995 04:29:14 +0000 (04:29 +0000)]
* Makefile.in (LDFLAGS):  Eliminate duplicate of config/pre.in

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

29 years ago* Makefile.in (LDFLAGS): Zap duplicate.
John Gilmore [Sat, 18 Mar 1995 04:25:42 +0000 (04:25 +0000)]
* Makefile.in (LDFLAGS):  Zap duplicate.
(all-mac):  Add.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in.
John Gilmore [Sat, 18 Mar 1995 04:24:01 +0000 (04:24 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.
* localaddr.c:  Remove socket include files now handled in k5-int.h.

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

29 years ago* Makefile.in (check-mac): Add.
John Gilmore [Sat, 18 Mar 1995 03:55:46 +0000 (03:55 +0000)]
* Makefile.in (check-mac):  Add.
* compat_recv.c, get_fcreds.c, recvauth.c:  Eliminate Unix socket
#includes, which are now handled by k5-int.h (via k5-config.h).
* conv_princ.c:  Rename variable "comp" to another name; "comp"
apparently bothers the MPW compiler...
* rd_cred.c:  Avoid (void) casts of void functions, for MPW.
* t_walk_rtree.c:  Put com_err.h after k5_int for <sys/types> stuff.
(main):  Declare and initialize the krb5_context that's being
passed to everything.

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

29 years ago* Makefile.in (LDFLAGS): Zap duplicate defn.
John Gilmore [Sat, 18 Mar 1995 03:47:23 +0000 (03:47 +0000)]
* Makefile.in (LDFLAGS):  Zap duplicate defn.
(all-mac, clean-mac):  Add.

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

29 years ago* Makefile.in (LDFLAGS): Elim duplicate
John Gilmore [Sat, 18 Mar 1995 03:45:41 +0000 (03:45 +0000)]
* Makefile.in (LDFLAGS):  Elim duplicate

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicate.
John Gilmore [Sat, 18 Mar 1995 03:44:45 +0000 (03:44 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicate.
(SRCS):  Eliminate $(srcdir) which causes mac problems.
(all-unix):  Eliminate obsolete "includes".
(all-mac):  Add.
(unixmac):  Add $(SRCS) so that the .c source files will be created
here in the original "configure tree on Unix" stage of the build.

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

29 years agoFix rules for localdr.c, ustime.c, and memmove.c so that they
Theodore Tso [Sat, 18 Mar 1995 03:44:09 +0000 (03:44 +0000)]
Fix rules for localdr.c, ustime.c, and memmove.c so that they
reference $(srcdir) where appropriate.  (The conversion to use the
$(S)$(U) hacks screwed this up.)

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

29 years ago* scc_errs.c: Mac doesn't have EISDIR error.
John Gilmore [Sat, 18 Mar 1995 03:34:17 +0000 (03:34 +0000)]
* scc_errs.c:  Mac doesn't have EISDIR error.
* scc_gennew.c, scc_maybe.c:  Eliminate the use of htons and ntohs
for byte order handling; just do it by hand.
* scc_read.c (krb5_scc_read_authdatum):  Zap unused variable "ret".
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in
John Gilmore [Sat, 18 Mar 1995 03:24:01 +0000 (03:24 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in

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

29 years ago* Makefile.in (LDFLAGS): Remove, duplicates config/pre.in.
John Gilmore [Sat, 18 Mar 1995 03:23:02 +0000 (03:23 +0000)]
* Makefile.in (LDFLAGS):  Remove, duplicates config/pre.in.
(CFLAGS):  Add -I options for file and stdio, to avoid paths in
#include statements.
(all-mac, clean-mac):  Add.
* ccdefops.c:  Avoid includes with pathnames, since they don't work
on the Mac.  Configure the default cache based on whether the
system has <sys/types.h> (which defines types for low-level file
operations, among other things).
* configure.in (CONFIG_DIRS):  Build stdio before file, for Mac
convenience (where file doesn't build).

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

29 years ago* krb5.h: Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
John Gilmore [Sat, 18 Mar 1995 03:15:52 +0000 (03:15 +0000)]
* krb5.h:  Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
It is needed there when NEED_SOCKETS is defined.
* Makefile.in (all-mac, clean-mac):  Add.

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

29 years ago* k5-config.h: Move <sys/types.h> handling from ../krb5.h to
John Gilmore [Sat, 18 Mar 1995 03:15:26 +0000 (03:15 +0000)]
* k5-config.h:  Move <sys/types.h> handling from ../krb5.h to
here, because we need <sys/types.h> or the u_* types to be defined
before we include the Unix socket include files a little later in
k5-config.h.  We actually add this code twice, once in the MSDOS
section and once in the Unix/Mac section.
(NEED_SOCKETS):  Also include <net/if.h>, for localaddr.c.
* Makefile.in (clean-mac):  Add.

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

29 years ago* Makefile.in: Remove redundant definitions from config/pre.in
John Gilmore [Sat, 18 Mar 1995 03:08:48 +0000 (03:08 +0000)]
* Makefile.in:  Remove redundant definitions from config/pre.in
(clean-mac):  Add.
* asn1_misc.c:  Avoid <malloc.h> and <memory.h> includes, for Mac.
(asn1_krb5_realm_copy):  Use malloc, not calloc, since we're
about to clobber the storage anyway.
* configure.in (WITH_KRB5ROOT):  Remove, not needed.
* krbasn1.h:  Document that <limits.h> is needed for INT_MAX.

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

29 years agoDelete redundant definitions defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 21:07:32 +0000 (21:07 +0000)]
Delete redundant definitions defined in pre/config.in

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

29 years agoSet the return code from ss_execute_line(), so that appropriate error
Theodore Tso [Fri, 17 Mar 1995 20:59:25 +0000 (20:59 +0000)]
Set the return code from ss_execute_line(), so that appropriate error
checking is done.

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

29 years agoMakefile.in, configure.in: Use the libdes425 library so that the DES
Theodore Tso [Fri, 17 Mar 1995 20:58:31 +0000 (20:58 +0000)]
Makefile.in, configure.in: Use the libdes425 library so that the DES
code doesn't get dragged in twice.

krlogind.c: Include <sys/time.h> so that Linux can get the FD_SET macros.

kcmd.c (kcmd): Close the credentials cache when you're done with it.

krlogind.c (doit): Always initialize the Krb5 error table.

krlogind.c (main, doit): Minor type fixes to gethostbyname(), accept().

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

29 years agoDelete redundant definitions defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 20:56:54 +0000 (20:56 +0000)]
Delete redundant definitions defined in pre/config.in

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

29 years agoDelete redundant definitions that already defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 20:56:25 +0000 (20:56 +0000)]
Delete redundant definitions that already defined in pre/config.in

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

29 years agoconfigure.in, Makefile.in: Use the libdes425 library so that the DES
Theodore Tso [Fri, 17 Mar 1995 20:33:48 +0000 (20:33 +0000)]
configure.in, Makefile.in: Use the libdes425 library so that the DES
code doesn't get dragged in twice.

kdc_util.c (validate_as_request): Allow a client to obtain a password
changing ticket, even if the client's key is expired.

main.c (usage, process_args, main): The KDC will disassociate itself
from the terminal by default, unless the -n option is given.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, comes in from pre.in.
John Gilmore [Fri, 17 Mar 1995 05:26:21 +0000 (05:26 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, comes in from pre.in.
(all-mac):  Add.
(localaddr.c, ustime.c, memmove.c):  Fix paths to work on Mac.

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

29 years ago* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
John Gilmore [Fri, 17 Mar 1995 05:24:32 +0000 (05:24 +0000)]
* Makefile.in (LDFLAGS):  Remove, conflicts with pre.in.
(all):  Remove all-$(WHAT) stuff.
(t_mddriver):  Make it build on Mac.
(check):  Use $(EXEEXT).

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

29 years ago* Makefile.in (CFLAGS): Tweak for Unix->MPW converter.
John Gilmore [Fri, 17 Mar 1995 05:22:21 +0000 (05:22 +0000)]
* Makefile.in (CFLAGS):  Tweak for Unix->MPW converter.
(LDFLAGS):  Remove, conflicts with pre.in.
(all):  Remove all-$(WHAT) stuff, generalize for all platforms.
(t_mddriver):  Remove t_mddriver-$(WHAT) stuff, ditto.
(check):  Use $(EXEEXT).

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

29 years ago* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
John Gilmore [Fri, 17 Mar 1995 05:19:53 +0000 (05:19 +0000)]
* Makefile.in (LDFLAGS):  Remove, conflicts with pre.in.
(clean):  Insert FIXME.
(verify$(EXEEXT), destest$(EXEEXT)):  Make them work on Mac.
(check-mac):  Add, identical to Unix.
(clean):  Use $(EXEEXT).
* des_int.h (mit_des_cbc_cksum):  Fix prototype from void to long,
to match the actual function.

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

29 years ago* Makefile.in (crctest, crctest.exe): Replace crctest-unix and
John Gilmore [Fri, 17 Mar 1995 05:16:22 +0000 (05:16 +0000)]
* Makefile.in (crctest, crctest.exe):  Replace crctest-unix and
crctest-windows with versions that work for Mac too.
(check):  Build and run crctest$(EXEEXT).  This runs on MPW now.

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

29 years ago* Makefile.in (CFLAGS): Avoid continuation line that starts with
John Gilmore [Fri, 17 Mar 1995 05:14:11 +0000 (05:14 +0000)]
* Makefile.in (CFLAGS):  Avoid continuation line that starts with
dash; it confuses the Unix->MPW makefile converter.
(##DOSLIBNAME):  No longer needed since DLL built one level up.
(all-mac):  Add.
(libcrypto.a):  Use explicit "./" on paths to DONE files, to
help Unix->MPW makefile converter with rotten Mac pathname conventions.

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

29 years ago* configure.in: Replace nonstandard CHECK_STDARG with
John Gilmore [Fri, 17 Mar 1995 05:03:27 +0000 (05:03 +0000)]
* configure.in:  Replace nonstandard CHECK_STDARG with
AC_CHECK_HEADERS.  Also check for header file macsock.h, which
is a dummy test -- it's false on Unix and PC's, but on the Mac
we hand-configure it to be true, to indicate that we want Mac
socket support rather than Unix socket support.
* base-defs.h, k5-config.h:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
* k5-config.h (NEED_SOCKETS):  Add new section which brings in
socket include files for the appropriate compilation environment
(Mac or Unix; Windows already did this).
* macsock.h:  New include file, derived from Cygnus Network Security
Mac K4 release, for simulating sockets under MacTCP.

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

29 years agoFirst cut at Macintosh configuration support
John Gilmore [Fri, 17 Mar 1995 04:57:34 +0000 (04:57 +0000)]
First cut at Macintosh configuration support

* mac-config.cache:  New file, a hand-built autoconf `config.cache'
file with the right values for building under MPW.
* mac-config.README:  Documentation for mac-config.cache.
* mac-pre.in, mac-post.in:  Versions of pre.in and post.in for
configuring on MPW.
* mac-mf.sed:  A `sed' script which will turn carefully constructed
Unix Makefiles into carefully constructed Macintosh MPW Makefiles.

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

29 years ago* configure.in: Replace CHECK_STDARG with AC_CHECK_HEADERS.
John Gilmore [Fri, 17 Mar 1995 04:53:15 +0000 (04:53 +0000)]
* configure.in:  Replace CHECK_STDARG with AC_CHECK_HEADERS.
* main.c (print_status):  Use HAVE_STDARG_H to control whether to
declare with ", ..."; not STDARG_PROTOTYPES.
* ksu.h:  Don't include <stdarg.h> or <varargs.h>, since they
are already included by "com_err.h".

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

29 years agoProblem with the error routines and windows definitions
Keith Vetter [Fri, 17 Mar 1995 01:35:41 +0000 (01:35 +0000)]
Problem with the error routines and windows definitions

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