Theodore Tso [Sat, 21 Dec 1996 08:35:21 +0000 (08:35 +0000)]
Remove (under #ifdef) mention of calling Cygnus Support for support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9677
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 08:33:28 +0000 (08:33 +0000)]
Fixed other problems found when renaming program from cns.exe to krb5.exe
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9676
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 08:15:50 +0000 (08:15 +0000)]
krb5.def: New file, copied from cns.def, with Cygnus'isms #ifdef'ed
out.
cns.c: Removed text "Contacting Cygnus Support for support" from
the "about" box.
Makefile.in: Change name of cns.exe to be krb5.exe (CNS is a
Cygnus trademark)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9675
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 07:20:44 +0000 (07:20 +0000)]
brand.c: New file, which allows a release engineer to "brand" the krb5
library or a binary application program statically linked against the
krb5 library. This file is statically included by init_ctx.c, to
force it be in a binary library or application program.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9674
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 06:49:41 +0000 (06:49 +0000)]
Checked in changes from Marshall
kconfig.c: Added time-bomb code.
kconfig.rsrc: Added alert resources for time bomb display. Version
number bumbed up, timebomb resources moved out.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9673
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 06:47:32 +0000 (06:47 +0000)]
Checked in Macintosh changes from Marshall
GSSforSAP.r: Moved resources for the timebomb out to Rez format for
easier CVSing
macSAPglue.c (__initializeSAPglue): Added new conditions to the
timebomb code so that it can identify individual applications and not
just fail globally.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9672
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 06:35:49 +0000 (06:35 +0000)]
Use new call krb5_vercheck() for Windows timebomb checking; this call
returns an error code, which is returned to the user if the timebomb
should be activated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9671
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 21 Dec 1996 06:35:11 +0000 (06:35 +0000)]
Change the timebomb to be June 1, 1997. Make the timebomb exit the
application more gracefully.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9670
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 20 Dec 1996 23:25:07 +0000 (23:25 +0000)]
Change name of library in file to be krb5_16.def [PR#302]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9669
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 20 Dec 1996 23:08:52 +0000 (23:08 +0000)]
Automatically make the mac-bin-dirs target so that the binary
directories are correctly created.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9668
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 17 Dec 1996 23:14:11 +0000 (23:14 +0000)]
* getsyms: Don't echo filename if there are no bad symbols
* getsyms.sed: Fixup to handle long comments somewhat more
gracefully.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9639
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 17 Dec 1996 22:10:10 +0000 (22:10 +0000)]
Do not compare an int to NULL. Under Linux, warning about a pointer to int
comparision.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9638
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 17 Dec 1996 18:54:22 +0000 (18:54 +0000)]
Fix expire time in the text resource to be June 1, 1997
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9637
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Dec 1996 19:58:59 +0000 (19:58 +0000)]
Change the timebomb date to be June 1, 1997
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9634
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Dec 1996 19:57:13 +0000 (19:57 +0000)]
Added the error codes KRB5_APPL_EXPIRED and KRB5_LIB_EXPIRED
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9633
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Dec 1996 19:28:16 +0000 (19:28 +0000)]
Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*
include the doc subtree!!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 9 Dec 1996 20:59:13 +0000 (20:59 +0000)]
* api.0/init.exp, api.2/init.exp: use spawn/expect instead of exec
so tests don't fail when kadmin.local produces output
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9630
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 9 Dec 1996 02:41:13 +0000 (02:41 +0000)]
Update to not install install-sid
as there is no easy way of making it deal with krb5-send-pr. [287]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9627
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 9 Dec 1996 02:35:23 +0000 (02:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9624,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9625
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 4 Dec 1996 20:29:55 +0000 (20:29 +0000)]
* ovsec_kadmd.c (main): fix duplicated error strings
[krb5-admin/234]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9602
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 4 Dec 1996 18:07:12 +0000 (18:07 +0000)]
* acquire_cred.c (acquire_accept_cred): use krb5_kt_get_entry
instead of scanning through keytab to find matching principal
[krb5-libs/210]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9601
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 4 Dec 1996 17:47:19 +0000 (17:47 +0000)]
* Various changes to allow channel bindings to work with both UDP
and TCP cleanly [krb5-libs/180]:
* auth_gssapi.c: remove the special-case exception to channel
bindings failure added in the previous revision, since we now
solve the problem by making channel bindings not fail
* clnt_udp.c: use a connected socket so that the client can
determine its own source address with getsockname
* svc.h: add xp_laddr and xp_laddrlen fields to SVCXPRT structure
* svc_tcp.c: set xp_laddr and xp_laddrlen when a connection is
established
* svc_udp.c (svcudp_recv): use recvmsg with MSG_PEEK followed by
recvfrom in order to determine both source and dest address on
unconnected UDP socket, set xp_laddr and xp_laddrlen
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9600
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 3 Dec 1996 21:05:21 +0000 (21:05 +0000)]
* kdb5_util.c: fix multiply defined globals [krb5-admin/260]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9598
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 3 Dec 1996 20:40:42 +0000 (20:40 +0000)]
* kadmin.c (kadmin_addprinc): print warning/notice about no policy
and default policy [krb5-admin/252]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9597
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 3 Dec 1996 20:29:35 +0000 (20:29 +0000)]
* init_db: be verbose when $SRVTCL doesn't exist, instead of just
failing [krb5-admin/245]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9596
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 3 Dec 1996 20:15:59 +0000 (20:15 +0000)]
* server_acl.c (acl_load_acl_file): log errors via
krb5_klog_syslog, not fprintf and com_err [krb5-admin/238]; don't
coredump when an acl line is too long; handle catchall_entry ==
NULL
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9595
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Sat, 23 Nov 1996 22:37:33 +0000 (22:37 +0000)]
* [krb5-libs/149] only generate requests that you can actually
handle.
Tue Sep 3 22:53:56 1996 Mark Eichin <eichin@cygnus.com>
* kdc_preauth.c (get_preauth_hint_list): detect ap->get_edata
return status and don't pass back hint if it failed.
(get_etype_info): malloc one more word in entry for end marker.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9543
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Fri, 22 Nov 1996 22:07:28 +0000 (22:07 +0000)]
Do not link shared against -ldb. Tom and I decided this should wait
until after 1.0. [224]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9524
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Fri, 22 Nov 1996 14:00:05 +0000 (14:00 +0000)]
The trunk should be dead;
we are using the import branch as default.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9514
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Fri, 22 Nov 1996 13:58:39 +0000 (13:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9511,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9512
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Wed, 20 Nov 1996 23:00:07 +0000 (23:00 +0000)]
Apply patch from shadow@andrew.cmu.edu to fix a bug I fixed
for krb5 if compiled with Kerberos support; we don't support that,
but applying the patch was easier than removing the code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9445
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 19 Nov 1996 01:57:53 +0000 (01:57 +0000)]
Remove the popper, mailquery, and movemail directories
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9428
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 19 Nov 1996 01:53:48 +0000 (01:53 +0000)]
Removing old POP applications
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9427
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 19 Nov 1996 00:36:57 +0000 (00:36 +0000)]
rc_dfl.c: Apply jik's fix to allow the expunging of the replay cache
to happen correctly. [174,132]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9426
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 18 Nov 1996 17:41:36 +0000 (17:41 +0000)]
*gssapi.h: Renamed to gssapi.hin
* gssapi.hin: Remove #ifdef USE_AUTOCONF_H; we're grepping symbols
directly from autoconf.h now.
* configure.in: Change CopySrcHeader to CopyHeader, as gssapi.h is
now generated in the build tree.
* Makefile.in: Add rules to generate gssapi.h from gssapi.hin,
similar to how krb5.h is generated from krb5.hin. Remove
-DUSE_AUTOCONF_H from $(CFLAGS)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9425
dc483132-0cff-0310-8789-
dd5450dbe970
Jeff Bigler [Fri, 15 Nov 1996 23:24:14 +0000 (23:24 +0000)]
Brought reasonable krb425.texinfo over from Cygnus. Added section to
Makefile to make v4-to-v5 guide.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9424
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 15 Nov 1996 17:21:24 +0000 (17:21 +0000)]
* user-guide.texinfo: Changes to put copyright page in its own
node in the info file.
* install.texinfo: Changes to put copyright page in its own node
in the info file.
* admin.texinfo: Changes to put copyright page in its own node in
the info file, plus more krb5.keytab name updates.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9423
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 15 Nov 1996 13:40:31 +0000 (13:40 +0000)]
* update_utmp.c (pty_update_utmp): Handle case where utmp uses
ut_exit.e_exit and utmpx uses ut_exit.ut_exit.
* configure.in (UT_EXIT_STRUCTURE_DIFFER): If utmpx.h exists, and
getutmpx does not exist then test if the ut_exit part of
the utmp/utmpx structure is a structure and if their types
differ. (e_exit vs. ut_exit).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9422
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 15 Nov 1996 05:08:52 +0000 (05:08 +0000)]
* install.texinfo (The Keytab File):
(Extract Host Keytabs for the KDCs):
(The Keytab File):
(Some Advice about Secure Hosts): Update filename to krb5.keytab.
(Upgrading the application servers): Add node to explain keytab
rename.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9421
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 15 Nov 1996 04:09:24 +0000 (04:09 +0000)]
* krb5.conf.M: Note change in default_keytab_name
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9420
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 15 Nov 1996 03:27:49 +0000 (03:27 +0000)]
* server.c (main): Add declaration of optind for systems that
don't have it in stdio.h or the like.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9419
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 15 Nov 1996 02:21:23 +0000 (02:21 +0000)]
asn1_k_encode.c (asn1_encode_principal_name): Be liberal about
accepting a principal with a zero-length component where the data
pointer is NULL. After all, asn1_decode_principal_name generates them
that way! [PR#188]
(asn1_encode_encrypted_data):
(asn1_encode_krb5_authdata_elt):
(asn1_encode_encryption_key):
(asn1_encode_checksum):
(asn1_encode_realm): If the length is zero, allow the data field to be NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9418
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 14 Nov 1996 20:30:35 +0000 (20:30 +0000)]
* env-setup.shin, init_db, save_files.sh, start_servers,
start_servers_local, stop_servers, stop_servers_local: move
VERBOSE_TEST -> VERBOSE logic to env-setup.sh, make everything
else inherit from it, and fix the sense of the test (Tom got it
backwards); also fix init_db so that kdb5_util create is not
always verbose
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9417
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 14 Nov 1996 20:27:40 +0000 (20:27 +0000)]
* rpc_test_setup.sh: VERBOSE is now inherited from env-setup.sh
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9416
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 14 Nov 1996 20:20:43 +0000 (20:20 +0000)]
* telnet.exp: telnet may output fqdn in upper-case
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9415
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 Nov 1996 19:53:33 +0000 (19:53 +0000)]
sys_bsd.c(intr): Added checks to intr_waiting and intr_happened to
handle ^C while waiting for encryption negotiation.
telnet.c (telnet): Allow ^C to work while waiting for encryption
negotiation to finish. [telnet/64]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9414
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 14 Nov 1996 19:31:03 +0000 (19:31 +0000)]
* krcp.c: don't print our own error message if kcmd returns -1 (it
always printed something in that case, and error_message(-1)
prints a mess [krb5-appl/70]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9413
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 14 Nov 1996 19:25:10 +0000 (19:25 +0000)]
krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test to
change the sample principal value (to test encoding of
different krb5 principals).
ktest.c (ktest_make_sample_principal): Use krb5_parse_principal so
that sample principal can be configured for different purposes.
krb5_decode_test.c (main):
krb5_encode_test.c (main): Check return value from krb5_init_context to
make sure it succeeded.
Makefile.in (check): Set KRB5_CONFIG to $(TOPSRC)/config-files/krb5.conf
so that the tests work.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9412
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 14 Nov 1996 04:59:23 +0000 (04:59 +0000)]
* osconf.h (DEFAULT_KEYTAB_NAME): Change DOS version of this to
FILE:%s\\krb5kt to match "krb5cc".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9411
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 14 Nov 1996 04:44:54 +0000 (04:44 +0000)]
* osconfig.c: Add warning re: global variables
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9410
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 14 Nov 1996 00:34:21 +0000 (00:34 +0000)]
make clean was missing some things; see ChangeLogs for details
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9409
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 22:27:36 +0000 (22:27 +0000)]
* env-setup.shin: Explicitly set KRB5CCNAME so the user's ccache
doesn't get blown away.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9408
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 21:05:00 +0000 (21:05 +0000)]
revert kt_default_name changes; see ChangeLogs for details
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9407
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 13 Nov 1996 20:17:58 +0000 (20:17 +0000)]
* install.texinfo (kdc.conf): remove profile relation from
krb5.conf and kdc.conf [PR 124]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9406
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 13 Nov 1996 20:17:05 +0000 (20:17 +0000)]
* kdc.conf: remove profile, admin database_name, and admin
lockfile relations [PR 124]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9405
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 13 Nov 1996 15:00:51 +0000 (15:00 +0000)]
clean: Remove test programs and objects
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9404
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 13 Nov 1996 14:55:58 +0000 (14:55 +0000)]
On make clean, remove built programs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9403
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 07:54:27 +0000 (07:54 +0000)]
* ktdefname.c (krb5_kt_default_name): Fix a few memory-leak type
problems in previous changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9402
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 13 Nov 1996 05:21:16 +0000 (05:21 +0000)]
* dump.c (load_db): lock the database directly (having fixed the
lock/unlock code) to avoid reopening on every record.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9401
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 13 Nov 1996 04:51:48 +0000 (04:51 +0000)]
* kdb_dbm.c: Ditch DB_OPENCLOSE conditionals, and fix the real
problem. Like the policy db, the main db is now opened on first
lock and closed on last unlock.
Set db_dbm_ctx to NULL after closing it, to help detect dangling
references.
(krb5_dbm_db_put_principal, krb5_dbm_db_delete_principal):
KDBM_STORE can fail (in case of database corruption, for example)
*without* causing errno to be set. If errno is zero, use
KRB5_KDB_DB_CORRUPT instead. (If it is non-zero, it may still be
wrong, but at least something gets reported. This will be properly
fixed by ditching KDBM_* altogether, and using the non-lossy db
interfaces, so it's a good enough fix for now.)
(krb5_dbm_db_rename): grab errno from rename *before*
calling krb5_dbm_db_end_update, to avoid "not a typewriter"
syndrome.
(krb5_dbm_db_unlock): only close on zero refcount.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9400
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:49:55 +0000 (03:49 +0000)]
* osconfig.c: Remove krb5_defkeyname to catch other things that
may break.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9399
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:48:52 +0000 (03:48 +0000)]
* init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name
to NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9398
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:37:38 +0000 (03:37 +0000)]
* ktdefname.c (krb5_kt_default_name): Change logic to no longer
use a global variable; also add krb5_kt_set_default_name() to
allow for the changing of the default keytab name in the context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9397
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:37:07 +0000 (03:37 +0000)]
* init_ctx.c (krb5_free_context): Free kt_default_name if it's
non-NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9396
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:36:33 +0000 (03:36 +0000)]
* ovsec_kadmd.c (main): Use krb5_kt_set_default_name() rather than
mucking about with global variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9395
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:35:50 +0000 (03:35 +0000)]
* keytab.c (process_keytab): Retrieve *keytab_str using
krb5_kt_default_name() to avoid global variable nastiness.
* kadmin.c (kadmin_startup): Use krb5_kt_set_default_name to
change the default keytab name rather than assigning to a library
global variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9394
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:35:25 +0000 (03:35 +0000)]
* osconf.h: Change DEFAULT_KEYTAB_NAME to /etc/krb5.keytab under
Unix.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9393
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 13 Nov 1996 03:34:54 +0000 (03:34 +0000)]
* krb5.hin: Add definition for krb5_kt_set_default_name()
* k5-int.h (struct _krb5_context): Add kt_default_name to
context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9392
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 12 Nov 1996 22:34:45 +0000 (22:34 +0000)]
* send-pr/send-pr.sh (MAIL_AGENT): change "[-x" to "[ -x"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9391
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 12 Nov 1996 21:30:25 +0000 (21:30 +0000)]
* auth_gssapi.c (auth_gssapi_create): handle channel bindings
failure so UDP connections can work [krb5-libs/180]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9390
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 12 Nov 1996 21:30:02 +0000 (21:30 +0000)]
* lib/helpers.exp, client.c, server.c, config/unix.exp,
Makefile.in: test GSS-RPC with both TCP and UDP transport layers
[krb5-libs/180]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9389
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 20:01:18 +0000 (20:01 +0000)]
* rpc_test_setup.sh: Fix test of $VERBOSE_TEST so that $VERBOSE
only gets set if $VERBOSE_TEST is not empty.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9388
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 20:01:01 +0000 (20:01 +0000)]
* init_db, save_files.sh, start_servers, start_servers_local,
stop_servers, stop_servers_local: Fix test of $VERBOSE_TEST so
that $VERBOSE only gets set if $VERBOSE_TEST is not empty.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9387
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 05:07:41 +0000 (05:07 +0000)]
* ftpd.c (ftpd_userok): Don't undconditionally return -1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9386
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 12 Nov 1996 04:58:46 +0000 (04:58 +0000)]
* krshd "plumbing" fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9385
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 12 Nov 1996 02:29:55 +0000 (02:29 +0000)]
same typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9384
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 12 Nov 1996 02:28:12 +0000 (02:28 +0000)]
fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9383
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 02:24:17 +0000 (02:24 +0000)]
* init_db, save_files.sh, start_servers_local, stop_servers,
stop_servers_local: Use temp files rather than a here document to
provide input to eval'ed commands; Ultrix sh is broken wrt here
documents redirected to eval commands.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9382
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 02:22:51 +0000 (02:22 +0000)]
missed some ChangeLogs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9381
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 12 Nov 1996 02:08:33 +0000 (02:08 +0000)]
+ dejagnu: set env(TERM) dumb, find ktutil, drain for gss, rlogin tests
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9380
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 02:05:38 +0000 (02:05 +0000)]
* rpc_test_setup.sh: Use a temp file rather than a here document
feeding into eval because Ultrix sh doesn't deal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9379
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Nov 1996 02:03:23 +0000 (02:03 +0000)]
Changes to support AC_CANONICAL_HOST for runtest flags; see
ChangeLogs for details.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9378
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Tue, 12 Nov 1996 01:28:24 +0000 (01:28 +0000)]
* kdb_cpw.c (add_key_pwd): set length to -1 so krb5_string_to_key
handles the AFS3 salttype, but then replace it with the actual
length for later processing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9377
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 11 Nov 1996 22:06:43 +0000 (22:06 +0000)]
* kdb_cpw.c (cleanup_key_data): fix memory leak [krb5-kdc/163]
(add_key_pwd): fix memory leak [krb5-kdc/164]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9376
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 11 Nov 1996 22:05:50 +0000 (22:05 +0000)]
* kadm_rpc_xdr.c: fix memory leak handling key_data and tl_data
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9375
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 11 Nov 1996 22:05:18 +0000 (22:05 +0000)]
* svr_principal.c (kadm5_modify_principal): fix memory leak
handling tl_data
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9374
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 11 Nov 1996 22:03:50 +0000 (22:03 +0000)]
* db2: overflow_page fixes, __P redef
* db2 tests: better alternate dictionary support
(orignal ChangeLogs included)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9373
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 11 Nov 1996 21:57:22 +0000 (21:57 +0000)]
* kadmin/dbutil dumpv4 expiration ("never") fixes
* kadmin/dbutil loadv4 stashfile, default fixes
(original changelogs included.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9372
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 11 Nov 1996 21:24:20 +0000 (21:24 +0000)]
* krb524d.c (do_connection): only free v4/v5 keyblock contents and
v5 ticket *once*, in cleanup branch at the end.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9371
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Mon, 11 Nov 1996 21:16:55 +0000 (21:16 +0000)]
* Makefile.in, configure.in, krshd.c, v4rcp.M, v4rcp.c: added
kerberos V4 rcp -x support from Cygnus tree.
* Makefile.in, configure.in: added support for not building v4rcp
if --without-krb4 is used.
(original ChangeLogs copied as well.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9370
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 11 Nov 1996 19:29:08 +0000 (19:29 +0000)]
* Makefile.in (client.o, server.o): client.o and server.o, not
client.c and server.c, depend on rpc_test.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9369
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 11 Nov 1996 19:28:15 +0000 (19:28 +0000)]
* start_servers, start_servers_local, init_db: Use ${FOO+bar} and
${FOO=baz} rather than ${FOO:+bar} and ${FOO:=baz} because of
Ultrix /bin/sh lossage.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9368
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 11 Nov 1996 17:46:10 +0000 (17:46 +0000)]
* install.texinfo (kdc.conf): remove admin_database_name and
lockfile fields from sample kdc.conf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9367
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 11 Nov 1996 03:08:01 +0000 (03:08 +0000)]
Several doc fixes, including those for [37]; see ChangeLog for details
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9366
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 11 Nov 1996 02:13:36 +0000 (02:13 +0000)]
Commit jhawk's patch to print IP status.
[113]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9365
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 11 Nov 1996 01:49:39 +0000 (01:49 +0000)]
Fail completely if there is no srvtab
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9364
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 10 Nov 1996 23:48:51 +0000 (23:48 +0000)]
Call gethostbyaddr over what we connect to to get the Kerberos principal to
use; if that fails, fall back on what gethostbyname returns
earlier.
[170]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9363
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 10 Nov 1996 14:56:10 +0000 (14:56 +0000)]
(setup_wrapper): Set KRB5_CONFIG in wrapper scripts
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9362
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 10 Nov 1996 14:46:49 +0000 (14:46 +0000)]
Test for tcl, Perl, and runtest and only run tests if all are present
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9361
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sun, 10 Nov 1996 08:02:17 +0000 (08:02 +0000)]
* login.c (k_init): Set up KRBTKFILE if converting krb5 tickets to
krb4 but not getting them via password.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9360
dc483132-0cff-0310-8789-
dd5450dbe970