Miro Jurisic [Tue, 14 Jul 1998 16:10:11 +0000 (16:10 +0000)]
Updated for new Mac builds (MacPerl)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10643
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:36:15 +0000 (15:36 +0000)]
Updated to CW Pro 2, grayed out change password button
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10642
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:34:52 +0000 (15:34 +0000)]
changes for independent Mac builds
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10641
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:33:43 +0000 (15:33 +0000)]
Bumped to 1.0.5b1 and added 'vers' 2 resource
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10640
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:33:11 +0000 (15:33 +0000)]
Fixed fat library target (version resources were missing)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10639
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:23:13 +0000 (15:23 +0000)]
Added separation of fragments and autogeneration of error tables, some cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10638
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:22:21 +0000 (15:22 +0000)]
Updated to the most recent export list
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10637
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:18:46 +0000 (15:18 +0000)]
Added new Mac files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10636
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:14:45 +0000 (15:14 +0000)]
Mac: now calling NewCWindow when possible; changed GetNextEvent to WaitNextEvent
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10635
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:13:15 +0000 (15:13 +0000)]
Added magic incantations for Macintosh CFM-68K
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 14 Jul 1998 15:12:49 +0000 (15:12 +0000)]
Added magic incantations for Macontosh CFM-68K
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 12 Jul 1998 20:59:42 +0000 (20:59 +0000)]
Preliminary fixes for AIX4.3:
* Fix static libs on platforms using .a for shared libs
* Fix utmp handling for non-hpux platforms with ut_exit different from utmpx.
* Include librarymacros in ss configure.in
* Remove declarations of h_errno
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Sat, 11 Jul 1998 05:42:27 +0000 (05:42 +0000)]
Added a call to signal() in request_hup() so that the signal handler
gets reset after each SIGHUP, since this does not happen automatically
in System V's signal handling system.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10631
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 10 Jul 1998 01:54:05 +0000 (01:54 +0000)]
* kadm_server.c (kadm_ser_cpw): Re-enable "old-style" password
changing. Yes, it's potentially a problem due to lack of quality
checking, but we'll live with that because we can use
key-hash-based checks too.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10630
dc483132-0cff-0310-8789-
dd5450dbe970
Matthew Hancher [Thu, 9 Jul 1998 23:42:03 +0000 (23:42 +0000)]
Thu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>
* tf_util.c (tf_init): Fixed a potential race condition in the opening
of v4 ticket files. tf_init() was calling lstat() followed by fopen().
Now it calls fopen() and then calls lstat() and fstat() to check file
ownership and to check that it opened the file it thought it did. I
patched the shared memory code similarly, but since nothing uses it I
don't have a good way to test it properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10629
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 9 Jul 1998 19:18:35 +0000 (19:18 +0000)]
Perl versions of the conversion utilities
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10628
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Wed, 8 Jul 1998 09:12:05 +0000 (09:12 +0000)]
These additions cause the KDC to react to SIGHUP by closing and
reopening its log files, so that logfile management utilities
may now compress old logs and then kill -HUP the KDC process
to get them to use fresh log files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10627
dc483132-0cff-0310-8789-
dd5450dbe970
Matthew Hancher [Wed, 8 Jul 1998 06:05:48 +0000 (06:05 +0000)]
Third time's the charm.... *sigh* (ya irix6.3/gcc fix)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10626
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 8 Jul 1998 05:34:11 +0000 (05:34 +0000)]
kadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal instead
of krb5_build_principal to create the changepw sprinc principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10625
dc483132-0cff-0310-8789-
dd5450dbe970
Matthew Hancher [Wed, 8 Jul 1998 05:14:27 +0000 (05:14 +0000)]
Wed Jul 8 01:10:44 1998 Matthew D Hancher <mdh@mit.edu>
* aclocal.m4: Allow shared libraries to build properly under Irix
6.x with gcc. (This is actually a fix of a previous fix that
didn't make it into ChangeLog.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10624
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 7 Jul 1998 21:46:12 +0000 (21:46 +0000)]
conv_princ.c: Add additional commonly seen Kerberos V4 services to the
hard-coded list.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10623
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 7 Jul 1998 20:59:38 +0000 (20:59 +0000)]
* chk_trans.c: Fix up previous fix; short-circuit out when
trans->length == 0.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10622
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Jul 1998 22:34:54 +0000 (22:34 +0000)]
Makefile.in (build_pwfile): Add rule to build the build_pwfile program
kadm_server.c (kadm_ser_cpw): Put the call to the kadm_approve_pw in
the common code, so it's executed even if KADM5 is defined. Add
appropriate syslogs to the change password processing.
kadm_funcs.c (pwstring;): If NDBM_PW_CHECK is defined, then do the
NDBM-based dictionary check. Build kadmind4 using the make option
PW_CHECK=-DNDBM_PW_CHECK if this feature is desired.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10621
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Jul 1998 00:41:56 +0000 (00:41 +0000)]
Update commands to build the Macintosh MPW Makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10620
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:36:50 +0000 (22:36 +0000)]
asn1_encode.c: Make the magic Macintosh EPOCH offset be 70 years
instead of 66 years, since CodeWarrior Pro 2 now bases everything off
of 1900.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10619
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:24:56 +0000 (22:24 +0000)]
k5unseal.c (kg_unseal): Clean up lint warnings
accept_sec_context.c (krb5_gss_accept_sec_context): Don't return an
error token if we can't provide the server name to the KRB5 error
structure (because cred isn't initialized).
gssapi_krb5.c, gssapi_krb5.h: Export the oid of static arrays as
krb5_gss_oid_array since it's needed by gss_import_sec_context.
import_sec_context.c: Fix up the OID of the mechanism in the imported
security context so that we use the static OID if at all possible.
This is needed since gss_inquire_context() must return a static OID.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10618
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:20:13 +0000 (22:20 +0000)]
com_err.c (MacMessageBox): Change TextBox to TETextBox to match up
with CodeWarrior changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:12:05 +0000 (22:12 +0000)]
oid_ops.c (generic_gss_release_oid): Recognize our own (new) "self"
oids so that we don't free static oid's. (exported_name and
nt_service_name_v2).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10616
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:10:16 +0000 (22:10 +0000)]
Update ReadMe file so it's a little bit more accurate...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10615
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:09:58 +0000 (22:09 +0000)]
Remove unneded Includes line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10614
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 22:00:37 +0000 (22:00 +0000)]
Update Macintosh changes to ChangeLog which Marshall made on 1/13/98
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10613
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 21:56:52 +0000 (21:56 +0000)]
Update Macintosh changes to ChangeLog
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10612
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 21:53:38 +0000 (21:53 +0000)]
Add new GSSAPI functions
Also comment out __terminate and __initialize functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10611
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Jul 1998 21:47:49 +0000 (21:47 +0000)]
Update Mac resource file to say 1.0.4b1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10610
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Jul 1998 23:18:28 +0000 (23:18 +0000)]
KerberosHeaders.h: Removed #endif with no matching initial #if
statement. (How did this compile before?)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10609
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Jul 1998 23:15:18 +0000 (23:15 +0000)]
win-mac.h: Make size_t to be an unsigned long instead of unsigned int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10608
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Jul 1998 22:01:29 +0000 (22:01 +0000)]
chk_trans.c (krb5_check_transited_list): Fix use of an uninitalized
variable; apparently the code was depending on the stack garbage being
non-zero(!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10607
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Jul 1998 21:57:42 +0000 (21:57 +0000)]
Fix obvious bug where we were returning a pointer to an automatic
variable which should have been a static. Fortunately nothing in the
Mac tree was using inet_ntoa()....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10606
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Jul 1998 21:56:53 +0000 (21:56 +0000)]
Committed sarac's changes which make the mpw dependencies more sane
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10605
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 24 Jun 1998 07:16:57 +0000 (07:16 +0000)]
* mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt(). By
taking the address of key, the 5th arg to pcbc_encrypt() was
actually a (char **) cast to a (C_Block *). The reason for this
is that a C_Block (actually a des_cblock) is typedef'ed from a
char[8], which by being in the parameters of the definition of
krb_mk_priv() becomes of type (char *). This means that using the
address operator on key resulted in a pointer to a pointer to a
char rather than a pointer to a des_cblock, which would have been
innocuous in this case because pcbc_encrypt() actually takes a
(des_cblock *) as the 5th (ivec) argument. The moral is to never
pass around naked arrays as function arguments; instead, pass
around pointers to arrays to avoid spontaneous conversions to
pointers sneaking up. Note that CNS actually uses a (C_Block *)
everywhere, and maybe we should as well. *whew*
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10603
dc483132-0cff-0310-8789-
dd5450dbe970
Matthew Hancher [Tue, 23 Jun 1998 10:31:49 +0000 (10:31 +0000)]
Tue Jun 23 06:28:51 1998 Matthew D Hancher <mdh@mit.edu>
* aclocal.m4: added a kluge to get shared libraries to build
with gcc under Irix 6.3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10602
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 17 Jun 1998 20:38:09 +0000 (20:38 +0000)]
* cnv_tkt_skey.c (krb524_convert_tkt_skey): Handle null address
fields; actually use saddr (the address from the UDP header) to
generate the ticket address rather than just checking against it.
* conv_creds.c (krb524_convert_creds_plain): Punt address checks.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10601
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 21:31:24 +0000 (21:31 +0000)]
Don't depend on $(RM) macro being defined when building kerbsrc-nt.zip
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10600
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:51:25 +0000 (19:51 +0000)]
Folded in enhancements from Cygnus's Kerbnet-1.2 (plus our changes
made since Cygnus's last snapshot). See ChangeLog from Cygnus
(included in the ChangeLog file) for more details.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10598
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:48:01 +0000 (19:48 +0000)]
Makefile.in: Add ccache/memory as a directory to be recursively built
by this makefile under Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10597
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:47:02 +0000 (19:47 +0000)]
Makefile.in: Update Makefile so that it can be built under Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10596
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:37:14 +0000 (19:37 +0000)]
mkbin.bat: Added convenience batch file which copies all of the
appropriate files out of the build tree into a single kbin directory
Makefile.in: Add the windows/lib directory to the list of directories
to be built (and cleaned).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10595
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:34:36 +0000 (19:34 +0000)]
logwtmp.c: Include paths.h if present, and use _PATH_WTMP to determine
WTMPFILE.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10594
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:33:49 +0000 (19:33 +0000)]
configure.in: Add check for paths.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10593
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:33:00 +0000 (19:33 +0000)]
sys_term.c: #include utmp.h if present, and use _PATH_WTMP and
_PATH_UTMP if defined to determine location of the wtmp and utmp
files.
configure.in: Add check for utmp.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10592
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:31:27 +0000 (19:31 +0000)]
windows.in: Remove -DLEHMAN, which doesn't do anything. (A grep
through the whole source tree shows no instances of #ifdef LEHMAN)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10591
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:28:17 +0000 (19:28 +0000)]
srv_rcache.c (krb5_get_server_rcache):
auth_con.c (krb5_auth_con_setrcache): Export this function in Windows DLL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10590
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:23:34 +0000 (19:23 +0000)]
Check in files from Kerbnet-1.2 release. This is an auxiliary library
used by some of the windows programs.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10589
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:17:58 +0000 (19:17 +0000)]
Makefile.in: include krb5/ccache/memory and windows/lib in the list of
directories built by the Windows build. When building kerbsrc-nt.zip,
put a copy of mkbin.bat in the top-level build directory. Fix bug in
kerbsrc-nt.zip building where it wasn't creating the initial Makefile
(although the dos-zipfiles target did the right thing).
aclocal.m4 (KRB5_LIB_PARAMS): Remove "untested" comment from freebsd.
Add section for openbsd.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10588
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:13:50 +0000 (19:13 +0000)]
krb5.hin: Declare krb5_auth_con_setrcache and krb5_get_server_rcache
to be exported by the DLL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10587
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 19:12:45 +0000 (19:12 +0000)]
login.c (dolastlog): BSD 4.4 systems don't have lastlog.h, but still
define struct lastlog somewhere. Included from Dima Ruban's FreeBSD
patches.
krlogin.c: Include sys/ioctl_compat.h if it is present (instead of
just for 386BSD).
loginpaths.h (LPATH): If the OS provides _PATH_DEFPATH, use it to
define LPATH and RPATH.
login.c: #include paths.h if present, and use it to set the pathnames
for certain common files.
configure.in (withval): Check for <sys/ioctl_compat.h> and <paths.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10586
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 27 May 1998 18:48:16 +0000 (18:48 +0000)]
krb5_32.def: Change the DLL export list to include
krb5_auth_con_setrcache, krb5_get_server_rcache, krb5_cc_default_name,
krb5_change_password, krb5_mcc_ops, and all of the Cygnus
krb5_get_init_creds functions. Remove the old libkadm functions, as
they are no longer available.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10585
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 26 May 1998 19:32:02 +0000 (19:32 +0000)]
* configure.in: Re-order check for setupterm to avoid lossage if
setupterm is defined in libtermcap or libcurses.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10584
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 02:32:06 +0000 (02:32 +0000)]
Makefile.in (CLEANLIBS): Remove lib/kadm from the list of directories
built in the windows build.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10583
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 02:31:13 +0000 (02:31 +0000)]
Makefile.in: Remove lib/kadm and lib/krb5/free from the list of
directories supported by windows (since they have since gone away).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10582
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 02:10:46 +0000 (02:10 +0000)]
aclocal.m4: Added suggested changes to improve HP-UX's support for
shared libraries.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10581
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 02:02:40 +0000 (02:02 +0000)]
util_buffer.c (g_make_string_buffer): Don't include the trailing
NULL of the string in the gss buffer's length.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10580
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 01:58:46 +0000 (01:58 +0000)]
Fix typo which caused import_name to incorrectly import names produced
by gss_export_name().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10579
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 01:54:34 +0000 (01:54 +0000)]
copy_ccache.c (gss_krb5_copy_ccache): Fix bugs in copy_ccache.c, which
never compiled cleanly (since it wasn't added to the Makefile
correctly originally).
k5seal.c (make_seal_token): Clean up -Wall flames
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10578
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 01:45:17 +0000 (01:45 +0000)]
inq_cred.c (krb5_gss_inquire_cred):
inq_context.c (krb5_gss_inquire_context):
import_name.c (krb5_gss_import_name):
export_name.c (krb5_gss_export_name):
disp_name.c (krb5_gss_display_name):
context_time.c (krb5_gss_context_time):
acquire_cred.c (krb5_gss_acquire_cred): Clean up -Wall flames.
indicate_mechs.c (krb5_gss_indicate_mechs): Return a dynamic OID set.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10577
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 01:44:13 +0000 (01:44 +0000)]
util_ordering.c (g_order_free):
rel_oid_set.c (generic_gss_release_oid_set):
disp_major_status.c: General lint cleanup.
util_oid.c (g_copy_OID_set): Copy the OID set with entirely dynamic
memory (don't alias the contents of the OID set).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10576
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 25 May 1998 01:42:51 +0000 (01:42 +0000)]
Use double backslashes for the path separators to workaround Microsoft
NMAKE brain damaging. Sometimes backslashes are treated as a quoting
characters, and sometimes not, with no rhyme or reason that I can
determine. Fortunatelly double backslashes in pathanmes don't seem to
hurt (for the times when the backslash isn't treated as a quoating
character). Whoever decided Windows should use backslash as a path
separator should be shot.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10575
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 19 May 1998 00:21:25 +0000 (00:21 +0000)]
* krb5_err.et: Clarify error for REALM_CANT_RESOLVE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10574
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 16 May 1998 20:54:42 +0000 (20:54 +0000)]
* login.c: Replace strcpy with strncpy in places. Add nul
termination to some existing invocations of strncpy.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10572
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 May 1998 04:57:00 +0000 (04:57 +0000)]
telnetd.c (main):
telnetd-ktd.c (main): POSIX states that getopt returns -1 when it
is done parsing options, not EOF.
configure.in: Rename HAS_* to HAVE_* for the following tests: sac.h,
sys/ptyvar.h, sys/filio.h, sys/stream.h, gettosbyname(), and make
appropriate adjustments in the rest of the .c files. Remove tests
which aren't being used anymore: vhangup, utmpx.h, utmp.h, etc.
defs.h: Use HAVE_SYS_FILIO_H instead of FILIO_H
sys_term.c: Use HAVE_SAC_H and HAVE_SYS_STREAM_H instead of
HAS_SAC and STREAMS.
telnetd.c, telnetd-ktd.c: Use HAVE_GETTOSBYNAME instead of
HAS_GETTOS
telnetd.c: Use HAVE_SYS_PTYVAR_H instead of HAS_PTYVAR.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10571
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 May 1998 04:47:22 +0000 (04:47 +0000)]
main.c (main): POSIX states that getopt returns -1 when it is done
parsing options, not EOF.
configure.in: Use standard autoconf test names. Change tests to define
standard autoconf CPP macro names, not the non-standard HAS_GETTOS,
etc.
main.c, commands.c: Use HAVE_GETTOSBYNAME instead of HAS_GETTOS
ring.c, externs.h: Use HAVE_SYS_FILIO_H instead of FILIO_H
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10570
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 May 1998 04:41:47 +0000 (04:41 +0000)]
configure.in: Change test for cgetent to use HAVE_ instead of HAS_,
and add a test for gettosbyname().
getent.c: Use HAVE_CGETENT instead of HAS_CGETENT
parsetos.c: Use HAVE_GETTOSBYNAME instead of HAS_GETTOS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10569
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 May 1998 04:38:14 +0000 (04:38 +0000)]
Make sure the date string printed uses 4 digit years
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10568
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 11 May 1998 01:47:15 +0000 (01:47 +0000)]
This is now obsolete; superceded by src/lib/kadm5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10567
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 11 May 1998 01:44:50 +0000 (01:44 +0000)]
Remove extraneous stuff, as this actually belongs in
src/kadmin/v4server, etc. now
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10566
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 9 May 1998 03:19:46 +0000 (03:19 +0000)]
str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to be
able to properly parse Y2K dates.
t_kerb.c: Add ability to test krb5_string_to_timestamp
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10559
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 9 May 1998 00:04:39 +0000 (00:04 +0000)]
stime.c (krb_stime):
log.c (krb_new_log, krb_log):
klog.c (klog): Print the year using 4 digits to avoid Y2K issues.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10558
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 May 1998 23:55:43 +0000 (23:55 +0000)]
Print the year as 4 digits to avoid Y2K problems
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10557
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 May 1998 23:52:49 +0000 (23:52 +0000)]
* kadm_server.c (krb_log): Print the year using 4 digit to avoid
Y2K issues.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10556
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 May 1998 22:48:16 +0000 (22:48 +0000)]
Print 4 digit years in Krb4 log entries to avoid Y2K issues
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10555
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 May 1998 22:15:18 +0000 (22:15 +0000)]
ftpcmd.y (cmd): Fix Y2K problem in the MDTM command
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10554
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:40:44 +0000 (20:40 +0000)]
Add a check for the header file krb4-proto.h. Replace file existence
tests for /etc/environment and /etc/TIMEZONE with K5_AC_CHECK_FILES.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10553
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:35:03 +0000 (20:35 +0000)]
POSIX states that getopt returns -1 when it is done parsing options,
not EOF.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10552
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:34:37 +0000 (20:34 +0000)]
Add support for generic file existence tests (used to simplify some
configure.in files.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10551
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:24:10 +0000 (20:24 +0000)]
POSIX states that getopt returns -1 when it is done parsing options,
not EOF.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:21:28 +0000 (20:21 +0000)]
t_ser.c (main): POSIX states that getopt returns -1 when it is done
parsing options, not EOF.
get_in_tkt.c (krb5_get_init_creds): If libdefaults/{REALM}/noaddresses
is true, then don't put any addresses in the ticket request.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10549
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 20:01:28 +0000 (20:01 +0000)]
POSIX states that getopt returns -1 when it is done parsing options,
not EOF.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10548
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 May 1998 18:58:24 +0000 (18:58 +0000)]
POSIX states that getopt returns -1 when it is done parsing options,
not EOF.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10547
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 4 May 1998 21:24:19 +0000 (21:24 +0000)]
* get_in_tkt.c: Add prototype for make_preauth_list
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10545
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 3 May 1998 01:58:06 +0000 (01:58 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call to
make_preauth_list to avoid stack smashing. Pointed out by lxs.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10544
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sat, 25 Apr 1998 06:08:01 +0000 (06:08 +0000)]
Fix -n so that it doesn't disable authentication but does disable login. [38]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10543
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 22 Apr 1998 01:30:40 +0000 (01:30 +0000)]
* glob.c (ftpglob): Always allocate new storage, even if no magic glob
characters were found, because the caller will always free the storage.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10539
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 17 Apr 1998 03:53:02 +0000 (03:53 +0000)]
oops add PR number
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10536
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 17 Apr 1998 03:52:26 +0000 (03:52 +0000)]
* configure.in: Search for /var/tmp first when determining rcache
directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10535
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 17 Apr 1998 00:56:48 +0000 (00:56 +0000)]
* asn1_encode.c (asn1_encode_generaltime): Sanity check the return
from gmtime() to avoid overruns.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10534
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 17 Apr 1998 00:56:36 +0000 (00:56 +0000)]
* asn1_err.et (ASN1_BAD_GMTIME): Add code for case where bad
values are returned from gmtime().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10533
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Apr 1998 22:14:48 +0000 (22:14 +0000)]
* Makefile.in (SHLIB_EXPDEPS):
(SHLIB_EXPLIBS): Rename libcrypto -> libk5crypto.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10532
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Apr 1998 22:10:17 +0000 (22:10 +0000)]
* Makefile.in (LIB): Rename to k5crypto
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10531
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 15 Apr 1998 22:09:19 +0000 (22:09 +0000)]
* pre.in (CRYPTO_DEPLIB):
(KRB5_BASE_LIBS):
(KRB4COMPAT_LIBS): Rename; libcrypto -> libk5crypto.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10530
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 11 Apr 1998 03:27:10 +0000 (03:27 +0000)]
(send_file_list): Oops missed a sigsetjmp() call.
(send_data): Add call to secure_flush() to send a zero length
buffer when aborting.
(send_file_list): Add call to secure_flush() to send a zero length
buffer when aborting.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10528
dc483132-0cff-0310-8789-
dd5450dbe970