krb5.git
22 years ago * keytab.c (krb5_ktkdb_get_entry): For consistency, check for
Tom Yu [Thu, 15 Aug 2002 20:49:08 +0000 (20:49 +0000)]
* keytab.c (krb5_ktkdb_get_entry): For consistency, check for
DISALLOW_ALL_TIX and DISALLOW_SVR when looking up keys.

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

22 years ago * kerberos_v4.c: For consistency, check for both DISALLOW_ALL_TIX
Tom Yu [Thu, 15 Aug 2002 20:48:24 +0000 (20:48 +0000)]
* kerberos_v4.c: For consistency, check for both DISALLOW_ALL_TIX
and DISALLOW_SVR when looking up services.

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

22 years ago * kvno.c (do_v4_kvno): Initialize name, inst, realm to empty
Tom Yu [Thu, 15 Aug 2002 20:20:59 +0000 (20:20 +0000)]
* kvno.c (do_v4_kvno): Initialize name, inst, realm to empty
strings.

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

22 years ago* cc_file.c (ALLOC): Use calloc, not malloc.
Ken Raeburn [Thu, 15 Aug 2002 06:59:23 +0000 (06:59 +0000)]
* cc_file.c (ALLOC): Use calloc, not malloc.
(krb5_fcc_read_principal): Check bounds on number of components before calling
ALLOC.

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

22 years ago * t_cc.c: Remove references to STDIO ccache
Tom Yu [Thu, 15 Aug 2002 06:20:51 +0000 (06:20 +0000)]
* t_cc.c: Remove references to STDIO ccache

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

22 years ago * t_ser.c (ser_ccache_test): Remove references to STDIO ccaches
Tom Yu [Thu, 15 Aug 2002 06:20:19 +0000 (06:20 +0000)]
* t_ser.c (ser_ccache_test): Remove references to STDIO ccaches

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

22 years ago* Makefile.in (EXTRADEPSRCS): New variable.
Ken Raeburn [Thu, 15 Aug 2002 01:48:33 +0000 (01:48 +0000)]
* Makefile.in (EXTRADEPSRCS): New variable.
(.d): Depend on includes.

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

22 years ago* Makefile.in (SUBDIROBJLISTS): New variable
Ken Raeburn [Thu, 15 Aug 2002 01:48:05 +0000 (01:48 +0000)]
* Makefile.in (SUBDIROBJLISTS): New variable

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

22 years ago* lib.in ($(SUBDIROBJLISTS) and .SH/.PF variants): Depend on recursion. Use
Ken Raeburn [Thu, 15 Aug 2002 01:45:55 +0000 (01:45 +0000)]
* lib.in ($(SUBDIROBJLISTS) and .SH/.PF variants): Depend on recursion.  Use
extra dummy target in case the variable is empty.
* post.in (ALL_DEP_SRCS): New variable, includes SRCS and EXTRADEPSRCS.
(.d): Depend on and use $(ALL_DEP_SRCS).
* pre.in (all-unix, all-recurse, all-postrecurse): Make each stage depend on
the previous, rather than having all-unix depend on each.

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

22 years agomissed an entry
Ken Raeburn [Thu, 15 Aug 2002 01:28:09 +0000 (01:28 +0000)]
missed an entry

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

22 years ago(NO_FILE): New macro. All functions changed to test or assign it rather than
Ken Raeburn [Thu, 15 Aug 2002 01:24:15 +0000 (01:24 +0000)]
(NO_FILE): New macro.  All functions changed to test or assign it rather than
-1 or (FILE*)NULL.
(krb5_fcc_read_keyblock, krb5_fcc_read_data): Rewrite bounds check.
(BINARY_MODE): Always define.
(setvbuf) [!HAVE_SETVBUF]: Define as macro using setbuf.
(krb5_fcc_open_file): Change file descriptor variable to "f" and combine newly
matching stdio and file sections.  Use setvbuf instead of checking whether to
use setbuf.  Fix bug in merge.

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

22 years agoupdate deps
Ken Raeburn [Thu, 15 Aug 2002 00:45:29 +0000 (00:45 +0000)]
update deps

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

22 years agoCombine file and stdio ccache implementations into one source file; selection
Ken Raeburn [Thu, 15 Aug 2002 00:43:40 +0000 (00:43 +0000)]
Combine file and stdio ccache implementations into one source file; selection
is now at compile time, rather than FILE: vs STDIO: prefix.

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

22 years ago* cc_stdio.c (krb5_fcc_next_cred): Use a krb5_error_code to hol the return
Ken Raeburn [Wed, 14 Aug 2002 22:54:11 +0000 (22:54 +0000)]
* cc_stdio.c (krb5_fcc_next_cred): Use a krb5_error_code to hol the return
value from krb5_fcc_interpret.
(krb5_fcc_get_principal): Initialize return-value variable.
(krb5_fcc_initialize): Likewise.
(krb5_fcc_interpret): Change retval to a krb5_error_code.  Reorder cases for
consistency with cc_file.c.

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

22 years agotweak comments
Ken Raeburn [Wed, 14 Aug 2002 22:50:37 +0000 (22:50 +0000)]
tweak comments

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

22 years ago * main.c: updated the usage function
Jen Selby [Wed, 14 Aug 2002 19:14:50 +0000 (19:14 +0000)]
    * main.c:  updated the usage function

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

22 years ago* dump.c: Unused file deleted
Ken Raeburn [Wed, 14 Aug 2002 19:07:33 +0000 (19:07 +0000)]
* dump.c: Unused file deleted

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

22 years ago* Makefile.in ($(HDRS)): Depend on 'includes'.
Ken Raeburn [Wed, 14 Aug 2002 19:06:22 +0000 (19:06 +0000)]
* Makefile.in ($(HDRS)): Depend on 'includes'.
(std_rqs.c): Depend on mk_cmds.

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

22 years ago * acl_files.c (canon;): Properly handle appending of the local
Tom Yu [Wed, 14 Aug 2002 03:09:53 +0000 (03:09 +0000)]
* acl_files.c (canon;): Properly handle appending of the local
realm, which was botched due to a buffer-overflow patch.

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

22 years ago * xdr.c (xdr_string): Fix off-by-one error; we're not vulnerable,
Tom Yu [Mon, 12 Aug 2002 22:41:14 +0000 (22:41 +0000)]
* xdr.c (xdr_string): Fix off-by-one error; we're not vulnerable,
since we don't call it.

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

22 years agoMiscellaneous additional shuffling (variable renaming or reordering, whitespace
Ken Raeburn [Sat, 10 Aug 2002 01:27:51 +0000 (01:27 +0000)]
Miscellaneous additional shuffling (variable renaming or reordering, whitespace
changes, deleting unused code, adding or removing braces) to make cc_file.c and
cc_stdio.c more similar.

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

22 years ago(krb5_fcc_data): Rename "fd" to "file"; change all uses
Ken Raeburn [Sat, 10 Aug 2002 00:34:33 +0000 (00:34 +0000)]
(krb5_fcc_data): Rename "fd" to "file"; change all uses

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

22 years agoChange non-external "scc" uses to "fcc".
Ken Raeburn [Sat, 10 Aug 2002 00:29:41 +0000 (00:29 +0000)]
Change non-external "scc" uses to "fcc".
(krb5_fcc_data): Rename from krb5_scc_data; reorder some fields.
(krb5_fcc_close_file): Never call fflush on a read-only file.

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

22 years agowhitespace
Ken Raeburn [Fri, 9 Aug 2002 23:48:37 +0000 (23:48 +0000)]
whitespace

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

22 years ago"krb5 v5" is redundant (in comment)
Ken Raeburn [Fri, 9 Aug 2002 23:47:50 +0000 (23:47 +0000)]
"krb5 v5" is redundant (in comment)

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

22 years agowhitespace
Ken Raeburn [Fri, 9 Aug 2002 23:37:59 +0000 (23:37 +0000)]
whitespace

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

22 years agorename krb5_scc_<fn> and krb5_scc_cursor to use krb5_fcc_ instead
Ken Raeburn [Fri, 9 Aug 2002 23:34:20 +0000 (23:34 +0000)]
rename krb5_scc_<fn> and krb5_scc_cursor to use krb5_fcc_ instead

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

22 years agohide method functions we don't need to call directly
Ken Raeburn [Fri, 9 Aug 2002 23:21:51 +0000 (23:21 +0000)]
hide method functions we don't need to call directly

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

22 years agoApply patch to
Sam Hartman [Fri, 9 Aug 2002 22:06:51 +0000 (22:06 +0000)]
Apply patch to
initialize return value in kdb5_dbe_search_enctype so etype info
works reliably

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

22 years ago* api.2/init-v2.exp (test100): Expect MISSING_KRB5_CONF_PARAMS error now
Ken Raeburn [Thu, 8 Aug 2002 22:29:46 +0000 (22:29 +0000)]
* api.2/init-v2.exp (test100): Expect MISSING_KRB5_CONF_PARAMS error now

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

22 years ago * telnetd.c: Switched the valid and user descriptions under the -a
Jen Selby [Thu, 8 Aug 2002 20:38:08 +0000 (20:38 +0000)]
    * telnetd.c: Switched the valid and user descriptions under the -a
        flag

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

22 years agoupdate comments describing file format
Ken Raeburn [Thu, 8 Aug 2002 06:52:55 +0000 (06:52 +0000)]
update comments describing file format

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

22 years ago* cr_tkt.c (krb_cr_tkt_int): Don't take key arguments any more.
Ken Raeburn [Thu, 8 Aug 2002 06:52:05 +0000 (06:52 +0000)]
* cr_tkt.c (krb_cr_tkt_int): Don't take key arguments any more.
(krb_create_ticket, krb_cr_tkt_krb5): Do the encryption here; drop NOENCRYPTION
test.

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

22 years ago* network.c (setup_port): Ignore AF_LINK addresses. Log address family number
Ken Raeburn [Thu, 8 Aug 2002 06:50:15 +0000 (06:50 +0000)]
* network.c (setup_port): Ignore AF_LINK addresses.  Log address family number
if unrecognized.

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

22 years ago* tcl_kadm5.c (unparse_err): Handle KADM5_MISSING_KRB5_CONF_PARAMS
Ken Raeburn [Wed, 7 Aug 2002 23:27:58 +0000 (23:27 +0000)]
* tcl_kadm5.c (unparse_err): Handle KADM5_MISSING_KRB5_CONF_PARAMS

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

22 years ago * klogind.M, kshd.M, login.M: changed manual sections 8c, 1c, and
Jen Selby [Wed, 7 Aug 2002 20:45:54 +0000 (20:45 +0000)]
    * klogind.M, kshd.M, login.M: changed manual sections 8c, 1c, and
        3x to 8, 1, and 3, respectively
        * rcp.M, rlogin.M, rsh.M: added references to the server manpages

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

22 years ago * configure.in: Fix sense of HAVE_RUNTEST
Tom Yu [Wed, 7 Aug 2002 05:50:25 +0000 (05:50 +0000)]
* configure.in: Fix sense of HAVE_RUNTEST

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

22 years ago * xdr_array.c (xdr_array): Account for elsize when checking
Tom Yu [Fri, 2 Aug 2002 19:28:01 +0000 (19:28 +0000)]
* xdr_array.c (xdr_array): Account for elsize when checking
encoded array count.

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

22 years ago * server_stubs.c: Check return value from unparse_name() in lots
Tom Yu [Fri, 2 Aug 2002 00:39:16 +0000 (00:39 +0000)]
* server_stubs.c: Check return value from unparse_name() in lots
of places.  Patch from Mark Levinson; fixes [krb5-admin/1140].

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

22 years ago * unparse.c (krb5_unparse_name_ext): Error out if passed a NULL
Tom Yu [Fri, 2 Aug 2002 00:38:22 +0000 (00:38 +0000)]
* unparse.c (krb5_unparse_name_ext): Error out if passed a NULL
pointer.  Patch from Mark Levinson; fixes [krb5-admin/1140].

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

22 years ago * dump.c (master_key_convert): Iterate over freeing
Tom Yu [Wed, 31 Jul 2002 23:50:02 +0000 (23:50 +0000)]
* dump.c (master_key_convert): Iterate over freeing
key_data->key_data_contents[j] rather than attempting to free
key_data->key_data_contents.

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

22 years ago * client_init.c (_kadm5_init_any): Use
Tom Yu [Wed, 31 Jul 2002 23:43:52 +0000 (23:43 +0000)]
* client_init.c (_kadm5_init_any): Use
KADM5_MISSING_KRB5_CONF_PARAMS in order to be less confusing to
someone running kadmin rather than kadmin.local.

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

22 years ago * kadm_err.et: Add KADM5_MISSING_KRB5_CONF_PARAMS, indicating a
Tom Yu [Wed, 31 Jul 2002 23:43:41 +0000 (23:43 +0000)]
* kadm_err.et: Add KADM5_MISSING_KRB5_CONF_PARAMS, indicating a
problem with krb5.conf.  This prevents confusing users who look
for kdc.conf trouble rather than krb5.conf trouble, which is what
they should be looking at on a kadm5 client.

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

22 years ago* log.c: Include stdarg.h.
Ken Raeburn [Tue, 30 Jul 2002 23:41:45 +0000 (23:41 +0000)]
* log.c: Include stdarg.h.
(krb_log): Use va_ macros and vfprintf instead of a bunch of pointer arguments.
* krb4int.h (krb_log): Declaration updated.

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

22 years agoWhen directory was deleted, Makefile.in was left behind
Ezra Peisach [Tue, 30 Jul 2002 21:32:52 +0000 (21:32 +0000)]
When directory was deleted, Makefile.in was left behind

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

22 years ago * kinit.c (ULINE): Invoke fprintf with correct number of arguments
Ezra Peisach [Tue, 30 Jul 2002 21:17:29 +0000 (21:17 +0000)]
* kinit.c (ULINE): Invoke fprintf with correct number of arguments
depending on if V4 support is compiled in or not.

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

22 years ago * kvno.c (do_v4_kvno): If not compiling with v4 support, xusage
Ezra Peisach [Tue, 30 Jul 2002 21:15:40 +0000 (21:15 +0000)]
    * kvno.c (do_v4_kvno): If not compiling with v4 support, xusage
        does not take any arguments.

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

22 years ago * kdb5_util.M: added documentation for some options.
Jen Selby [Mon, 29 Jul 2002 18:13:29 +0000 (18:13 +0000)]
    * kdb5_util.M: added documentation for some options.
        * kvno.M: added documentation of the "-q" and "-h" options.
        * kadmin.M: corrected documenation of "-k/-t" options.
        Added documentation for some other options.  Updated the lists
        of aliases for commands, some command options, and some of
        the sample output.

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

22 years ago* kvno.c: Include stdlib.h.
Ken Raeburn [Sun, 28 Jul 2002 00:36:29 +0000 (00:36 +0000)]
* kvno.c: Include stdlib.h.
(xusage): Renamed from usage; all callers changed.

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

22 years agoadd v4 support to kvno
Ken Raeburn [Fri, 26 Jul 2002 22:30:48 +0000 (22:30 +0000)]
add v4 support to kvno

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

22 years ago * krb524.h: Need to include port-sockets.h before socket-utils.h
Ezra Peisach [Wed, 24 Jul 2002 16:48:12 +0000 (16:48 +0000)]
* krb524.h: Need to include port-sockets.h before socket-utils.h
for windows for struct sockaddr_in.

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

22 years ago * localaddr.c (get_localaddrs): Add prototype before being used
Ezra Peisach [Tue, 23 Jul 2002 17:21:12 +0000 (17:21 +0000)]
* localaddr.c (get_localaddrs): Add prototype before being used
for static function.

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

22 years ago * krb524.h: Include socket-utils.h instead of port-sockets.h for
Ezra Peisach [Tue, 23 Jul 2002 17:19:29 +0000 (17:19 +0000)]
    * krb524.h: Include socket-utils.h instead of port-sockets.h for
        socklen_t definition.

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

22 years agoreimplement macosx v4-local-addr changes; untested
Ken Raeburn [Mon, 22 Jul 2002 20:45:59 +0000 (20:45 +0000)]
reimplement macosx v4-local-addr changes; untested

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

22 years ago * kdc.conf.M: added descriptions of some tags
Jen Selby [Mon, 22 Jul 2002 17:11:31 +0000 (17:11 +0000)]
    * kdc.conf.M: added descriptions of some tags
        * krb5.conf.M: added a description of the [login] section and some
        tags.

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

22 years ago * kpasswd.M: commented out the inclusion of man1/header.doc
Jen Selby [Thu, 18 Jul 2002 22:44:11 +0000 (22:44 +0000)]
    * kpasswd.M: commented out the inclusion of man1/header.doc

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

22 years ago * configure.in: Change K5_OUTPUT_FILES to K5_AC_OUTPUT (cleanup of
Ezra Peisach [Thu, 18 Jul 2002 17:47:47 +0000 (17:47 +0000)]
* configure.in: Change K5_OUTPUT_FILES to K5_AC_OUTPUT (cleanup of
obsolete macro).

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

22 years agouse @HAVE_RUNTEST@ in deciding which tests to run
Ken Raeburn [Thu, 18 Jul 2002 01:11:14 +0000 (01:11 +0000)]
use @HAVE_RUNTEST@ in deciding which tests to run

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

22 years ago* configure.in: Substitute HAVE_RUNTEST with "yes" or "no"
Ken Raeburn [Thu, 18 Jul 2002 01:10:34 +0000 (01:10 +0000)]
* configure.in: Substitute HAVE_RUNTEST with "yes" or "no"

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

22 years agodrop libdyn as a separate library
Ken Raeburn [Wed, 17 Jul 2002 22:41:23 +0000 (22:41 +0000)]
drop libdyn as a separate library

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

22 years agoremove dependence on libdyn; open-code the array manipulation
Ken Raeburn [Wed, 17 Jul 2002 22:39:18 +0000 (22:39 +0000)]
remove dependence on libdyn; open-code the array manipulation

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

22 years ago* Makefile.in (SHLIB_EXPDEPS, SHLIB_EXPLIBS): Drop references to libdyn
Ken Raeburn [Wed, 17 Jul 2002 22:13:19 +0000 (22:13 +0000)]
* Makefile.in (SHLIB_EXPDEPS, SHLIB_EXPLIBS): Drop references to libdyn

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

22 years agofold libdyn into librpc
Ken Raeburn [Wed, 17 Jul 2002 22:10:13 +0000 (22:10 +0000)]
fold libdyn into librpc

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

22 years ago * kinit.M: added documentation of the "-a" option
Jen Selby [Wed, 17 Jul 2002 22:05:02 +0000 (22:05 +0000)]
    * kinit.M: added documentation of the "-a" option

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

22 years ago* reconf: Create include/krb5/autoconf.stmp on success if it didn't already exist
Ken Raeburn [Wed, 17 Jul 2002 20:13:30 +0000 (20:13 +0000)]
* reconf: Create include/krb5/autoconf.stmp on success if it didn't already exist

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

22 years ago * gssapiP_generic.h, util_token.c (g_verify_token_header): Make
Ezra Peisach [Mon, 15 Jul 2002 17:03:31 +0000 (17:03 +0000)]
    * gssapiP_generic.h, util_token.c (g_verify_token_header): Make
        length argument a pointer to an unsigned int.

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

22 years ago * k5unseal.c (kg_unseal): Pass unsigned int * instead of int *
Ezra Peisach [Mon, 15 Jul 2002 17:03:16 +0000 (17:03 +0000)]
* k5unseal.c (kg_unseal): Pass unsigned int * instead of int *
length return argument to g_verify_token_header.

* accept_sec_context.c (krb5_gss_accept_sec_context): Pass
OM_uint32 * instead of krb5_error_code * to krb5_gss_release_cred.

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

22 years ago * gss_libinit.c (gssint_cleanup_library): Remove variable set but
Ezra Peisach [Mon, 15 Jul 2002 16:58:14 +0000 (16:58 +0000)]
* gss_libinit.c (gssint_cleanup_library): Remove variable set but
not used.

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

22 years ago * dump.c (dump_ov_princ): Remove variable set but unused
Ezra Peisach [Mon, 15 Jul 2002 16:26:12 +0000 (16:26 +0000)]
   * dump.c (dump_ov_princ): Remove variable set but unused

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

22 years ago * ktutil.c (ktutil_list): Remove variable set but not used. Also,
Ezra Peisach [Mon, 15 Jul 2002 16:25:44 +0000 (16:25 +0000)]
* ktutil.c (ktutil_list): Remove variable set but not used. Also,
do not assume that sizeof(time_t) is 32 bits.

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

22 years ago * tcl_kadm5.c: Cleanup warnings for variables set but not used.
Ezra Peisach [Mon, 15 Jul 2002 16:20:38 +0000 (16:20 +0000)]
* tcl_kadm5.c: Cleanup warnings for variables set but not used.
* tcl_ovsec_kadm.c (unparse_err): Likewise.

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

22 years ago * gss_libinit.c: Conditionalized error table loading for Mac OS X.
Tom Yu [Sun, 14 Jul 2002 22:42:33 +0000 (22:42 +0000)]
* gss_libinit.c: Conditionalized error table loading for Mac OS X.
Error tables should always be loaded on other platforms.

* gss_libinit.c: updated for Mac OS X header paths and added
include of gssapiP_krb5.h to get function prototypes.

[pullups from 1-2-2-branch]

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

22 years ago * gssapi_krb5.h: Added #include of gssapi.h and gssapi_generic.h
Tom Yu [Sun, 14 Jul 2002 22:37:52 +0000 (22:37 +0000)]
* gssapi_krb5.h: Added #include of gssapi.h and gssapi_generic.h
for the Mac because we can't assume people will include them and
get the OID macro and the old names on the Mac.

* disp_status.c: Updated Mac OS X header paths.

* gssapiP_krb5.h: Updated Mac OS X header paths and added
prototype on Mac.

* gssapi_krb5.h: Updated Mac OS X headers to new framework layout

* gssapi_krb5.h, gssapi_krb5.c: Added oids from rfc 1964 using the
suggested names.

[pullups from 1-2-2-branch]

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

22 years ago * pre.in (PTY_DEPLIB): Fix to reflect always being built static
Tom Yu [Sat, 13 Jul 2002 23:34:01 +0000 (23:34 +0000)]
* pre.in (PTY_DEPLIB): Fix to reflect always being built static

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

22 years agoDon't define DEFINE_SOCKADDR, since nothing tests it any more
Ken Raeburn [Sat, 13 Jul 2002 02:08:09 +0000 (02:08 +0000)]
Don't define DEFINE_SOCKADDR, since nothing tests it any more

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

22 years agodrop NEED_TIME_H processing in krb.h
Ken Raeburn [Sat, 13 Jul 2002 02:01:03 +0000 (02:01 +0000)]
drop NEED_TIME_H processing in krb.h

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

22 years ago* aclocal.m4 (KRB5_BUILD_LIBRARY_STATIC): Disable installation of library
Ken Raeburn [Sat, 13 Jul 2002 01:45:07 +0000 (01:45 +0000)]
* aclocal.m4 (KRB5_BUILD_LIBRARY_STATIC): Disable installation of library

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

22 years ago* pre.in (KRB5_INCSUBDIRS): Don't create the asn.1 subdirectory
Ken Raeburn [Sat, 13 Jul 2002 01:43:49 +0000 (01:43 +0000)]
* pre.in (KRB5_INCSUBDIRS): Don't create the asn.1 subdirectory

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

22 years ago* Makefile.in (install): Don't install libpty.h.
Ken Raeburn [Sat, 13 Jul 2002 01:43:31 +0000 (01:43 +0000)]
* Makefile.in (install): Don't install libpty.h.
* configure.in: Always build static library only.

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

22 years ago*Makefile.in(install): Don't install mit-sipb-copyright.h, it's unreferenced
Ken Raeburn [Sat, 13 Jul 2002 01:42:32 +0000 (01:42 +0000)]
*Makefile.in(install): Don't install mit-sipb-copyright.h, it's unreferenced

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

22 years agoupdate dependencies
Ken Raeburn [Sat, 13 Jul 2002 00:49:35 +0000 (00:49 +0000)]
update dependencies

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

22 years agoupdate dependencies
Ken Raeburn [Sat, 13 Jul 2002 00:41:30 +0000 (00:41 +0000)]
update dependencies

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

22 years agoGet rid of some unused functions and files. Hide
Ken Raeburn [Sat, 13 Jul 2002 00:35:44 +0000 (00:35 +0000)]
Get rid of some unused functions and files.  Hide
krb5_gss_internal_release_oid, which is referenced only in its own source file.

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

22 years ago * gssapi_generic.h: allow inclusion by C++
Tom Yu [Sat, 13 Jul 2002 00:18:10 +0000 (00:18 +0000)]
* gssapi_generic.h: allow inclusion by C++

* gssapi.hin: Conditionalized pragmas for Metrowerks

* gssapi.hin: Added check for CFM compiles.  Removed dependency on
PRAGMA_* macros.  Moved check struct alignment check before struct
declarations.

* disp_com_err_status.c, gssapi.hin, gssapi_generic.h:
Updated Mac OS X headers to new framework layout

* gssapi_generic.h: Fixed check for Mac OS X includes.

[pullups from 1-2-2-branch]

* gssapiP_generic.h: use "" include for krb5.h
[pullup from 1-2-2-branch]

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

22 years ago* configure.in: Invoke AC_CANONICAL_HOST
Ken Raeburn [Fri, 12 Jul 2002 23:15:28 +0000 (23:15 +0000)]
* configure.in: Invoke AC_CANONICAL_HOST

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

22 years ago Makefile.in (HAVE_RUNTEST): Include $(DEJAFLAGS)
Ken Raeburn [Fri, 12 Jul 2002 23:15:15 +0000 (23:15 +0000)]
 Makefile.in (HAVE_RUNTEST): Include $(DEJAFLAGS)

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

22 years ago* rlogin.exp: Fix previous change
Ken Raeburn [Fri, 12 Jul 2002 23:10:54 +0000 (23:10 +0000)]
* rlogin.exp: Fix previous change

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

22 years ago* init_sec_context.c (make_ap_req_v2): Delete unused function
Ken Raeburn [Fri, 12 Jul 2002 21:51:40 +0000 (21:51 +0000)]
* init_sec_context.c (make_ap_req_v2): Delete unused function

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

22 years ago* accept_sec_context.c (rd_and_store_for_creds): Don't declare krb5_mcc_ops
Ken Raeburn [Fri, 12 Jul 2002 21:48:13 +0000 (21:48 +0000)]
* accept_sec_context.c (rd_and_store_for_creds): Don't declare krb5_mcc_ops

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

22 years ago* init_sec_context.c (krb5_gss_init_sec_context): Instead of asking for the
Ken Raeburn [Fri, 12 Jul 2002 21:46:11 +0000 (21:46 +0000)]
* init_sec_context.c (krb5_gss_init_sec_context): Instead of asking for the
enctypes supported by the GSS code, use that set as a filter on the default
enctypes and use the resulting list.

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

22 years ago* accept_sec_context.c (rd_and_store_for_creds): Remove registration of memory ccache...
Ken Raeburn [Fri, 12 Jul 2002 21:45:23 +0000 (21:45 +0000)]
* accept_sec_context.c (rd_and_store_for_creds): Remove registration of memory ccache type

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

22 years agoDon't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.
Ken Raeburn [Fri, 12 Jul 2002 20:21:33 +0000 (20:21 +0000)]
Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.
Instead, include it in the source files that need it.

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

22 years agoDocument SDK requirement
Sam Hartman [Fri, 12 Jul 2002 19:31:08 +0000 (19:31 +0000)]
Document SDK requirement

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

22 years ago * login.M: added information about different command line options;
Jen Selby [Tue, 9 Jul 2002 23:11:33 +0000 (23:11 +0000)]
    * login.M: added information about different command line options;
        changed defaults given for tags that did not match code
        * login.c: changed inaccurate comments

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

22 years agoPut # for cpp directives in first column
Ken Raeburn [Tue, 9 Jul 2002 19:39:04 +0000 (19:39 +0000)]
Put # for cpp directives in first column

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

22 years ago* krlogind.c (protocol): Initialize pbp, fbp. Change left to type size_t
Ken Raeburn [Tue, 9 Jul 2002 18:40:52 +0000 (18:40 +0000)]
* krlogind.c (protocol): Initialize pbp, fbp.  Change left to type size_t

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

22 years agoupdate copyright dates
Ken Raeburn [Tue, 9 Jul 2002 18:39:29 +0000 (18:39 +0000)]
update copyright dates

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

22 years agoupdate dependencies
Ken Raeburn [Tue, 9 Jul 2002 18:28:56 +0000 (18:28 +0000)]
update dependencies

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

22 years ago* sn2princ.c: Include fake-addrinfo.h.
Ken Raeburn [Tue, 9 Jul 2002 18:25:56 +0000 (18:25 +0000)]
* sn2princ.c: Include fake-addrinfo.h.
(krb5_sname_to_principal): Use getaddrinfo and getnameinfo instead of
gethostbyname and gethostbyaddr.

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

22 years ago* hst_realm.c (krb5_get_host_realm): Return KRB5_ERR_NUMERIC_REALM if the
Ken Raeburn [Tue, 9 Jul 2002 18:16:00 +0000 (18:16 +0000)]
* hst_realm.c (krb5_get_host_realm): Return KRB5_ERR_NUMERIC_REALM if the
hostname is a numeric-address form.

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