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
Sam Hartman [Sun, 10 Nov 1996 02:27:12 +0000 (02:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9357,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9358
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 10 Nov 1996 01:33:50 +0000 (01:33 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9354,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9355
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 9 Nov 1996 21:12:38 +0000 (21:12 +0000)]
* t_krb5.conf: Dummy krb5.conf file from the krb5 library
* Makefile.in (check): Set KRB5_CONFIG to a valid krb5.conf file.
* t_kdb.c (do_testing): Check return value from krb5_init_context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9353
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 9 Nov 1996 19:27:37 +0000 (19:27 +0000)]
* Makefile.in (check-unix): Invoking t_ser requires that
KRB5_CONFIG points to a valid krb5.conf
* t_ser.c (main): If verbose flag is set and there is an error,
display error message.
This would not have been noticed on a system with a valid /etc/krb5.conf...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9352
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sat, 9 Nov 1996 16:00:02 +0000 (16:00 +0000)]
Fix so login.c compiles with krb4 support.
[krb5-appl/148]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9351
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sat, 9 Nov 1996 14:25:35 +0000 (14:25 +0000)]
Build and install send-pr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9350
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:46:52 +0000 (22:46 +0000)]
update_utmp.c (pty_update_utmp): Add code which attempts to compensate
for systems that don't have getutmpx()
configure.in: Check for getutmpx(). Replace calls to AC_FUNC_CHECK
with AC_HAVE_FUNCS().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9349
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:44:52 +0000 (22:44 +0000)]
Makefile.tmpl: Add in version resource
version.r: New file, containing the version resource.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9348
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:43:39 +0000 (22:43 +0000)]
Remove erroneous changelog entry that should have been entered in
src/lib/krb5/ChangeLog instead.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9347
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:43:05 +0000 (22:43 +0000)]
Check to see if the -lgen library exists; if so, add it to the
SHLIB_LIBS line, since it will be needed by an_to_ln.c, in all
probability.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9346
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:28:43 +0000 (22:28 +0000)]
Check the error return from krb5_init_context(), and print an error
message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9345
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:27:23 +0000 (22:27 +0000)]
Check the error return from krb5_init_context(), and print an error
message if necessary.
Clean up gcc -Wall warnings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9344
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:21:35 +0000 (22:21 +0000)]
movemail.c (main): Check the error return from krb5_init_context(),
and print an error message if necessary.
Cleaned up gcc -Wall warnings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9343
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:20:54 +0000 (22:20 +0000)]
poplib.c, mailquery.c: Cleaned up gcc -Wall warnings
poplib.c (pop_init): Check the error return from krb5_init_context(),
and print an error message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9342
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 8 Nov 1996 22:19:36 +0000 (22:19 +0000)]
Check return value of krb5_init_context()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9341
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 8 Nov 1996 18:18:19 +0000 (18:18 +0000)]
* mkrel: Fix to work with new modules definitions because cvs
export -d foo doesn't dtrt.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9340
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 8 Nov 1996 04:56:09 +0000 (04:56 +0000)]
* aclocal.m4 (LinkFileDir, LinkFile): AC_REQUIRE the AC_LN_S macro
to avoid gratuitous rechecks.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9339
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 8 Nov 1996 02:19:35 +0000 (02:19 +0000)]
Remove calls to macros that are a part of CONFIG_RULES;
see ChangeLogs for details
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9338
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 21:43:14 +0000 (21:43 +0000)]
* svr_iters.c (glob_to_regexp): a principal glob with no @
defaults to @*, not @LOCAL.REAM [krb5-admin/161]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9337
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 7 Nov 1996 21:21:23 +0000 (21:21 +0000)]
* Makefile.in (server.o): Fix typo in previous checkin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9336
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 20:16:21 +0000 (20:16 +0000)]
Fix stupid typo in previous checkin
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9335
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 19:38:26 +0000 (19:38 +0000)]
Use single quotes around @KRB5_RUN_ENV@ so that bash doesn't try to
expand $(TOPLIBD) in the echo line.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9334
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 19:28:03 +0000 (19:28 +0000)]
Correctly build the file lists for the Macintosh 68K and PPC object
file lists.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9333
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 19:15:15 +0000 (19:15 +0000)]
(unparse_err): add new finer-grained conf file error codes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9332
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 19:14:33 +0000 (19:14 +0000)]
add new conf file error codes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9331
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 19:14:08 +0000 (19:14 +0000)]
add init test #154
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9330
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 19:13:39 +0000 (19:13 +0000)]
* api.2/init-v2.exp: update tests for new init error codes and
get_config_params behavior when KDC_PROFILE does not exist
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9329
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 19:04:42 +0000 (19:04 +0000)]
lib.t moved to lib/lib.t
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9328
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 18:37:35 +0000 (18:37 +0000)]
Make the KRB5_CONFIG_CANTOPEN and
KRB5_CONFIG_BADFORMAT error messages more clear that the
problem is with the _Kerberos_ configuration file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9327
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 18:10:09 +0000 (18:10 +0000)]
* tcl_kadm5.c: don't assume tl_data_contents is null-terminated,
and zero allocated princ before parsing it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9326
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Thu, 7 Nov 1996 18:03:11 +0000 (18:03 +0000)]
* api.2/mod-principal-v2.exp: provide finer-grained test numbers
in case of failure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9325
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:33:58 +0000 (17:33 +0000)]
Fixed mangled copyright notice
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9324
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:31:20 +0000 (17:31 +0000)]
kdc_preauth.c (check_padata): Fixed error handling; in order for
check_preauth to return successfully, there must be at least one
preauth which succeeded, and no REQUIRED preauth system which failed.
If a preauth is marked SUFFICIENT, then the rest of the preauth list
aren't checked. Fixed bug where when none of the preauth types were
recognized, an error message corresponding to stack garbage was
printed.
main.c (argv): Check the error return from krb5_init_context(), and
print an error message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9323
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:14:53 +0000 (17:14 +0000)]
New error codes for KADM5_MISSING_CONF_PARAMS and
KADM5_BAD_SERVER_NAME.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9322
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:13:44 +0000 (17:13 +0000)]
client_init.c (_kadm5_init_any): Use a more fined grained error code,
KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT
(_kadm5_init_any): Use a more fined grained error code,
KADM5_BAD_SERVER_NAME, instead of KRB5_CONFIG_BADFORMAT.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9321
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:12:56 +0000 (17:12 +0000)]
server_init.c (kadm5_init): Use a more fined grained error code,
KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9320
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:11:19 +0000 (17:11 +0000)]
alt_prof.c (krb5_aprof_init): If the user specifies the config file
using a configuration file, it must exist. Otherwise,
krb5_aprof_init will return an error.
(kadm5_get_config_params): If aprof_init returns an error, it should
return an error as well.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9319
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:09:18 +0000 (17:09 +0000)]
Eliminate extra files not needed for Macintosh and Windows. (This
directory is only used for Windows and Macintosh at this point.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9318
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:07:03 +0000 (17:07 +0000)]
login.c (destroy_tickets): Just use global kcontext instead
of creating a new krb5 context for no good reason.
krshd.c (main):
krsh.c (main):
krlogind.c (main):
krlogin.c (main):
krcp.c(main): Check the error return from krb5_init_context(),
and print an error message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9317
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:05:50 +0000 (17:05 +0000)]
Check the error return from krb5_init_context(), and print an error
message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9316
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:04:14 +0000 (17:04 +0000)]
Check the error return from krb5_init_context(), and print an error
message if neceesary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9315
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:02:40 +0000 (17:02 +0000)]
Check the return code from krb5_init_context, and print an error
message if appropriate. No longer call krb5_init_ets(), as it's no
longer necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9314
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 7 Nov 1996 17:00:05 +0000 (17:00 +0000)]
(initialize_realms): Remove rather pointless use of krb5.conf to find
the kdc.conf used to get the default port list. It's not useful for
anything else, and will just confuse people.
(init_realm): Reformat function to be readable. Add error checking to
call of krb5_read_realm_params.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9313
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 7 Nov 1996 16:46:23 +0000 (16:46 +0000)]
* client_principal.c (kadm5_get_principal,
kadm5_modify_principal): For a V1 request, copy only the
memory that is allocated for the incomming principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9312
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 7 Nov 1996 16:39:06 +0000 (16:39 +0000)]
* tcl_kadm5.c (parse_keysalts, parse_tl_data): Do not free memory
twice.
* Makefile.in: Use $(LD) instead of $(CC) for linking.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9311
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 7 Nov 1996 01:32:43 +0000 (01:32 +0000)]
* gssftp.exp: Check for "foo: No such file or directory" in
addition to "foo not found".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9310
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 6 Nov 1996 23:18:46 +0000 (23:18 +0000)]
* kadm_rpc_xdr.c (xdr_krb5_principal): handle a NULL principal
pointer (this can happen when get_principal is passed a mask
without KADM5_PRINCIPAL in it, and will cause a beta 7 kadmind to
coredump)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9309
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 6 Nov 1996 23:18:20 +0000 (23:18 +0000)]
* lib/lib.t: global $test everywhere it is used
* api.2/mod-principal-v2.exp: init to kadmin/admin, not
kadmin/changepw; specify real principal, not null (obviously I
never ran these tests via the client library before)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9308
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 Nov 1996 21:25:55 +0000 (21:25 +0000)]
Don't ignore errors found from parsing the config file. Currently, we
return an error if the profile isn't found. In the future we can
maybe do something better with intelligent defaulting if krb5.conf
doesn't exist, but we don't have this today.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9307
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Wed, 6 Nov 1996 21:22:52 +0000 (21:22 +0000)]
* svr_principal.c (kadm5_modify_principal): don't free the
caller's tl_data (oops)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9306
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 6 Nov 1996 21:16:09 +0000 (21:16 +0000)]
* Makefile.in: Add dependencies on $(srcdir)/foo.c so that some
makes can deal with VPATH properly (e.g. NetBSD pmake)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9305
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 Nov 1996 19:05:20 +0000 (19:05 +0000)]
Initialize the error tables, so applications don't need to call
krb5_init_ets().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9304
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 6 Nov 1996 14:24:47 +0000 (14:24 +0000)]
We don't need the special case for linux anymore, since we're
including the output from rpcgen in the source tree now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9303
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 6 Nov 1996 00:28:57 +0000 (00:28 +0000)]
* Makefile.in (HDRS): Changes so that $(OBJS) will not get
recompiled gratuitously if someone touches the include directory.
* configure.in: Revert previous change re: CopySrcHeader.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9302
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 5 Nov 1996 23:46:02 +0000 (23:46 +0000)]
* configure.in: Revert removal of CopySrcHeader, etc., for now
* Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also
remove dependency of $(HDRS) on $(HDRDIR). Both of these to avoid
unecessary copying.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9301
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 5 Nov 1996 22:29:23 +0000 (22:29 +0000)]
* Makefile.in (install-recurse): Add dependency of install-recurse
on install-mkdirs to force directories to be made first.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9300
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 5 Nov 1996 21:24:33 +0000 (21:24 +0000)]
* admin_server.c: use params.admin_keytab instead of a hard-coded
value [krb5-admin/30]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9299
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 5 Nov 1996 21:17:45 +0000 (21:17 +0000)]
minor fix to verification of specified load version (autodetect code
already worked properly)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9298
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Tue, 5 Nov 1996 21:15:03 +0000 (21:15 +0000)]
* install.texinfo (Upgrading existing Master and Slave KDCs to the
current release): added section on upgrading to new db format with
dump/load [krb5-doc/119]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9297
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 5 Nov 1996 13:10:32 +0000 (13:10 +0000)]
* serialize.c (krb5_register_serializer): Do not free a NULL pointer
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9296
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 5 Nov 1996 13:08:45 +0000 (13:08 +0000)]
kadmin/testing/tcl/util.t is in the source tree and not the build tree.
(This was initially missed by me as I had a symlink in my tree)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9295
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 5 Nov 1996 05:14:20 +0000 (05:14 +0000)]
Accept either ';' or '#' on the first line of a string as a comment
character.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9294
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 4 Nov 1996 22:08:49 +0000 (22:08 +0000)]
* admin.texinfo (Adding or Modifying Principals): update kadmin
"default" policy semantics [krb5-doc/84]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9293
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 4 Nov 1996 21:51:49 +0000 (21:51 +0000)]
* install.texinfo: various minor comments from jhawk [krb5-doc/55]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9292
dc483132-0cff-0310-8789-
dd5450dbe970
Barry Jaspan [Mon, 4 Nov 1996 21:36:55 +0000 (21:36 +0000)]
recurse into unit-test
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9291
dc483132-0cff-0310-8789-
dd5450dbe970