krb5.git
29 years agoFor NetBSD convert flags designed for cc to those used by ld
Ezra Peisach [Mon, 9 Oct 1995 23:02:28 +0000 (23:02 +0000)]
For NetBSD convert flags designed for cc to those used by ld
(in particular those dealing with library paths)

NetBSD requires that the path be stored in the library and the executables.

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

29 years agoFor NetBSD shlibs turn back on shlibs_use_dirs
Ezra Peisach [Mon, 9 Oct 1995 22:59:37 +0000 (22:59 +0000)]
For NetBSD shlibs turn back on shlibs_use_dirs

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

29 years agoextract_v4_srvtab: Version number is only one byte long (warlord)
Ezra Peisach [Mon, 9 Oct 1995 22:55:41 +0000 (22:55 +0000)]
extract_v4_srvtab: Version number is only one byte long (warlord)

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

29 years agoChange test to krb524test - otherwise if built and "." is in the users path,
Ezra Peisach [Mon, 9 Oct 1995 20:13:43 +0000 (20:13 +0000)]
Change test to krb524test - otherwise if built and "." is in the users path,
reruns configure, then they will execute the wrong test.

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

29 years ago(recv_token): When continuning a partial read over the network, put
Ezra Peisach [Sun, 8 Oct 1995 18:29:25 +0000 (18:29 +0000)]
(recv_token): When continuning a partial read over the network, put
the incomming data into the middle of the token - not back at the
start.

Now, can someone explain why under NetBSD, in one direction 400+ bytes
could be sent at one time, but in the reverse, 102 had to be broken down
into 100 + 2? Anyways, this fixes the NetBSD problem with the tests.

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

29 years agoWork around bug in NetBSD expect. This is the same fix as
Ezra Peisach [Sat, 7 Oct 1995 12:15:03 +0000 (12:15 +0000)]
Work around bug in NetBSD expect. This is the same fix as
is found in gssapi.exp for dealing with AIX...

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

29 years agoChange kdc port specifications in kdc.conf to match current
Ezra Peisach [Sat, 7 Oct 1995 12:05:58 +0000 (12:05 +0000)]
Change kdc port specifications in kdc.conf to match current
implementation.

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

29 years agoInclude the file windows.in instead of pre.in
Theodore Tso [Sat, 7 Oct 1995 02:25:33 +0000 (02:25 +0000)]
Include the file windows.in instead of pre.in

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

29 years agoRemove ##DOS!include of config/windows.in. config/windows.in is now
Theodore Tso [Sat, 7 Oct 1995 02:19:19 +0000 (02:19 +0000)]
Remove ##DOS!include of config/windows.in.  config/windows.in is now
included by wconfig.

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

29 years ago * ksu.M: Document authorization changes
Ezra Peisach [Fri, 6 Oct 1995 20:30:54 +0000 (20:30 +0000)]
* ksu.M: Document authorization changes

* ksu.1: Remove as was out of date.

* Makefile.in (DEFINES): Remove LOCAL_REALM definition.

* ksu.h: Remove local_realm from krb5_authorization.

* authorization.c (krb5_authorization): Remove old copied code
that is in krb5 library and is out of date. Use the
configurable aname to localname methods.

* main.c (main): Add krb5_secure_config_files so that users cannot
override system config files.

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

29 years agoBuild the list of files *after* building files using awk-windows-mac
Theodore Tso [Fri, 6 Oct 1995 04:59:40 +0000 (04:59 +0000)]
Build the list of files *after* building files using awk-windows-mac

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

29 years agoDocumented kdc_ports, and removed references to primary_port and
Theodore Tso [Fri, 6 Oct 1995 04:53:13 +0000 (04:53 +0000)]
Documented kdc_ports, and removed references to primary_port and
secondary_port, which are no longer used.

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

29 years agoChange types of krb5_max_enctype and krb5_max_cksumtype to be
Theodore Tso [Fri, 6 Oct 1995 04:47:55 +0000 (04:47 +0000)]
Change types of krb5_max_enctype and krb5_max_cksumtype to be
krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames.

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

29 years agodo_tgs_req.c (process_tgs_req): Use a slightly more compressed logging
Theodore Tso [Fri, 6 Oct 1995 04:33:53 +0000 (04:33 +0000)]
do_tgs_req.c (process_tgs_req): Use a slightly more compressed logging
format.

do_as_req.c (process_as_req): Unify the logging and error packet
production, to make sure that both logging and an error packet is
returned for each error condition.

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

29 years agoMake the logs less verbose, by omitting the hostname, pid, etc.
Theodore Tso [Fri, 6 Oct 1995 04:33:07 +0000 (04:33 +0000)]
Make the logs less verbose, by omitting the hostname, pid, etc.
information.

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

29 years agonetwork.c (setup_network):
Theodore Tso [Fri, 6 Oct 1995 03:02:40 +0000 (03:02 +0000)]
network.c (setup_network):
main.c (initialize_realms): Massive revamp of how the network ports
are setup.  The default port list for a realm is read from
[kdcdefaults]/kdc_ports from the kdc.conf file.  For each realm, a
list of ports can be specified in [realms]/<realm>/kdc_ports.

extern.h (kdc_realm_t): Remove realm_pport and realm_sport, and added
realm_ports.

do_tgs_req.c (process_tgs_req):
do_as_req.c (process_as_req):
dispatch.c (dispatch): Pass the portnumber of the incoming request down
to process_as_req and process_tgs_req, instead of the boolean
"is_secondary".

kerberos_v4.c (kerb_get_principal, kerberos_v4): Fix gcc -Wall flames,
by fixing signed vs. unsigned types.

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

29 years agoRemove the profile relation, since it's really a bad idea. Removed
Theodore Tso [Fri, 6 Oct 1995 02:47:46 +0000 (02:47 +0000)]
Remove the profile relation, since it's really a bad idea.  Removed
the "port" and "secondary_port" relations, and replaced them with the
"kdc_port" relation, which takes a list of ports.

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

29 years agoRemove pport and sport from the krb5_realm_params file, and replace it
Theodore Tso [Fri, 6 Oct 1995 02:46:27 +0000 (02:46 +0000)]
Remove pport and sport from the krb5_realm_params file, and replace it
with ports, which is a char * list of all of the ports which should be
listed to for this realm.

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

29 years agoChange types of krb5_max_enctype and krb5_max_cksumtype to be
Theodore Tso [Fri, 6 Oct 1995 02:45:47 +0000 (02:45 +0000)]
Change types of krb5_max_enctype and krb5_max_cksumtype to be
krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames.

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

29 years agoAdded DEFAULT_KDC_PORTLIST
Theodore Tso [Fri, 6 Oct 1995 02:33:20 +0000 (02:33 +0000)]
Added DEFAULT_KDC_PORTLIST

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

29 years agoChange the name of the kdc configuration file to be kdc.conf, to match
Theodore Tso [Fri, 6 Oct 1995 01:48:22 +0000 (01:48 +0000)]
Change the name of the kdc configuration file to be kdc.conf, to match
the man page.  :-)

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

29 years agoFix logic if #ifdefs for HAVE_STRERROR and HAVE_SYS_ERRLIST.
Theodore Tso [Thu, 5 Oct 1995 22:00:40 +0000 (22:00 +0000)]
Fix logic if #ifdefs for HAVE_STRERROR and HAVE_SYS_ERRLIST.
strerror() is used in preference to sys_errlist().

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

29 years agoIf the log file can't be opened, print an intelligent error message
Theodore Tso [Thu, 5 Oct 1995 21:59:01 +0000 (21:59 +0000)]
If the log file can't be opened, print an intelligent error message

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

29 years ago * alt_prof.c (krb5_read_realm_params): If secure flag is set in
Ezra Peisach [Thu, 5 Oct 1995 19:04:00 +0000 (19:04 +0000)]
* alt_prof.c (krb5_read_realm_params): If secure flag is set in
context, do not allow for environment variables to specify
configuration files.

Note: It is still possible to bypass the secure flag by directly calling
krb5_aprof_init which only krb5kdc does.

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

29 years ago * init_os_ctx.c (krb5_secure_config_files): New function that
Ezra Peisach [Thu, 5 Oct 1995 17:30:42 +0000 (17:30 +0000)]
* init_os_ctx.c (krb5_secure_config_files): New function that
will set flag and path to prevent user from overriding
configuration files with environment variables.

This is intended for those pesky suid root programs so that they cannot
break security as easily...

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

29 years ago * k5-int.h: Add profile_secure to context
Ezra Peisach [Thu, 5 Oct 1995 17:24:09 +0000 (17:24 +0000)]
* k5-int.h: Add profile_secure to context

* krb5.hin: Add krb5_secure_config_profile prototype.

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

29 years agoMove declaration of std_ks_tuple from kdb5_edit.h to cpw.c (extern part)
Ezra Peisach [Thu, 5 Oct 1995 14:41:09 +0000 (14:41 +0000)]
Move declaration of std_ks_tuple from kdb5_edit.h to cpw.c (extern part)
as  not all sources include adm.h for the necessary structures.

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

29 years agoUse the kdc.conf file to determine the default list of keysalt tuples
Theodore Tso [Wed, 4 Oct 1995 03:12:32 +0000 (03:12 +0000)]
Use the kdc.conf file to determine the default list of keysalt tuples
to be used.  This is stored in std_ks_tuple, and is used by cpw.c for
random keys and when a list of keysalts is not specified.

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

29 years agoPut back in the KRB5_CONFIG getenv that was accidentally removed
Ezra Peisach [Mon, 2 Oct 1995 21:47:13 +0000 (21:47 +0000)]
Put back in the KRB5_CONFIG getenv that was accidentally removed
in the DEFAULT_PROFILE_PATH change.

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

29 years ago* prof_init.c (profile_init_path): Add const declarations
Ezra Peisach [Mon, 2 Oct 1995 20:41:21 +0000 (20:41 +0000)]
* prof_init.c (profile_init_path): Add const declarations

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

29 years agofix typo
Mark Eichin [Mon, 2 Oct 1995 20:19:11 +0000 (20:19 +0000)]
fix typo

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

29 years ago * default.exp: set timeout to 100 since the default of 10 is
Mark Eichin [Mon, 2 Oct 1995 19:33:38 +0000 (19:33 +0000)]
* default.exp: set timeout to 100 since the default of 10 is
ludicrous with NFS.

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

29 years ago * adm_conn.c (kadm_get_creds): zero out creds->server after
Mark Eichin [Mon, 2 Oct 1995 19:33:06 +0000 (19:33 +0000)]
* adm_conn.c (kadm_get_creds): zero out creds->server after
freeing it to protect later attempts.

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

29 years ago * kinit.c (KRB5_DEFAULT_LIFE): default life should be 10 hours,
Mark Eichin [Mon, 2 Oct 1995 19:23:54 +0000 (19:23 +0000)]
* kinit.c (KRB5_DEFAULT_LIFE): default life should be 10 hours,
not eight, for practical/social reasons.

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

29 years ago * kadmin5.c (kadmin_startup): initialize action before strcat'ing
Mark Eichin [Mon, 2 Oct 1995 19:23:29 +0000 (19:23 +0000)]
* kadmin5.c (kadmin_startup): initialize action before strcat'ing
on to it.

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

29 years ago * krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don't
Mark Eichin [Mon, 2 Oct 1995 19:22:43 +0000 (19:22 +0000)]
* krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don't
call it again. (Not that it can ever fail anyhow.)

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

29 years ago * osconf.h (DEFAULT_PROFILE_PATH): look in $(prefix)/lib/krb5.conf
Mark Eichin [Mon, 2 Oct 1995 19:22:08 +0000 (19:22 +0000)]
* osconf.h (DEFAULT_PROFILE_PATH): look in $(prefix)/lib/krb5.conf
if /etc/krb5.conf isn't found.

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

29 years ago * init_os_ctx.c (krb5_os_init_context): use profile_init_path for
Mark Eichin [Mon, 2 Oct 1995 19:21:45 +0000 (19:21 +0000)]
* init_os_ctx.c (krb5_os_init_context): use profile_init_path for
unix, and DEFAULT_PROFILE_PATH.

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

29 years ago * prof_init.c (profile_init_path): takes a single string entry
Mark Eichin [Mon, 2 Oct 1995 19:20:59 +0000 (19:20 +0000)]
* prof_init.c (profile_init_path): takes a single string entry
that has pathnames seperated by colons, and splits it into
file names for profile_init. No provision for quoting colons in
pathnames, but shells don't solve that either.

* prof_init.c (profile_init): handle multiple input files by
grabbing the first one that doesn't return ENOENT.

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

29 years agoChanges to work under OSF/1 - changes of longs to KRB4_32.
Ezra Peisach [Mon, 2 Oct 1995 18:52:21 +0000 (18:52 +0000)]
Changes to work under OSF/1 - changes of longs to KRB4_32.
Remove unused structure declaration.

I doubt anyone is using this code anymore, but I forgot to check it in
months ago.

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

29 years agoMakefile.in (check-unix): Changed building of library from check to check-unix
Ezra Peisach [Mon, 2 Oct 1995 18:39:37 +0000 (18:39 +0000)]
Makefile.in (check-unix): Changed building of library from check to check-unix

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

29 years ago* configure.in (V5_MAKE_SHARED_LIB): Change rule to install
Ezra Peisach [Mon, 2 Oct 1995 18:38:09 +0000 (18:38 +0000)]
* configure.in (V5_MAKE_SHARED_LIB): Change rule to install
version 0.1 of the library. Pass the libcrypto and
libcom_err version number to Makefile

* Makefile.in (CRYPTO_VER): Get the proper libcrypto version number

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

29 years ago * configure.in (V5_MAKE_SHARED_LIB): Change rule to install
Ezra Peisach [Mon, 2 Oct 1995 18:36:46 +0000 (18:36 +0000)]
* configure.in (V5_MAKE_SHARED_LIB): Change rule to install
version 0.1 of the library. Pass the libcrypto version
number to Makefile

* Makefile.in (CRYPTO_VER): Get the proper libcrypto version number

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

29 years agoconfigure.in (V5_MAKE_SHARED_LIB): Change rule to install
Ezra Peisach [Mon, 2 Oct 1995 18:35:47 +0000 (18:35 +0000)]
configure.in (V5_MAKE_SHARED_LIB): Change rule to install
version 0.1 of the library. Pass the libcrypto version
number to Makefile

Makefile.in (CRYPTO_VER): Get the proper libcrypto version number

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

29 years ago* configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 of
Ezra Peisach [Mon, 2 Oct 1995 18:34:18 +0000 (18:34 +0000)]
* configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 of
shared library. Remove install lines which are in aclocal.m4

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

29 years ago* configure.in (V5_MAKE_SHARED_LIB): Add version number 0.1 for library
Ezra Peisach [Mon, 2 Oct 1995 18:32:25 +0000 (18:32 +0000)]
* configure.in (V5_MAKE_SHARED_LIB): Add version number 0.1 for library
creation.

* Makefile.in (clean-unix): Remove DONE

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

29 years ago * makeshlib.sh: For solaris, if you are not using gcc, add the -h
Ezra Peisach [Mon, 2 Oct 1995 18:31:13 +0000 (18:31 +0000)]
* makeshlib.sh: For solaris, if you are not using gcc, add the -h
argument to specify the name of the shared library to
load. (i.e. libfoo.so.0.1).

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

29 years ago * aclocal.m4 (DO_SUBDIRS): Add make Makefiles for broken versions
Ezra Peisach [Mon, 2 Oct 1995 18:25:50 +0000 (18:25 +0000)]
* aclocal.m4 (DO_SUBDIRS): Add make Makefiles for broken versions
of make.
     (V5_MAKE_SHARED_LIB): Changes to support version
           numbering and library installation.

* configure.in: change shlib extentsion for netbsd and dirhead
rules to allow for shared library path to be included in
executable.

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

29 years ago#ifdef the entire file so it's not built under Windows
Theodore Tso [Fri, 29 Sep 1995 21:10:03 +0000 (21:10 +0000)]
#ifdef the entire file so it's not built under Windows

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

29 years agoIf krb5/autoconf.h doesn't exist, cd to krb5 and make it
Theodore Tso [Fri, 29 Sep 1995 20:49:42 +0000 (20:49 +0000)]
If krb5/autoconf.h doesn't exist, cd to krb5 and make it

Don't make krb5-pro.h; this confuses things under Windows, since
Windows attempts to build krb5-pro.h and then rebuildes krb5.h, when
it shouldn't do that.  Fold in the krb5-pro.h rules as part of the
rules for krb5.h.  This way, they don't get executed under DOS, since
krb5.h already exists under DOS.

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

29 years agoDon't use krb5_lname_file; instead, use DEFAULT_LNAME_FILENAME
Theodore Tso [Fri, 29 Sep 1995 20:39:10 +0000 (20:39 +0000)]
Don't use krb5_lname_file; instead, use DEFAULT_LNAME_FILENAME
directly.

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

29 years agoRemove krb5_lname_file; it's not used any more
Theodore Tso [Fri, 29 Sep 1995 20:38:49 +0000 (20:38 +0000)]
Remove krb5_lname_file; it's not used any more

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

29 years agoRemove autoconf.h on make clean
Theodore Tso [Fri, 29 Sep 1995 18:38:59 +0000 (18:38 +0000)]
Remove autoconf.h on make clean

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

29 years agoRemove trval on a make clean
Theodore Tso [Fri, 29 Sep 1995 18:24:36 +0000 (18:24 +0000)]
Remove trval on a make clean

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

29 years agoRemove the dejagnu temporary files
Theodore Tso [Fri, 29 Sep 1995 18:23:22 +0000 (18:23 +0000)]
Remove the dejagnu temporary files

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

29 years agoUse the SubdirLibraryRule defined in aclocal.m4 to create the DONE
Theodore Tso [Fri, 29 Sep 1995 18:22:40 +0000 (18:22 +0000)]
Use the SubdirLibraryRule defined in aclocal.m4 to create the DONE
file (and to properly clean it up).

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

29 years agoClean up make clean procedures. The files to be removed are defined
Theodore Tso [Fri, 29 Sep 1995 18:21:44 +0000 (18:21 +0000)]
Clean up make clean procedures.  The files to be removed are defined
in CLEANLIBS, for both the Unix and Mac platforms.

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

29 years ago * Makefile.in (clean-unix): Remove krb5-pro.h
Ezra Peisach [Fri, 29 Sep 1995 17:43:42 +0000 (17:43 +0000)]
* Makefile.in (clean-unix): Remove krb5-pro.h
              (krb5-pro.h): Add HAVE_SYS_TYPES_H file so that
      sys/types.h may be included definition of size_t for
      krb5.h

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

29 years agoFor MS-DOS, use the brute force method of defining the size of
Theodore Tso [Fri, 29 Sep 1995 06:04:19 +0000 (06:04 +0000)]
For MS-DOS, use the brute force method of defining the size of
variables; we should really get an autoconf file for MS-DOS.

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

29 years agogss-client.c (main): Set display_file to be stdout
Theodore Tso [Fri, 29 Sep 1995 05:53:14 +0000 (05:53 +0000)]
gss-client.c (main): Set display_file to be stdout

gss-server.c (main): Set display_file to 0 if using inetd; otherwise,
set it to be stdout.

gss-misc.c (send_token, recv_token, display_status): If display_file
is null, don't set it to stderr; just don't print the log message
instead.  Needed for inetd operation.

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

29 years ago#include "osconf.h" all the time, at the beginning of the file
Theodore Tso [Fri, 29 Sep 1995 05:48:50 +0000 (05:48 +0000)]
#include "osconf.h" all the time, at the beginning of the file

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

29 years agoDon't include autoconf.h under Windows, since it doesn't exist
Theodore Tso [Fri, 29 Sep 1995 05:48:21 +0000 (05:48 +0000)]
Don't include autoconf.h under Windows, since it doesn't exist

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

29 years agoCopy stock/osconf.h to osconf.h in include/krb5, and clean it up when
Theodore Tso [Fri, 29 Sep 1995 05:45:03 +0000 (05:45 +0000)]
Copy stock/osconf.h to osconf.h in include/krb5, and clean it up when
we're done building the distribution.

Add config/windows.in to the beginning of the Makefile.in when we're
building the Makefile.

New scheme for building DOS and Macintosh distribution files; much
more forgiving of random cruft in the source tree.

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

29 years ago#include autoconf.h instead of osconf.h, because that's the file we
Theodore Tso [Fri, 29 Sep 1995 05:29:13 +0000 (05:29 +0000)]
#include autoconf.h instead of osconf.h, because that's the file we
really care about.

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

29 years agoMore Mac project file cleanup
Keith Vetter [Fri, 29 Sep 1995 04:21:28 +0000 (04:21 +0000)]
More Mac project file cleanup

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

29 years agoOnly check the returned starttime to make sure it matches the
Theodore Tso [Fri, 29 Sep 1995 04:09:56 +0000 (04:09 +0000)]
Only check the returned starttime to make sure it matches the
requested starttime if we requested a postdated ticket.

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

29 years agoRename verify.c to t_verify.c to remove conflict with
Keith Vetter [Fri, 29 Sep 1995 03:53:36 +0000 (03:53 +0000)]
Rename verify.c to t_verify.c to remove conflict with
gssapi/krb5/verify.c on the Mac.

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

29 years agoOnly convert instances which don't have a '.' in them. If they have a
Theodore Tso [Fri, 29 Sep 1995 03:19:27 +0000 (03:19 +0000)]
Only convert instances which don't have a '.' in them.  If they have a
'.', assume that they are fully qualified already.

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

29 years ago(gets it to actually build on sunos, and provides a fair guess for
Mark Eichin [Fri, 29 Sep 1995 03:15:32 +0000 (03:15 +0000)]
(gets it to actually build on sunos, and provides a fair guess for
other systems)

* update_utmp.c: ultimately fall back to /etc/utmp for UTMP_FILE,
if it is still missing after all previous efforts.
* update_wtmp.c: /usr/adm/wtmp for WTMP_FILE likewise.

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

29 years agoMisc Mac cleanups
Keith Vetter [Fri, 29 Sep 1995 02:27:50 +0000 (02:27 +0000)]
Misc Mac cleanups

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

29 years agogss sample program
Keith Vetter [Fri, 29 Sep 1995 02:01:22 +0000 (02:01 +0000)]
gss sample program

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

29 years agoAdded new KerberosHeaders files
Keith Vetter [Thu, 28 Sep 1995 08:27:52 +0000 (08:27 +0000)]
Added new KerberosHeaders files

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

29 years agoWorking telnet authentication module and project consolidations
Keith Vetter [Thu, 28 Sep 1995 08:22:34 +0000 (08:22 +0000)]
Working telnet authentication module and project consolidations

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

29 years agoFiles in telnet authentication module directory
Keith Vetter [Thu, 28 Sep 1995 00:29:20 +0000 (00:29 +0000)]
Files in telnet authentication module directory

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

29 years agoTelnet authentication module fixes. Also project organization
Keith Vetter [Thu, 28 Sep 1995 00:27:12 +0000 (00:27 +0000)]
Telnet authentication module fixes.  Also project organization
cleanup.

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

29 years agoRemove telnet directory from repository
Keith Vetter [Thu, 28 Sep 1995 00:05:01 +0000 (00:05 +0000)]
Remove telnet directory from repository

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

29 years agoChange install: to install-unix: so that the destination directories are
Ezra Peisach [Wed, 27 Sep 1995 15:49:59 +0000 (15:49 +0000)]
Change install: to install-unix: so that the destination directories are
created first.

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

29 years agoAdded macfile.list to the list of excluded files
Theodore Tso [Wed, 27 Sep 1995 04:57:30 +0000 (04:57 +0000)]
Added macfile.list to the list of excluded files

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

29 years ago*** empty log message ***
Theodore Tso [Wed, 27 Sep 1995 04:52:56 +0000 (04:52 +0000)]
*** empty log message ***

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

29 years agoNew file, used for generating DOS zip files
Theodore Tso [Wed, 27 Sep 1995 04:52:27 +0000 (04:52 +0000)]
New file, used for generating DOS zip files

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

29 years agoMove changes from ChangeLog to changelo
Theodore Tso [Wed, 27 Sep 1995 02:15:43 +0000 (02:15 +0000)]
Move changes from ChangeLog to changelo

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

29 years agoDon't include des_int.h; it's no longer needed
Theodore Tso [Wed, 27 Sep 1995 00:21:29 +0000 (00:21 +0000)]
Don't include des_int.h; it's no longer needed

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

29 years agoalt_prof.c (krb5_read_realm_params): On an error, initialize the
Theodore Tso [Wed, 27 Sep 1995 00:18:30 +0000 (00:18 +0000)]
alt_prof.c (krb5_read_realm_params): On an error, initialize the
returned rparams pointer to NULL.

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

29 years agoDon't include los-proto.h; it's no longer present
Theodore Tso [Wed, 27 Sep 1995 00:11:26 +0000 (00:11 +0000)]
Don't include los-proto.h; it's no longer present

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

29 years agok5-int.h: Don't predefine symbols to stop kdb.h and kdb_dbm.h for
Theodore Tso [Wed, 27 Sep 1995 00:10:13 +0000 (00:10 +0000)]
k5-int.h: Don't predefine symbols to stop kdb.h and kdb_dbm.h for
_MSDOS.

krb5.hin, k5-int.h: Move some src/lib/krb5/os prototypes to krb5.hin.

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

29 years agokdb.h, kdb_dbm.h: Add #if !defined(_MSDOS) && !defined(_MACINTOSH) to
Theodore Tso [Wed, 27 Sep 1995 00:09:13 +0000 (00:09 +0000)]
kdb.h, kdb_dbm.h: Add #if !defined(_MSDOS) && !defined(_MACINTOSH) to
prevent these #includes from being used by Mac and PC
machines.

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

29 years agoSystematic rework of all the cleanup code to make the generated object
Theodore Tso [Wed, 27 Sep 1995 00:03:06 +0000 (00:03 +0000)]
Systematic rework of all the cleanup code to make the generated object
file subtatially (40% on the i386 platform) smaller.  The cleanup is
now handled with a "goto error_out" statement, which prevents the
cleanup statements from being replicated many, many, many times
throughout the entire file.

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

29 years agoRemoved "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 21:31:45 +0000 (21:31 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile

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

29 years agoAdded missing backslash at the end of one of the lines, missing from
Theodore Tso [Mon, 25 Sep 1995 21:07:28 +0000 (21:07 +0000)]
Added missing backslash at the end of one of the lines, missing from
the Macintosh integration.

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

29 years agoRemoved "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 21:03:18 +0000 (21:03 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile

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

29 years agoRemoved "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:55:45 +0000 (20:55 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile

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

29 years agoFix tabbing in prototypes. (Just to clear up a conflict)
Theodore Tso [Mon, 25 Sep 1995 20:52:20 +0000 (20:52 +0000)]
Fix tabbing in prototypes.  (Just to clear up a conflict)

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

29 years agoRemoved "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:50:11 +0000 (20:50 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile

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

29 years agoOops! Removed ^M from source files
Theodore Tso [Mon, 25 Sep 1995 20:47:50 +0000 (20:47 +0000)]
Oops!  Removed ^M from source files

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

29 years agoRemoved "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:45:20 +0000 (20:45 +0000)]
Removed "foo:: foo-$(WHAT)" lines from the Makefile

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

29 years agoMakefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:37:51 +0000 (20:37 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile

aclocal.m4 (MAKE_SUBDIRS, DO_SUBDIRS): MAKE_SUBDIRS now takes three
arguments; DO_SUBDIRS now generates target rules of the form:
"foo-unix: <for each subdirectory> make foo".  All of the macros
which generated targets "all", "install", "clean", etc. now generate
targets "all-unix", "install-unix", "clean-unix".

This scheme allows us to do multiple-platform builds, while
preserving ordering constraints that we need in order to build
library subdirectories correctly.

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

29 years agoMakefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:32:26 +0000 (20:32 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile

configure.in: Remove custom MAKE_SUBDIRS line with the standard
DO_SUBDIRS rule, which works now that we're revamping how the
foo-$(WHAT) system works.

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

29 years agoMakefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile
Theodore Tso [Mon, 25 Sep 1995 20:30:46 +0000 (20:30 +0000)]
Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile

configure.in: Don't include "all:: all-$(WHAT)" at the end of the
Makefile.  That's now included at the very beginning by pre.in

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

29 years agoAdded lines of the form "all:: all-$(WHAT)" for all, clean, install,
Theodore Tso [Mon, 25 Sep 1995 20:26:06 +0000 (20:26 +0000)]
Added lines of the form "all:: all-$(WHAT)" for all, clean, install,
and check.

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

29 years ago(this may have caused the spin-looping I saw...)
Mark Eichin [Mon, 25 Sep 1995 04:20:37 +0000 (04:20 +0000)]
(this may have caused the spin-looping I saw...)

* krb524d.c (do_connection): if recvfrom failed, just return,
don't try to use the (likely invalid) sockaddr in a reply message.

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