krb5.git
29 years ago * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc
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

29 years ago * Removed all #include <krb5/crc-32.h>
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

29 years agoRemoving ISODE.... (and there was much rejoicing)
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

29 years agoCreated new documentation for how to build and install Kerberos V5
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

29 years agoin_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())
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

29 years agoAdded krb5_keytype arg to krb5_ktfile_get_entry()
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

29 years agoAdded krb5_keytype arg to krb5_kt_read_service_key()
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

29 years agoAdded krb5_keytype arg to rd_req_keyproc()
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

29 years agoAdded krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()
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

29 years agoUse new API for krb5_kt_get_entry()
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

29 years agoUse new API for krb5_kt_get_entry
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

29 years agoDocumented added krb5_keytab argunment to krb5_kt_read_service_key()
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

29 years ago * Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatype
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

29 years ago * Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatype
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

29 years ago * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
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

29 years ago* crc-32.h: Move to lib/crypto/crc32; only gets local use.
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

29 years ago * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
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

29 years agofix include install typo
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

29 years agoinstall man page from srcdir
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

29 years agoUpdate of Krb5 todo list (lots of changes over the last couple of weeks).
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

29 years ago* rnd_confoun.c: Replace <.../...> includes with "..."s
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

29 years agoAllow the primary port that the KDC listens on be configurable on the
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

29 years ago* Makefile.in (CFLAGS): Use -I../des to pull in include file.
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

29 years ago* Makefile.in (CFLAGS): Add -I../des to pull in DES header file.
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

29 years ago* cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,
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

29 years ago* crc-32.h: New file, moved from include/krb5/crc-32.h.
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

29 years ago* Makefile.in (CFLAGS): Add -I options to pick up include files
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

29 years ago Make it possible to #include "..." without using slashes,
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

29 years agoRemoving narrow.h and widen.h
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

29 years ago * Makefile.in (SRCS): add com_err.c explicit dependency to work
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

29 years ago * kadm.h: add DEL_ENT and DEL_ACL for CNS V4 delete support
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

29 years ago * configure.in: rewrote remaining tests to use AC_TRY_COMPILE and
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

29 years ago * autoreconf.sh (ls test): use -Llt to sort, in case we're in a
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

29 years agoNroff Magic to make telnet man page actually work on traditional *roff
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

29 years agoMaybe CVS will let me remove them now
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

29 years ago * Removed all narrow types and references to wide.h and narrow.h
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

29 years ago * Removed all narrow types and references to wide.h and narrow.h
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

29 years ago * Removed all narrow types and references to wide.h and narrow.h
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

29 years ago* acquire_cred.c (acquire_accept_cred): Add context arg when
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

29 years ago* get_krbhst.c (krb5_get_krbhst): Declare realm argument const,
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

29 years ago* preauth.h, rsa-md5.h: Protect against multiple inclusion
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

29 years agoFix use of connected sockets; previously krb5_sendto_kdc only used one
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

29 years agoModify getopt args so that the 'M' option takes an argument, as it's
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

29 years agoIf gethostbyname returns an error, exit after printing an error message
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

29 years agoAdd missing context variable when compiling with V4 compatibility
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

29 years agoAdded convert changes to kdb5_convert.c
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

29 years agoAdd context changes to dumpv4.c
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

29 years agoMake global_context a static variable and initialize it automatically
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

29 years agoFixed bugs in introduction of context variables; if the global context is
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

29 years agoOops in previous memory freeing fixes; was a bit too agressive freeing things
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

29 years ago * krlogind.c (v4_des_read, v5_des_read): When reading length,
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

29 years agoit belongs here instead
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

29 years agothis doesn't belong here
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

29 years ago * configure.in: undo streams test. It turns out that we want sunos
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

29 years agofix tab vs. space glitch
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

29 years agoAcually move init_ctx.c to init_os_ctx.c in the CVS repository and also
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

29 years agoAuto configure changes. I didn't do anything
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agoRemoved all references to DECLARG and OLDDECLARG
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

29 years agoRemoved all references to DECLARG and OLDDECLARG.
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

29 years agofix typo
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

29 years ago * Makefile.in (install): constructed headers come from the build
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

29 years ago * configure.in (K4LIB): fix quoting so $(KRB4) actually survives
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

29 years ago * logutil.c (update_wtmp): declare missing variables if
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

29 years ago * krlogin.c (doit): use exit_handler for signal exits, don't use
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

29 years ago* configure.in: Streams test needs to include sys/types.h
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

29 years ago* krsh.c: Include sys/time.h (linux)
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

29 years ago * kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and never
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

29 years agogss_display_name() should return a name type OID, not a mechanism OID
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

30 years agoChanged kerberos5 and kerberos4 port names to kerberos and kerberos-sec
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

30 years agoUse the service names kerberos and kerberos-sec, instead of kerberos5
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

30 years agokcmd.c, krsh.c, krshd.c
Richard Basch [Tue, 3 Jan 1995 21:58:41 +0000 (21:58 +0000)]
kcmd.c, krsh.c, krshd.c

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

30 years agoRemoved a debugging statement (which could compromise the eblock)
Richard Basch [Tue, 3 Jan 1995 21:58:14 +0000 (21:58 +0000)]
Removed a debugging statement (which could compromise the eblock)

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

30 years agoTidied up the comments
Richard Basch [Tue, 3 Jan 1995 21:57:51 +0000 (21:57 +0000)]
Tidied up the comments

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

30 years agoRemoved old sgi code (it has POSIX signals)
Richard Basch [Tue, 3 Jan 1995 21:57:28 +0000 (21:57 +0000)]
Removed old sgi code (it has POSIX signals)

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

30 years ago* krsh.c
Richard Basch [Tue, 3 Jan 1995 02:52:31 +0000 (02:52 +0000)]
* krsh.c
* krshd.c
   Added encrypted rsh support.
It still isn't entirely secure; as the command-line could
be spoofed by an active attack, but the data sharing is...

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

30 years agomailquery.c: Issue QUIT pop command when done retrieving messges
Richard Basch [Mon, 2 Jan 1995 19:45:48 +0000 (19:45 +0000)]
mailquery.c: Issue QUIT pop command when done retrieving messges

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

30 years agokrlogind.c, krshd.c
Richard Basch [Mon, 2 Jan 1995 18:34:05 +0000 (18:34 +0000)]
krlogind.c, krshd.c

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

30 years agoUltrix doesn't have a fully functional POSIX termios
Richard Basch [Mon, 2 Jan 1995 18:33:47 +0000 (18:33 +0000)]
Ultrix doesn't have a fully functional POSIX termios

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

30 years agoCleaned up some of the #ifdef's and code duplication.
Richard Basch [Mon, 2 Jan 1995 18:33:26 +0000 (18:33 +0000)]
Cleaned up some of the #ifdef's and code duplication.
Fixed decl. of return variable for getopt() [int not char]

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

30 years agokrlogin.c: Don't need to #undef _BSD for AIX anymore (no more BSD dependencies)
Richard Basch [Sat, 31 Dec 1994 01:14:14 +0000 (01:14 +0000)]
krlogin.c: Don't need to #undef _BSD for AIX anymore (no more BSD dependencies)

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

30 years ago* Makefile.in
Richard Basch [Sat, 31 Dec 1994 00:49:31 +0000 (00:49 +0000)]
* Makefile.in
   Fixed man page installation when build tree != source tree

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

30 years ago * configure.in
Richard Basch [Fri, 30 Dec 1994 23:42:13 +0000 (23:42 +0000)]
* configure.in
   No need to do the fcntl check
Changed GETPGRP_ONEARG detection (and assign it when it
takes one argument, not void).

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

30 years ago * logutil.c
Richard Basch [Fri, 30 Dec 1994 23:40:17 +0000 (23:40 +0000)]
* logutil.c
* login.c
   Tidied up the code a bit.
Do not rely on NO_UT_TYPE (it has problems with AIX headers)

* krlogind.c
   Tidied up the code a bit.
   Set the controlling tty for Ultrix
Do not rely on NO_UT_TYPE (it has problems with AIX headers)

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

30 years ago * aclocal.m4
Richard Basch [Fri, 30 Dec 1994 22:06:57 +0000 (22:06 +0000)]
* aclocal.m4
   CHECK_UTMP needs to #include <sys/types.h> for its tests

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

30 years agoconfigure.in: Removed extraneous characters
Richard Basch [Fri, 30 Dec 1994 04:38:18 +0000 (04:38 +0000)]
configure.in: Removed extraneous characters
krlogind.c: Try all the forms of tty access (for most types of machines)
logutil.c: Corrected conditionalization for ut_pid.

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

30 years ago * krlogind.c
Richard Basch [Thu, 29 Dec 1994 15:17:28 +0000 (15:17 +0000)]
* krlogind.c
* logutil.c
   Conditionalized references to ut_type.

* krlogind.c
* configure.in
   Conditionalize grantpt/unlockpt on HAVE_GRANTPT
(added check to configure.in)

* krlogind.c
   Try all the pty master devices.  Other systems frequently
use the same names.

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

30 years ago * krlogind.c:
Richard Basch [Thu, 29 Dec 1994 06:48:24 +0000 (06:48 +0000)]
* krlogind.c:
More error checking for Solaris tty setup routines (grantpt/unlockpt)
Commented out the OOB code, as it causes problems currently.
Cleaned up some of the #ifdef's for logging incoming users
Removed extraneous declaration of malloc()
Pass a "" for the hostname rather than NULL to update_utmp.
Some additional cosmetic changes.
Included/excluded #ifdef SYSV code (SYSV is not defined anywhere)

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

30 years ago * krlogin.c
Richard Basch [Wed, 28 Dec 1994 23:30:34 +0000 (23:30 +0000)]
* krlogin.c
* krlogind.c
* krsh.c
* krshd.c
   Corrected the arguments to select, based on sizeof fd_set.
Converted what remained to use FD_* macros, instead of bitshift

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

30 years agoFixed a couple more syntactical errors with shadow passwords (now works)
Richard Basch [Wed, 28 Dec 1994 22:13:00 +0000 (22:13 +0000)]
Fixed a couple more syntactical errors with shadow passwords (now works)

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

30 years agoCorrected logic for shadow password tests
Richard Basch [Wed, 28 Dec 1994 22:08:02 +0000 (22:08 +0000)]
Corrected logic for shadow password tests

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

30 years agologin.c, configure.in, logutil.c
Richard Basch [Wed, 28 Dec 1994 21:57:34 +0000 (21:57 +0000)]
login.c, configure.in, logutil.c

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

30 years agoRenamed HAS_SHADOW to HAVE_SHADOW
Richard Basch [Wed, 28 Dec 1994 21:57:02 +0000 (21:57 +0000)]
Renamed HAS_SHADOW to HAVE_SHADOW

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

30 years agoRemoved a reference to CBAUD that caused compilation errors
Richard Basch [Wed, 28 Dec 1994 21:51:29 +0000 (21:51 +0000)]
Removed a reference to CBAUD that caused compilation errors

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

30 years agoChanged uid_type to uid_t, gid_type to gid_t
Richard Basch [Wed, 28 Dec 1994 21:38:21 +0000 (21:38 +0000)]
Changed uid_type to uid_t, gid_type to gid_t
Added shadow password support
Always use cfset*speed when POSIX_TERMIOS is defined

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