Theodore Tso [Fri, 3 Feb 1995 17:03:58 +0000 (17:03 +0000)]
Remove BITS16, BITS32, BITS64, etc. from acconfig.h
Remove ISODE references from configure and aclocal.m4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4896
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 17:01:01 +0000 (17:01 +0000)]
Don't use BITS64, use SIZEOF_LONG
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4895
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 13:39:27 +0000 (13:39 +0000)]
All routines defined in the com_err library should have extern before
the prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4894
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:52:06 +0000 (11:52 +0000)]
Oops, forgot to save file first
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4893
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:51:47 +0000 (11:51 +0000)]
Add changes to make this work on Alpha's. (From Ezra)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4892
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:35:06 +0000 (11:35 +0000)]
Fix typo; "%02 X" --> "%02X"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4891
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:22:04 +0000 (11:22 +0000)]
ret_flags should be an int based on the prototype of
gss_accept_sec_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4890
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 11:05:12 +0000 (11:05 +0000)]
* kadmin.c (main): Real live non-kludged argument parsing.
Add -c option to specify ticket cache location (it really
should just use a cache in memory in the process, but that
isn't written yet). Make some error messages more explicit!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4889
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 10:46:39 +0000 (10:46 +0000)]
Rename files so that they work in the DOS LIB command,
which amazingly finds dashes in mid-name and treats them
like option switches.
* des-crc.c => des_crc.c
* des-md5.c => des_md5.c
* raw-des.c => raw_des.c
* Makefile.in: changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4888
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 10:17:02 +0000 (10:17 +0000)]
Rename files for DOS 8.3 uniqueness:
* ktf_get_en.c => ktf_g_ent.c
* ktf_get_na.c => ktf_g_name.c
* Makefile.in: changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4887
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 09:47:08 +0000 (09:47 +0000)]
Rename files for DOS 8.3 uniqueness:
* f_kdc_rep.c => f_kdc_rp.c
* f_kdc_req.c => f_kdc_rq.c
* f_ticket.c => f_tckt.c
* f_tickets.c => f_tckts.c
* Makefile.in was updated to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4886
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 09:06:26 +0000 (09:06 +0000)]
* asn1_decode_k.c => asn1_k_decode.c
* asn1_decode_k.h => asn1_k_decode.h
* asn1_encode_k.c => asn1_k_encode.c
* asn1_encode_k.h => asn1_k_encode.h
* Makefile.sane.in, krb5_decode.c, krb5_encode.c,
asn1_k_encode.c, asn1_k_decode.c: updated to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4885
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 08:41:09 +0000 (08:41 +0000)]
Rename files for DOS 8.3 uniqueness:
* display_name.c => disp_name.c
* display_status.c => disp_status.c
* inquire_context.c => inq_context.c
* inquire_cred.c => inq_cred.c
* release_cred.c => rel_cred.c
* release_name.c => rel_name.c
* Makefile.in changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4884
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 08:30:40 +0000 (08:30 +0000)]
Rename files for DOS 8.3 uniqueness:
* display_com_err_status.c => disp_com_err_status.c
* display_major_status.c => disp_major_status.c
* release_buffer.c => rel_buffer.c
* release_oid_set.c => rel_oid_set.c
* util_val_nohash.c => utl_nohash_validate.c
* Makefile.in was changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4883
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 3 Feb 1995 05:49:31 +0000 (05:49 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4882
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 3 Feb 1995 04:14:07 +0000 (04:14 +0000)]
* krb5.tex Documented change of krb5_enctype to krb5_enctypes
to krb5_send_tgs().
* krb5.tex Documented added krb5_keytype arg to (*keyproc)() arg
for krb5_rd_req(), krb5_rd_req_decoded(), and krb5_recvauth().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4881
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 3 Feb 1995 01:58:30 +0000 (01:58 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): if krb5_is_as_rep fails, check
if the packet might be a V4 error packet. Use modified V4 check so
that it compiles under SCO.
simple, but untested.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4880
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 3 Feb 1995 01:56:03 +0000 (01:56 +0000)]
* krb5_err.et (KRB5KRB_AP_ERR_V4_REPLY): new error code for V4
reply to a V5 request.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4879
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 2 Feb 1995 13:13:29 +0000 (13:13 +0000)]
* forward.c: Remove unused #include <krb5/crc-32.h>.
* kerberos5.c (kerberos5_send): Remove code for sending a checksum
of a zero-byte string; we can just send no checksum at all. This
eliminates dependency on <krb5/crc-32.h>.
(kerberos5_forward): Remove extra parameter to krb5_get_for_creds,
probably accidentally inserted during context changes -- which don't
seem to be here in the ChangeLog.
* kerberos.c: Remove prototypes for krb4 functions, since
some of them are wrong with CNS (u_long vs. KRB_INT32 conflicts).
These changes BUILD but have not been RUN yet. But at least they build.
My apologies. -- John
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4878
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 2 Feb 1995 11:02:28 +0000 (11:02 +0000)]
* Makefile.in (CFLAGS): Handle $(srcdir) properly in -I options
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4877
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Feb 1995 06:30:03 +0000 (06:30 +0000)]
Removal of ISODE (and there was much rejoicing)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4876
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:42:29 +0000 (03:42 +0000)]
* int-proto.h Update prototypes for krb5_get_cred_via_tgt(), and
krb5_get_cred_via_2tgt().
* get_fcreds.c (krb5_get_for_creds())
* gc_via_tgt.c (krb5_get_cred_via_tgt())
* gc_2tgt.c (krb5_get_cred_via_2tgt())
Removed krb5_enctype argument. Pass NULL list of encryption
types to krb5_send_tgs to get default encryption types.
* gc_frm_kdc.c Removed krb5_enctype argument passed to
krb5_get_cred_via_tgt()
* send_tgs.c (krb5_send_tgs()) Changed krb5_enctype arg to
krb5_enctype *, a NULL terminated array of encryption
types. If argument is NULL then krb5_send_tgs() will
use defaul list of encryption types.
* send_tgs.c (krb5_send_tgs()) To encrypt request ticket use
usecred->keyblock.etype instead of (and now defunct)
krb5_enctype arg.
* init_ctx.c Added krb5_set_default_in_tkt_etypes() and
krb5_get_default_in_tkt_etypes().
* rd_req.c, rd_req_decode.c Removed typedef for rdreq_key_proc
and use krb5_rd_req_decoded in its place.
* get_fcreds.c Really needs #include<krb5/asn1.h> for definition
of krb5_is_krb_error()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4875
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:40:09 +0000 (03:40 +0000)]
* kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4874
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:39:25 +0000 (03:39 +0000)]
* adm_process.c, adm_extern.h (cpw_keyproc()) Added
krb5_keytype arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4873
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:38:45 +0000 (03:38 +0000)]
* func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc
* func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to
krb5_enctype *, a NULL terminated array of encryption types.
* func-proto.h Added prototypes for krb5_get_for_creds(),
krb5_set_default_in_tkt_etypes(), and
krb5_get_default_in_tkt_etypes().
* krb5.h Added fields to krb5_context to support default etypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4872
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:37:52 +0000 (03:37 +0000)]
* Removed all #include <krb5/crc-32.h>
* Removed krb5_enctype argument passed to krb5_get_for_creds()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4871
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Feb 1995 21:43:42 +0000 (21:43 +0000)]
Removing ISODE.... (and there was much rejoicing)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4870
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Feb 1995 04:50:13 +0000 (04:50 +0000)]
Created new documentation for how to build and install Kerberos V5
Still needs a lot of work.....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4869
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:10:27 +0000 (20:10 +0000)]
in_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())
use new API for krb5_kt_get_entry.
get_fcreds.c Removed #include<krb5/crc-32.h> and #include<krb5/asn1.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4868
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:08:50 +0000 (20:08 +0000)]
Added krb5_keytype arg to krb5_ktfile_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4867
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:07:26 +0000 (20:07 +0000)]
Added krb5_keytype arg to krb5_kt_read_service_key()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4866
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:06:40 +0000 (20:06 +0000)]
Added krb5_keytype arg to rd_req_keyproc()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4865
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:05:19 +0000 (20:05 +0000)]
Added krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4864
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:03:24 +0000 (20:03 +0000)]
Use new API for krb5_kt_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4863
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:03:12 +0000 (20:03 +0000)]
Use new API for krb5_kt_get_entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4862
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:00:15 +0000 (20:00 +0000)]
Documented added krb5_keytab argunment to krb5_kt_read_service_key()
and krb5_kt_get_entry().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4861
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:56:33 +0000 (06:56 +0000)]
* Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatype
is of type unsigned int and therefore shouldn't be the
argument to krb5_scc_read_ui_2().
Fixes bug reported by Ezra (discuss message 1053)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4860
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:56:14 +0000 (06:56 +0000)]
* Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatype
is of type unsigned int and therefore shouldn't be the
argument to krb5_fcc_read_ui_2().
Fixes bug reported by Ezra (discuss message 1053)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4859
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:38:58 +0000 (06:38 +0000)]
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as unsigned int.
* kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
* kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4858
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 27 Jan 1995 02:16:38 +0000 (02:16 +0000)]
* crc-32.h: Move to lib/crypto/crc32; only gets local use.
* rsa-md4.h: Move to lib/crypto/md4; only gets local use.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4857
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 01:27:01 +0000 (01:27 +0000)]
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as unsigned int.
* kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
* kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4856
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 22:30:08 +0000 (22:30 +0000)]
fix include install typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4855
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 22:28:44 +0000 (22:28 +0000)]
install man page from srcdir
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4854
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 17:16:16 +0000 (17:16 +0000)]
Update of Krb5 todo list (lots of changes over the last couple of weeks).
I've just never gotten around to checking it in....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4853
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:25:38 +0000 (04:25 +0000)]
* rnd_confoun.c: Replace <.../...> includes with "..."s
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4852
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 04:21:45 +0000 (04:21 +0000)]
Allow the primary port that the KDC listens on be configurable on the
command line. If the appropriate /etc/services entries aren't found,
use compiled in defaults.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4851
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:21:27 +0000 (04:21 +0000)]
* Makefile.in (CFLAGS): Use -I../des to pull in include file.
* md5.c, md5crypto.c, md5glue.c, t_mddriver.c: Replace <.../...>
includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4850
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:11:47 +0000 (04:11 +0000)]
* Makefile.in (CFLAGS): Add -I../des to pull in DES header file.
* rsa-md4.h: New include file, moved from include/krb5, since
it's only used locally.
* md4.c, md4crypto.c, md4driver.c, md4glue.c: Replace <.../...>
includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4849
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:09:51 +0000 (04:09 +0000)]
* cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,
fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c,
new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c,
weak_key.c: Replace <.../...> includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4848
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:06:12 +0000 (04:06 +0000)]
* crc-32.h: New file, moved from include/krb5/crc-32.h.
* crc.c, crctest.c: Replace <.../...> includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4847
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:00:41 +0000 (04:00 +0000)]
* Makefile.in (CFLAGS): Add -I options to pick up include files
from the various algorithm subdirs.
* cryptoconf.c, des-crc.c, des-md5.c, raw-des.c: Replace most
<.../...> include files with "..." includes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4846
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 03:30:12 +0000 (03:30 +0000)]
Make it possible to #include "..." without using slashes,
for Macintosh support.
* krb5.h: New file, the externally visible interface to
Kerberos V5. Currently the whole kitchen sink, to bootstrap.
* k5-int.h: New file, the internally visible declarations
needed by source files that are part of the Kerberos V5 library
itself. Currently the same whole kitchen sink, to bootstrap.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4845
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 02:05:32 +0000 (02:05 +0000)]
Removing narrow.h and widen.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4844
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:51:22 +0000 (01:51 +0000)]
* Makefile.in (SRCS): add com_err.c explicit dependency to work
around VPATH bug in Solaris make. Also fix typo in comment.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4843
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:10:19 +0000 (01:10 +0000)]
* kadm.h: add DEL_ENT and DEL_ACL for CNS V4 delete support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4842
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:07:41 +0000 (01:07 +0000)]
* configure.in: rewrote remaining tests to use AC_TRY_COMPILE and
caching. Added cross-compile case for ANSI stdio test.
No more complaints from autoconf...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4841
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 00:53:58 +0000 (00:53 +0000)]
* autoreconf.sh (ls test): use -Llt to sort, in case we're in a
symlink farm.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4840
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 25 Jan 1995 23:37:19 +0000 (23:37 +0000)]
Nroff Magic to make telnet man page actually work on traditional *roff
(from ian@cygnus.com and CNS V4)
* telnet.1: refer to man1/tmac.doc.
* tmac.doc: actually works with telnet.
* Makefile.in (install): install tmac.doc. CLIENT_MANDIR had
better be man1.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4839
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 23:01:22 +0000 (23:01 +0000)]
Maybe CVS will let me remove them now
* Removed narrow.h and widen.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4838
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:29:07 +0000 (22:29 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:28:14 +0000 (22:28 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
* ktf_util.c : Use a constant size for file data not subfield
size from krb5_keytab_entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4836
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:24:06 +0000 (22:24 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as int.
* kdb.h Made keytype in krb5_encrypted_keyblock explicitly short
for backwards compatibility.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:28:57 +0000 (02:28 +0000)]
* acquire_cred.c (acquire_accept_cred): Add context arg when
calling krb5_sname_to_principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4834
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:25:10 +0000 (02:25 +0000)]
* get_krbhst.c (krb5_get_krbhst): Declare realm argument const,
to match prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4833
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:21:48 +0000 (02:21 +0000)]
* preauth.h, rsa-md5.h: Protect against multiple inclusion
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:58:15 +0000 (03:58 +0000)]
Fix use of connected sockets; previously krb5_sendto_kdc only used one
socket per address family. This doesn't work; it now uses one socket
per address. (krb5-bugs #938)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4831
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:52:36 +0000 (03:52 +0000)]
Modify getopt args so that the 'M' option takes an argument, as it's
supposed to. (krb5 bugs 984)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4830
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:25:16 +0000 (03:25 +0000)]
If gethostbyname returns an error, exit after printing an error message
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4829
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:11:44 +0000 (03:11 +0000)]
Add missing context variable when compiling with V4 compatibility
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4828
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:09:37 +0000 (03:09 +0000)]
Added convert changes to kdb5_convert.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4827
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:04:43 +0000 (03:04 +0000)]
Add context changes to dumpv4.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4826
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:02:48 +0000 (03:02 +0000)]
Make global_context a static variable and initialize it automatically
if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4825
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:02:16 +0000 (03:02 +0000)]
Fixed bugs in introduction of context variables; if the global context is
not initialized, initialize it automatically. Initialize the connection
context's krb5_context varaible in init_security_context and
accept_security_context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4824
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 02:46:40 +0000 (02:46 +0000)]
Oops in previous memory freeing fixes; was a bit too agressive freeing things
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4823
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 23:55:49 +0000 (23:55 +0000)]
* krlogind.c (v4_des_read, v5_des_read): When reading length,
ignore everything before a leading zero (MSB first "reasonable"
value) to compensate for rlogin (mis)use of BSD-OOB data.
* krlogin.c (des_read): same code (in both versions of des_read.)
rlogin -x should be much more reliable now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4822
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:15:44 +0000 (06:15 +0000)]
it belongs here instead
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4821
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:15:13 +0000 (06:15 +0000)]
this doesn't belong here
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4820
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:11:31 +0000 (06:11 +0000)]
* configure.in: undo streams test. It turns out that we want sunos
to *fail* that test, since it doesn't have a streams PTEM module
anyhow.
* krlogind.c: don't include sys/tty.h and sys/ptyvar.h if we don't
HAVE_STREAMS already.
* krlogin.c: do the same thing.
most of the files in appl/bsd should probably include one common
"system headers" include, since they duplicate so much (and not
consistently at that.) krlogind now works on SunOS 4.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4819
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 18 Jan 1995 06:04:14 +0000 (06:04 +0000)]
fix tab vs. space glitch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4818
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:15:08 +0000 (22:15 +0000)]
Acually move init_ctx.c to init_os_ctx.c in the CVS repository and also
rename the routine krb5_free_os_context() to krb5_os_free_context().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4817
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:07:17 +0000 (22:07 +0000)]
Auto configure changes. I didn't do anything
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4816
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 22:05:49 +0000 (22:05 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_*() routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:50:24 +0000 (21:50 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_*() routines.
Fixed krlogin to use htons(debug_port).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4814
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:47:20 +0000 (21:47 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines throughout the tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4813
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:30:09 +0000 (21:30 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4812
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:25:00 +0000 (21:25 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
Moved init_ctx.c to init_os_ctx.c because a library cannot
have more than on file with the same name. See krb5/krb/init_ctx.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4811
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:21:42 +0000 (21:21 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4810
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:19:08 +0000 (21:19 +0000)]
Removed all references to DECLARG and OLDDECLARG
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 13 Jan 1995 21:13:02 +0000 (21:13 +0000)]
Removed all references to DECLARG and OLDDECLARG.
Added krb5_context to all krb5_routines
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 13 Jan 1995 12:52:16 +0000 (12:52 +0000)]
fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4807
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 13 Jan 1995 12:51:38 +0000 (12:51 +0000)]
* Makefile.in (install): constructed headers come from the build
tree, not the source tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4806
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 20:28:48 +0000 (20:28 +0000)]
* configure.in (K4LIB): fix quoting so $(KRB4) actually survives
to the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4805
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 07:16:51 +0000 (07:16 +0000)]
* logutil.c (update_wtmp): declare missing variables if
HAVE_SETUTENT isn't set.
(update_utmp): declare tty at top of function.
Now the whole tree builds under raw sunos, native cc (still needs gnumake
though)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4804
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 11 Jan 1995 00:44:56 +0000 (00:44 +0000)]
* krlogin.c (doit): use exit_handler for signal exits, don't use
exit directly.
(exit_handler): new function, avoids type collision from misusing
exit directly as a signal handler.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4803
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 10 Jan 1995 20:31:49 +0000 (20:31 +0000)]
* configure.in: Streams test needs to include sys/types.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4802
dc483132-0cff-0310-8789-
dd5450dbe970
Richard Basch [Tue, 10 Jan 1995 20:24:10 +0000 (20:24 +0000)]
* krsh.c: Include sys/time.h (linux)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4801
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 10 Jan 1995 02:51:06 +0000 (02:51 +0000)]
* kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and never
sys/fcntl.h.
* krshd.c: Always define the Kerberos V4 data structures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4800
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 10 Jan 1995 00:29:55 +0000 (00:29 +0000)]
gss_display_name() should return a name type OID, not a mechanism OID
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4799
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Jan 1995 22:10:04 +0000 (22:10 +0000)]
Changed kerberos5 and kerberos4 port names to kerberos and kerberos-sec
Add a comment about why you might want to switch the definitions of
kerberos and kerberos-sec under some circumstances.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4798
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Jan 1995 22:03:26 +0000 (22:03 +0000)]
Use the service names kerberos and kerberos-sec, instead of kerberos5
and kerberos4 --- the official port name is kerberos, after all!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4797
dc483132-0cff-0310-8789-
dd5450dbe970