Miro Jurisic [Tue, 19 Jan 1999 19:42:19 +0000 (19:42 +0000)]
Changes to krb5.ini to default to single DES TGT (3DES is hosed); added realms API and 3DES to export file; building only PPC versions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11109
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Wed, 13 Jan 1999 16:00:59 +0000 (16:00 +0000)]
Updating Mac CCache library implementation includes and bins to latest
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11108
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Jan 1999 23:27:13 +0000 (23:27 +0000)]
* Makefile.in (CFLAGS): PW_CHECK functionality now in DEFS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11106
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Jan 1999 23:26:44 +0000 (23:26 +0000)]
* configure.in: Define NDBM_PW_CHECK if enable_athena is set to
deal with v4kadmind kludge.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11105
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Wed, 6 Jan 1999 22:45:07 +0000 (22:45 +0000)]
Remove inappropriate cc_shutdown() call from krb5_cc_destroy()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 5 Jan 1999 06:39:40 +0000 (06:39 +0000)]
cns.c (position_dialog): If the registry position for the window is
all zeros, then default to centering the window in the correct place.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11103
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 5 Jan 1999 05:39:44 +0000 (05:39 +0000)]
sn2princ.c (krb5_sname_to_principal): Windows NT5's broken resolver
gratuitously tacks on a trailing period to the hostname (at least it
does in Beta2). Deal with this brain-damage.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11102
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 5 Jan 1999 05:39:07 +0000 (05:39 +0000)]
changepw.c: Add a test for _WIN16 as well as _WIN32 for sockets
workaround (in case we do want to build the 16 bit library again
someday)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11101
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 5 Jan 1999 05:15:28 +0000 (05:15 +0000)]
* configure.in (withval): Conditinalize ATHENA_DES3_KLUDGE on
--enable-athena.
* main.c (initialize_realms): Kludge to disable
des3-marc-hmac-sha1 from the command line.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11100
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 5 Jan 1999 05:14:54 +0000 (05:14 +0000)]
* make_checksum.c (krb5_c_make_checksum): Note the fact that we're
punting on dealing with backwards compat with length-included
checksums.
* etypes.c: Add ENCTYPE_LOCAL_DES3_HMAC_SHA1 as a temporary
kludge. Note that this is added to the end of the array so other
code can lop off the last member of the array and the right thing
will happen so that it is possible to disable des3-marc-hmac-sha1
from the KDC command line, for instance.
* configure.in: Conditionalize ATHENA_DES3_KLUDGE on
--enable-athena.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11099
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 5 Jan 1999 05:14:31 +0000 (05:14 +0000)]
* dk.h: Add prototypes for krb5_marc_dk_*
* dk_encrypt.c (krb5_marc_dk_encrypt): Add compat for 32-bit
length coded ciphertext.
* dk_decrypt.c (krb5_marc_dk_decrypt): Add compat for 32-bit
length coded ciphertext.
* checksum.c: Add compat for 32-bit length included checksum.
Note that nothing uses this at the moment, and probably
shouldn't.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11098
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 2 Jan 1999 06:38:49 +0000 (06:38 +0000)]
prof_tree.c (profile_node_iterator): Make sure the pointer to the
iterator function is non-NULL before checking the magic value.
prof_file.c (profile_open_file): Add ability to parse filenames that
begin with "~/" and substitute it with "$HOME/".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11096
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 27 Dec 1998 02:53:59 +0000 (02:53 +0000)]
Temporary patch for krb5-appl/678; avoid data from stdout being mixed to stderr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11095
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 22 Dec 1998 04:10:08 +0000 (04:10 +0000)]
gss-server.c (test_import_export_context): Fix memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11094
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 22 Dec 1998 04:09:37 +0000 (04:09 +0000)]
accept_sec_context.c (krb5_gss_accept_sec_context): Eliminate double
free of ap_req.data, and initialize ctypes to be NULL to avoid freeing
a pointer to stack garbage when doing a V1 mechanism
accept_sec_contxt.
init_sec_context.c: Re-arrange program logic to simplify and factor
out code; fix gss_init_sec_context() so that if the default OID is
passed to the init_sec_context, it will use the V1 mechanism if a
single DES enctype is used. Error handling was revamped to make it
simpler and cleaner, and to assure that we don't have memory leaks on
error returns.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11093
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 16 Dec 1998 21:16:33 +0000 (21:16 +0000)]
* old_decrypt.c (krb5_old_decrypt): Initialize the ivec to the key
if we're using DES_CBC_CRC, for backwards compatibility. We
weren't noticing this before because it only trashes the first
block, which is the confounder, which we weren't actually
verifying because checksum was unconditionally succeeding prior to
the other patch.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11092
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 11 Dec 1998 03:16:50 +0000 (03:16 +0000)]
* old_decrypt.c (krb5_old_decrypt): Actually compare the
calculated checksum against the provided checksum.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11091
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 7 Dec 1998 20:20:38 +0000 (20:20 +0000)]
* svr_principal.c (kadm5_randkey_principal_3): Fix typo in
arguments to krb5_dbe_crk().
Prototypes are your friends. Essentially, the number of tuples was
passed as tuples and visa-versa.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11090
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 7 Dec 1998 00:46:32 +0000 (00:46 +0000)]
* krb54proto.h: Fix decomp_tkt_krb5 to use KRB4_32, instead of a
nonexistent type.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11089
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:39:30 +0000 (21:39 +0000)]
krb.h: Add prototypes for krb_set_key() and decomp_ticket()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11088
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:38:08 +0000 (21:38 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 21:32:13 +0000 (21:32 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Use K5_AC_OUTPUT isntead of K5_OUTPUT_FILES
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11086
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:52:28 +0000 (06:52 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Use K5_AC_OUTPUT instead of K5_OUTPUT_FILES.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11085
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:51:49 +0000 (06:51 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11084
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:45:51 +0000 (06:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11083
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:31:28 +0000 (06:31 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:25:34 +0000 (06:25 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11081
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:22:37 +0000 (06:22 +0000)]
Makefile.in, ccdefops.c: Temporarily back out the ccapi ccache under
Windows so we can make sure the rest of the krb5 tree builds correctly
under Windows. (Note: I didn't revert lib/krb5/os/ccdefname.c, so
setting KRB5_CC_NAME to FILE:C:\tmp\tkt is required to make things
work.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11080
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:15:57 +0000 (06:15 +0000)]
Makefile.in: Updated windows configuration rules to work with the new
crypto library. (Including bundling the correct directories into
kerbsrc-nt.zip)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11079
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:13:40 +0000 (06:13 +0000)]
Added missing krb4__krb5_context variable declaration
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11078
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:12:58 +0000 (06:12 +0000)]
localaddr.c: Added missing KRB5_DLLIMP and KRB5_CALLCONF macros from
the function definition.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11077
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:11:41 +0000 (06:11 +0000)]
krb5_32.def: Fixed exports file to reflect new crypto library and
related changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11076
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 06:10:35 +0000 (06:10 +0000)]
krb5.hin: Add KRB5_DLLIMP and KRB5_CALLCONV to the prototypes of
valid_enctype, valid_cksumtype, is_coll_proof_cksum, and
is_keyed_cksum, which had previously been #defines, but since they are
now functions, they needed to be exported by the DLL interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11075
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:58:23 +0000 (05:58 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in, kpropd.c: Removed useless test for KRB5_POSIX, and
removed unneeded #include of sgtty.h if POSIX_TERMIOS is not defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11074
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:55:32 +0000 (05:55 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11073
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:53:01 +0000 (05:53 +0000)]
Use K5_AC_OUTPUT instead of K5_OUTPUT_FILES
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11072
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:47:39 +0000 (05:47 +0000)]
Makefile.in: Added missing "cd .." necessary for making this compile
under Windows. Also added missing *.lst files to OBJFILELIST.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11071
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:46:21 +0000 (05:46 +0000)]
Fixed busted Makefile so that it compiles under Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11070
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:45:10 +0000 (05:45 +0000)]
Added KRB5_DLLIMP and KRB5_CALLCONV so that these files build
under Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11069
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:40:45 +0000 (05:40 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
fcc_maybe.c (fcc_lock_file): Removed all of the filesystem-dependent
mess for file locking, which has been now properly moved to
krb5_lock_file(), where it belongs.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11068
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:38:29 +0000 (05:38 +0000)]
rd_svc_key.c (krb54_get_service_keyblock): New function which searches
the appropaite krb5 keytab file for the key to be used by the krb4
library.
rd_req.c (krb_rd_req): If the appropriate key cannot be found in the
krb4 srvtab file, try calling krb54_get_service_keyblock.
decomp_tkt.c (dcmp_tkt_int):
g_in_tkt.c (krb_mk_in_tkt_preauth):
g_ad_tkt.c (get_ad_tkt):
pkt_clen.c (pkt_clen):
rd_err.c (krb_rd_err):
rd_priv.c (krb_rd_priv):
rd_req.c (krb_rd_req):
rd_safe.c (krb_rd_safe): Use krb4_swab32 and krb4_swab16 instead of
swap_u_long and swap_u_short. The new byte swapping routines are
faster and cleaner.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11067
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:28:03 +0000 (05:28 +0000)]
Forgot to check this in earlier
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11066
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 5 Dec 1998 05:17:49 +0000 (05:17 +0000)]
krb5.hin: Move krb4 function prototypes to krb54proto.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11065
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 5 Dec 1998 04:13:09 +0000 (04:13 +0000)]
* admin.h: Add prototypes for create_principal_3,
chpass_principal_3, and randkey_principal_3.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11064
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 5 Dec 1998 04:12:35 +0000 (04:12 +0000)]
* svr_principal.c (kadm5_create_principal): Modify to call
create_principal_3.
(kadm5_create_principal_3): New function including flag to keep
old keys and optional explicit keysalt_tuples.
(kadm5_chpass_principal): Modify to call chpass_principal_3.
(kadm5_chpass_principal_3): New function including flag to keep
old keys and optional explicit keysalt_tuples.
(kadm5_randkey_principal): Modify to call randkey_principal_3.
(kadm5_randkey_principal_3): New function including flag to keep
old keys and optional explicit keysalt_tuples.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11063
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 4 Dec 1998 08:19:28 +0000 (08:19 +0000)]
prof_get.c: Add new public profile_iterator functions for iterating
over values found in the profile file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11062
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 4 Dec 1998 08:17:26 +0000 (08:17 +0000)]
realm_iter.c: New function which iterators over the realms in the
krb5.conf file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11061
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 4 Dec 1998 08:16:22 +0000 (08:16 +0000)]
krb5.hin: Add function prototypes for the new realm iterator
functions. Also add some krb4 function prototypes to make catching
prototype errors easier.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11060
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Dec 1998 03:28:32 +0000 (03:28 +0000)]
* krb5_decode_test.c (main): Add variant test cases on
enc_tkt_part to test bit string values that aren't exactly 32
bits, including 38, 40, 29, and 24 bits to test boundary
conditions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11059
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Dec 1998 03:16:56 +0000 (03:16 +0000)]
* asn1_k_decode.c (asn1_decode_krb5_flags): Fix previous to
properly left-justify bit strings less than 32 bits.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11057
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 4 Dec 1998 00:42:41 +0000 (00:42 +0000)]
* asn1_k_decode.c (asn1_decode_krb5_flags): Modify to deal with
BIT STRING values that are not exactly 32 bits. Throw away bits
beyond number 31 in a bit string for now. Deal with masking out
unused bits.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11055
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 2 Dec 1998 00:29:26 +0000 (00:29 +0000)]
Use $() instead of ${}, which doesn't work for Makefiles
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11053
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Dec 1998 23:55:54 +0000 (23:55 +0000)]
com_err.h, error_table.h: Use "#if defined(MSDOS) || ..." instead of
"#if !defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11051
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Dec 1998 23:51:12 +0000 (23:51 +0000)]
error_message.c: Use "#if defined(MSDOS) || ..." instead of "#if
!defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Dec 1998 20:41:18 +0000 (20:41 +0000)]
Update the Changelog with a better documentation of the whole SUBDIRS,
LOCAL_SUBDIRS, and MY_SUBDIRS mess.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11049
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Dec 1998 20:32:34 +0000 (20:32 +0000)]
Checked in wrong version of post.in previously. Make sure we check
Since if MY_SUBDIRS is defined, it overrides SUBDIRS, we should check
do_subdirs after it has been properly assigned.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11048
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Wed, 25 Nov 1998 22:59:21 +0000 (22:59 +0000)]
More Windows compatibility fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11047
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 17 Nov 1998 23:21:40 +0000 (23:21 +0000)]
* svr_principal.c (kadm5_create_principal):
(kadm5_chpass_principal):
(kadm5_randkey_principal): Fix up for new calling conventions of
dbe_crk and dbe_cpw.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11046
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 17 Nov 1998 23:20:13 +0000 (23:20 +0000)]
* kdb_cpw.c (krb5_dbe_crk):
(krb5_dbe_cpw): Add "keepold" boolean argument to indicate whether
to retain old keys.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11045
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 17 Nov 1998 23:19:17 +0000 (23:19 +0000)]
* kdb.h: Update dbe_crk and dbe_cpw to take a boolean to indicate
whether old keys should be retained.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11044
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 17 Nov 1998 22:38:20 +0000 (22:38 +0000)]
prof_get.c (profile_get_values): If there are no relations found,
return PROF_NO_RELATION, instead of an empty list.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11043
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 17 Nov 1998 20:40:19 +0000 (20:40 +0000)]
* Makefile.in (autoconf.stamp): Fix up to deal with config.status
not being in the current directory anymore.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11042
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 16 Nov 1998 18:04:33 +0000 (18:04 +0000)]
configure.in: Add check for <sys/utsname.h>
utility.c (putf): Add support for %s, %m, %r, %v using information
from the uname() system call.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11041
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 16 Nov 1998 17:58:42 +0000 (17:58 +0000)]
aclocal.m4: Add support for FreeBSD systems using ELF (and not just
a.out systems). Also remove the definition for the KRB5_POSIX_LOCKS
test, since it is no longer needed. (See ChangeLog for
lib/krb5/os/lock_file.c for more details.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11040
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Mon, 16 Nov 1998 12:59:22 +0000 (12:59 +0000)]
* login.c (login_get_kconf): Also test whether *kconf_val is null
rather than just kconf_val before passing *kconf_val to
conf_affirmative (where strcasecmp will choke on it
if it is in fact null).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11039
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 03:45:05 +0000 (03:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Build the test script prtest for doing regression test
suites of the profile library.
prof_err.et (PROF_MAGIC_ITERATOR): Add a new error code for the magic
number for the iterator structure.
prof_file.c (profile_update_file): Increment the update serial number
when the profile file is re-read.
prof_tree.c (profile_make_node_final, profile_is_node_final): Add a
new attribute for a node, which is whether or not the node is "final".
This controls whether or not the next profile file should be searched
when looking up a key which matches the section named by the node.
(profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator): New functions which take a profile_t and
returns all of the names or values for a particular search key. This
iterator follows the rules of doing multiple profile file lookups
using the "final node" marker to stop searching subsequent profile
files.
prof_parse.c (parse_std_line): Add support for marking top level
sections, subsections, and individual nodes as final, using the '*'
character.
(dump_profile_to_file): Print finalized sections with the '*'
character.
prof_get.c: Update routines to use the iterators provided by
prof_tree.c.
prof_int.c: Add upd_serial member to the prf_file_t structure. Define
the symbolic flags used by the profile node iterator. Add function
declarations for profile_make_node_final, profile_is_node_final,
profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator, and profile_get_value.
test_profile.c: Add the query1 command which tests profile_get_value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11038
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:45:20 +0000 (02:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS
definition to control the directories which are recursively descended
by the Makefile.
configure.in: Folded tests from krb5 and kerberosIV directories into
this configure.in file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11037
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:44:40 +0000 (02:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
configure.in: Removed and tests moved to parent directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11036
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:44:30 +0000 (02:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
configure.in: Removed and tests moved to parent directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11035
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:34:21 +0000 (21:34 +0000)]
Fix broken thisconfdir and mydir lines in Makefile.in's. Forgot to
adjust them after consildating the configure.in scripts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11034
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:11:00 +0000 (21:11 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11033
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:10:39 +0000 (21:10 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS
definition to control the directories which are recursively descended
by the Makefile.
configure.in: Fold the autoconf tests from the sample, simple,
gss-sample, and user_user directories into this higher-level
configure.in file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11032
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:09:42 +0000 (21:09 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11031
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:08:45 +0000 (21:08 +0000)]
configure.in: Removed and tests moved up to appl/configure.in
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11030
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:05:20 +0000 (21:05 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11029
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:49:01 +0000 (20:49 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Add test for the fcntl.h header file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11028
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:47:18 +0000 (20:47 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
Also added a note to the ChangeLog indicating that we changed
lock_file.c to check for HAVE_FCNTL_H and defined(F_SETLKW) and
defined(F_RDLCK) instead of POSIX_FILE_LOCKS (so we can get rid of a
non-standard autoconf symbol.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11027
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:44:06 +0000 (20:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Remove KRB5_POSIX_LOCKS test.
win_store.c (krb__get_srvtabname):
g_cnffile.c: Use krb5__krb4_context instead of init'ing and free'ing a
krb5_context each time we need to read data from the configuration
file. We also define krb5__krb4_context in g_cnnfile.c, since it's a
likely that any use of the krb4 library will pull in that file.
tf_util.c (tf_init): Use krb5_lock_file instead of trying to roll our
own flock emulation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11026
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:35:51 +0000 (20:35 +0000)]
Add a declaration for the global variable krb5__krb4_context, which is
used by the krb4 routines that need to call krb5 library routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11025
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:33:59 +0000 (20:33 +0000)]
Fix bug where if the fcntl-style lock succeeded, we should return
immediately instead of trying to do flock-style locking.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11024
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 19:36:33 +0000 (19:36 +0000)]
If $(MY_SUBDIRS) is non-NULL use it instead of $(SUBDIRS) to control
which directories are iterated over. (This is needed so we can fold a
directory's configure.in scripts into the parent's configure.in
without having to move all of its siblings as well into the parent
directory's configure.in.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11023
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 12 Nov 1998 22:21:20 +0000 (22:21 +0000)]
* Makefile.in (STLIBOBJS, OBJS, SRCS): Restore des.c
* des.c: Restore des_ecb_encrypt and make it use the cbc
interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11022
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:32:53 +0000 (15:32 +0000)]
Fixes to build out of source tree
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11020
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:06:01 +0000 (15:06 +0000)]
* gssftp.exp: Changes to deal with new text messages in ftp/ftpd
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11019
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:04:02 +0000 (15:04 +0000)]
* k5unseal.c (kg2_unwrap_integ): Handle case of malloc(0)
returning NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11018
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Nov 1998 21:51:29 +0000 (21:51 +0000)]
Fixed filename uniqueness problems by renaming all of the *.c files
to be hash_*.c files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11017
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Thu, 5 Nov 1998 19:35:54 +0000 (19:35 +0000)]
Fixed places where code didn't follow CCache API. Integrated some stuff from Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11016
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Thu, 5 Nov 1998 08:06:53 +0000 (08:06 +0000)]
* prof_init.c (profile_init): Fix a problem whereby if the last
pathname in a list of pathnames was nonexistent, an
error would be returned that they were all nonexistent.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11015
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Nov 1998 04:36:48 +0000 (04:36 +0000)]
Make sure filenames are unique across all of the krb5 directories. Renamed
all of the */encrypt.c and */decrypt.c files to {dk,raw,old}_{en,de}crypt.c.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11014
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 23:02:29 +0000 (23:02 +0000)]
Ignore kerbsrc.tar, kerbsrc.zip, etc. files which are created in the
source tree as a result of building the snapshots for Windows and Macintosh
development.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11013
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 22:57:00 +0000 (22:57 +0000)]
aclocal.m4 (AC_PROG_LEX): Autoconf "fixed" AC_PROG_LEX long ago. Our
own local version is no longer necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11012
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 22:49:25 +0000 (22:49 +0000)]
Makefile.in: Added prof_get.c to the list of files to be compiled
profile.hin: Added declarations for profile_free_list(),
profile_get_relation_names(), and profile_get_subsection_names().
(These are new public interfaces to the profile library.)
prof_int.h: Removed the profile_section_t structure, which was used
only by the now-defunct prof_section.c file. Added the internal
interfaces for the new public interfaces. Removed unused declarations
which were never implemented(profile_get, profile_update).
prof_init.c: Moved all of the profile querying functions
(profile_get_values(), profile_get_value(), etc.) to prof_get.c. In
the process, removed the really bletcherous (and badly implemented)
profile_get_first_values(), which did nothing like what the named
implied. Also added to prof_get.c new functions
profile_get_subsection_names() and profile_get_relation_names().
(profile_ser_internalize): Rewrote error handling to be clearer, and
removed a bug where memory was not freed correctly in an error case.
(profile_init): If a list of pathnames is passed in, profile_init will
now try to open all of them, now that we've defined query fallback
semantics in prof_get.c
prof_parse.c: Fix lint warning.
prof_tree.c (profile_find_node_relation,
profile_find_node_subsection): Allow the returned value or subsection
field to be NULL (in case the caller isn't interested in getting the
returned value or subsection, and only cares about getting the name).
(profile_delete_node_relation, profile_delete_interior_node_relation):
Removed these functions and replaced it with profile_remove_node(),
which takes a boolean argument section_flag.
(profile_find_node_name): Removed this function. (This was a
Cygnus/Fusion special used by the now removed
profile_find_first_values() function.)
test_profile.c: Added commands to test the new
profile_get_subsection_names() and profile_get_relation_names()
interfaces.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11011
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 3 Nov 1998 21:28:40 +0000 (21:28 +0000)]
* dump.c: Fix up to work with new crypto API
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11010
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 21:27:35 +0000 (21:27 +0000)]
lock_file.c (krb5_lock_file): Move the flock() fallback code from
fcc_maybe.c into krb5_lock_file(). This works around the bug that
certain lossy operating systems (mainly from our good friends at
SunSoft) do not support POSIX_FILE_LOCKS on all filesystems (namely
tmpfs) but do support flock on those filesystems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11009
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 3 Nov 1998 00:01:02 +0000 (00:01 +0000)]
* str_conv.c: Remove krb5_cksumtype_to_string after merge
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11008
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 2 Nov 1998 21:23:11 +0000 (21:23 +0000)]
resurrect
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11007
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 2 Nov 1998 20:40:55 +0000 (20:40 +0000)]
ressurect files missed by merge
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11006
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:24:38 +0000 (03:24 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11004
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:18:00 +0000 (03:18 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11003
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:12:12 +0000 (03:12 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11002
dc483132-0cff-0310-8789-
dd5450dbe970