krb5.git
22 years agoOops, missed one
Tom Yu [Sat, 22 Jun 2002 00:36:07 +0000 (00:36 +0000)]
Oops, missed one

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

22 years ago * krb5.hin: Fix up yet more CALLCONV botches from last merge
Tom Yu [Fri, 21 Jun 2002 23:18:40 +0000 (23:18 +0000)]
* krb5.hin: Fix up yet more CALLCONV botches from last merge

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

22 years ago * ccache.c (printtime): Do not assume that krb5_timestamp and
Ezra Peisach [Fri, 21 Jun 2002 19:31:55 +0000 (19:31 +0000)]
* ccache.c (printtime): Do not assume that krb5_timestamp and
time_t are the same size as an argument to localtime.

* heuristic.c (get_authorized_princ_names): If .k5login file
exists but is not owned by the user, do not attempt to fclose an
uninitialized FILE *.

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

22 years ago * fake-addrinfo.h: If IPv6 support is compiled in, but the OS does
Ezra Peisach [Fri, 21 Jun 2002 19:21:44 +0000 (19:21 +0000)]
* fake-addrinfo.h: If IPv6 support is compiled in, but the OS does
not provide in6addr_any in libc, provide a static copy.

* configure.in: If IPv6 support is compiled in, test for existence
of in6addr_any in libc.

Irix 6.5.16 declares it, and some libraries appear to depend on it, but
it is not defined in any libraries that I could find.

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

22 years ago * implementor.texinfo (IPv6 Support): Update fact that IRIX 6.5.16
Ezra Peisach [Fri, 21 Jun 2002 19:17:40 +0000 (19:17 +0000)]
* implementor.texinfo (IPv6 Support): Update fact that IRIX 6.5.16
has enough support for configure to believe IPv6 support works,
but the libraries fail to provide a definition of in6addr_any
(although netinet/in.h implies it foes).

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

22 years agoupdate dependencies
Ken Raeburn [Fri, 21 Jun 2002 18:15:13 +0000 (18:15 +0000)]
update dependencies

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

22 years ago* port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include krb5/autoconf.h, to get HAVE_S...
Ken Raeburn [Fri, 21 Jun 2002 18:13:34 +0000 (18:13 +0000)]
* port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include krb5/autoconf.h, to get HAVE_SYS_UIO_H

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

22 years ago* mk_priv.c (krb4int_address_less): Put braces around v4mapped address
Ken Raeburn [Fri, 21 Jun 2002 17:52:51 +0000 (17:52 +0000)]
* mk_priv.c (krb4int_address_less): Put braces around v4mapped address
processing to permit local variable declaration.  Pass correct value to
IN6_IS_ADDR_V4MAPPED.

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

22 years ago * winccld.c: Include k5-int.h to get hidden ops struct.
Tom Yu [Thu, 20 Jun 2002 23:03:25 +0000 (23:03 +0000)]
* winccld.c: Include k5-int.h to get hidden ops struct.
[pullup from 1-2-2-branch]

2002-06-20  Alexandra Ellwood <lxs@mit.edu>

* stdcc.h: Added prototype for krb5_stdcc_shutdown.

* stdcc.h, stdcc_util.h, stdcc_util.c: Updated Mac OS X headers to new
framework layout

* stdcc.c: Removed unused variables and fixed macros to reduce warnings

[pullups from 1-2-2-branch]

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

22 years ago * Makefile.in: Build cc accessor functions on Windows
Tom Yu [Thu, 20 Jun 2002 23:02:31 +0000 (23:02 +0000)]
* Makefile.in: Build cc accessor functions on Windows

* ccdefault.c: updated to new KLL function name

* ccdefault.c: swapped include of KerberosLoginPrivate with
k5-int.h to avoid problems with including CoreServices.h after
profile.h and krb.h

* ccdefault.c: Updated Mac OS X headers to new framework layout

* ccdefops.c: created #define for USE_CCAPI now that both Mac OS 9
and Mac OS 10 use ccapi.

[pullups from 1-2-2-branch]

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

22 years ago* configure.in: Check for sys/uio.h.
Ken Raeburn [Thu, 20 Jun 2002 19:43:41 +0000 (19:43 +0000)]
* configure.in: Check for sys/uio.h.
* port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include sys/uio.h if available,
to get struct iovec.

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

22 years agoTouch up comments on shared libraries
Sam Hartman [Thu, 20 Jun 2002 16:40:02 +0000 (16:40 +0000)]
Touch up comments on shared libraries

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

22 years ago * srv_net.c: Conditionalize debugging variables inside DEBUG
Ezra Peisach [Wed, 19 Jun 2002 21:38:13 +0000 (21:38 +0000)]
    * srv_net.c: Conditionalize debugging variables inside DEBUG
        conditional.

        * kpasswd.c (main): Conditionalize local variables inside
        definition of LANGUAGES_SUPPORTED to avoid a variable being set
        with out use warning.

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

22 years ago * Makefile.in (clean): Add t_prng and t_prng.o
Ezra Peisach [Wed, 19 Jun 2002 21:25:09 +0000 (21:25 +0000)]
   * Makefile.in (clean): Add t_prng and t_prng.o

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

22 years ago * Makefile.in (clean-unix): Remove t_crc.o and t_crc
Ezra Peisach [Wed, 19 Jun 2002 21:24:52 +0000 (21:24 +0000)]
   * Makefile.in (clean-unix): Remove t_crc.o and t_crc

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

22 years ago* init_os_ctx.c: Don't include sys/ioctl.h or sys/filio.h.
Ken Raeburn [Wed, 19 Jun 2002 21:05:24 +0000 (21:05 +0000)]
* init_os_ctx.c: Don't include sys/ioctl.h or sys/filio.h.
(krb5_os_init_context): Drop /dev/[u]random support, the Yarrow code will deal
with that now.

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

22 years ago* prof_parse.c (strip_line): Simplify loop by preserving "p" rather than
Ken Raeburn [Wed, 19 Jun 2002 21:03:00 +0000 (21:03 +0000)]
* prof_parse.c (strip_line): Simplify loop by preserving "p" rather than
recomputing it.

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

22 years agouse strdup
Ken Raeburn [Wed, 19 Jun 2002 21:02:37 +0000 (21:02 +0000)]
use strdup

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

22 years ago * toffset.c (krb5_get_time_offsets), an_to_ln.c
Tom Yu [Tue, 18 Jun 2002 23:51:08 +0000 (23:51 +0000)]
* toffset.c (krb5_get_time_offsets), an_to_ln.c
(krb5_aname_to_localname): Make KRB5_CALLCONV.
[pullup from 1-2-2-branch]

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

22 years agoavoid redundant definitions of socket-related error codes for Windows
Ken Raeburn [Tue, 18 Jun 2002 23:50:11 +0000 (23:50 +0000)]
avoid redundant definitions of socket-related error codes for Windows

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

22 years agoClient-side TCP support update for Windows.
Ken Raeburn [Tue, 18 Jun 2002 23:46:32 +0000 (23:46 +0000)]
Client-side TCP support update for Windows.
Some support for scatter/gather socket i/o added via macros in port-sockets.h.

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

22 years ago * princ_comp.c (krb5_realm_compare), auth_con.c
Tom Yu [Tue, 18 Jun 2002 23:40:40 +0000 (23:40 +0000)]
* princ_comp.c (krb5_realm_compare), auth_con.c
(krb5_auth_con_setports, krb5_auth_con_getaddrs,
krb5_auth_con_initivector), addr_order.c (krb5_address_order),
addr_comp.c (krb5_address_compare): Make KRB5_CALLCONV.
[pullup from 1-2-2-branch]

* bld_princ.c (krb5_build_principal_va): Make
krb5_build_principal_va() KRB5_CALLCONV.
[pullup from 1-2-2-branch]

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

22 years ago * ktfr_entry.c: Rename krb5_kt_free_entry_contents as
Tom Yu [Tue, 18 Jun 2002 14:30:28 +0000 (14:30 +0000)]
* ktfr_entry.c: Rename krb5_kt_free_entry_contents as
krb5_free_keytab_entry_contents to make it consistent with rest of
API.
[pullup from 1-2-2-branch]

* ktfr_entry.c (krb5_kt_free_entry_contents): Rename from
krb5_kt_free_entry, keep old name as wrapper.
[pullup from 1-2-2-branch]

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

22 years agoFix missed pullup of kt_free_entry -> free_keytab_entry_contents
Tom Yu [Tue, 18 Jun 2002 14:28:06 +0000 (14:28 +0000)]
Fix missed pullup of kt_free_entry -> free_keytab_entry_contents

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

22 years ago* implementor.texinfo: Don't use @smallbook.
Ken Raeburn [Tue, 18 Jun 2002 05:19:08 +0000 (05:19 +0000)]
* implementor.texinfo: Don't use @smallbook.
(Host Address Lookup): Specify more precisely the IRIX version we use at MIT.
(Operating System Notes for Shared Libraries): Add an introduction mentioning
why we can't use libtool.

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

22 years ago* implementor.texinfo (IPv6 Support): New chapter.
Ken Raeburn [Tue, 18 Jun 2002 05:08:48 +0000 (05:08 +0000)]
* implementor.texinfo (IPv6 Support): New chapter.
(Socket API): New placeholder chapter.
(Local Addresses): Specify more precisely the IRIX version we use at MIT.
(Thread Safety): Delete quoted email, since we don't actually have this API
yet.  Refer people to the mailing list archives.

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

22 years ago* copyright.texinfo: Update copyright year
Ken Raeburn [Tue, 18 Jun 2002 05:00:35 +0000 (05:00 +0000)]
* copyright.texinfo: Update copyright year

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

22 years agoupdate copyright
Ken Raeburn [Tue, 18 Jun 2002 00:23:44 +0000 (00:23 +0000)]
update copyright

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

22 years ago * klogind.M: documented the -D and -f options
Jen Selby [Mon, 17 Jun 2002 22:11:38 +0000 (22:11 +0000)]
    * klogind.M: documented the -D and -f options
        * ksh.M: documented the -D and -L options
        * rcp.M: documented the -c and -C options

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

22 years ago* post.in (clean-unix): Delete .d and .depend files along with $(OBJS) in one
Ken Raeburn [Sat, 15 Jun 2002 09:32:06 +0000 (09:32 +0000)]
* post.in (clean-unix): Delete .d and .depend files along with $(OBJS) in one
command, to avoid needing to test whether the latter is empty.

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

22 years agoupdate dependencies
Ken Raeburn [Sat, 15 Jun 2002 09:25:23 +0000 (09:25 +0000)]
update dependencies

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

22 years ago* depfix.sed: Ignore header files under /mit/gnu/. Replace
Ken Raeburn [Sat, 15 Jun 2002 08:54:56 +0000 (08:54 +0000)]
* depfix.sed: Ignore header files under /mit/gnu/.  Replace
$(BUILDTOP)/include/com_err.h with $(COM_ERR_DEPS), now defined via pre.in.

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

22 years ago* pre.in (COM_ERR_DEPS): New variable
Ken Raeburn [Sat, 15 Jun 2002 08:53:47 +0000 (08:53 +0000)]
* pre.in (COM_ERR_DEPS): New variable

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

22 years agoupdate dependencies
Ken Raeburn [Sat, 15 Jun 2002 08:47:20 +0000 (08:47 +0000)]
update dependencies

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

22 years ago* depfix.sed: Ignore header files under /mit/gnu/
Ken Raeburn [Sat, 15 Jun 2002 08:46:56 +0000 (08:46 +0000)]
* depfix.sed: Ignore header files under /mit/gnu/

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

22 years ago* post.in (clean-unix): Delete .d files
Ken Raeburn [Sat, 15 Jun 2002 08:38:33 +0000 (08:38 +0000)]
* post.in (clean-unix): Delete .d files

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

22 years agorebuild dependencies
Ken Raeburn [Sat, 15 Jun 2002 08:38:10 +0000 (08:38 +0000)]
rebuild dependencies

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

22 years ago* krb5.hin: Delete inclusion of profile.h again
Ken Raeburn [Sat, 15 Jun 2002 06:47:00 +0000 (06:47 +0000)]
* krb5.hin: Delete inclusion of profile.h again

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

22 years agoupdate dependencies
Ken Raeburn [Sat, 15 Jun 2002 06:39:04 +0000 (06:39 +0000)]
update dependencies

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

22 years ago * krb5.hin: Conditionalize KRB5_CALLCONV_WRONG separately
Tom Yu [Sat, 15 Jun 2002 06:14:23 +0000 (06:14 +0000)]
* krb5.hin: Conditionalize KRB5_CALLCONV_WRONG separately
because gssapi.h defines KRB5_CALLCONV but doesn't need
KRB5_CALLCONV_WRONG
[pullup from 1-2-2-branch]

* krb5.hin: Rename krb5_kt_free_entry_contents as
krb5_free_keytab_entry_contents to make it consistent with rest of
API.  Add KRB5_CALLCONV_WRONG.  Fix up various calling
conventions.  For Win32, add KT an CC accessors and default to not
PRIVATE.

* krb5.hin: Make krb5_build_principal_va() KRB5_CALLCONV.

[pullups from 1-2-2-branch]

* krb5.hin: Conditionalized pragmas for Metrowerks

* krb5.hin: Updated Mac OS X headers to new framework layout

[pullups from 1-2-2-branch]

* krb5.hin: Updated Mac OS #defines
and #includes for new header layout and Mac OS X frameworks

[pullups from 1-2-2-branch]

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

22 years ago * k5-int.h: Added krb5_kt_dfl_ops for KRB5_KEYTAB_ACCESSOR_FUNCTIONS
Tom Yu [Sat, 15 Jun 2002 03:13:57 +0000 (03:13 +0000)]
* k5-int.h: Added krb5_kt_dfl_ops for KRB5_KEYTAB_ACCESSOR_FUNCTIONS

* k5-int.h: Removed conditionals now defined in prefix files
and updated header paths

* k5-int.h: Rearranged the #ifdef macintosh section to
work on Mac OS 9 and X

* k5-int.h: Updated Mac OS #defines
and #includes for new header layout and Mac OS X frameworks

[pullups from 1-2-2-branch]

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

22 years ago * krb5.hin: Fix BEGIN_DECLS conditional
Tom Yu [Sat, 15 Jun 2002 02:07:28 +0000 (02:07 +0000)]
* krb5.hin: Fix BEGIN_DECLS conditional

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

22 years ago * win-mac.h: Since this file is now only Win32, remove non-Win32
Tom Yu [Sat, 15 Jun 2002 01:58:35 +0000 (01:58 +0000)]
* win-mac.h: Since this file is now only Win32, remove non-Win32
stuff to make it easier to read.  Never used __declspec(dllexport)
so that we do not accidentally export symbols.

* win-mac.h: Add KRB5_CALLCONV_WRONG.

[pullups from 1-2-2-branch]

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

22 years ago * krb524.h: Change multiple-inclusion test macro to not stomp on
Tom Yu [Sat, 15 Jun 2002 01:02:03 +0000 (01:02 +0000)]
* krb524.h: Change multiple-inclusion test macro to not stomp on
implementation namespace.  Fix up BEGIN_DECLS.

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

22 years ago * krb524.h: Back out erroneous merge of post-1.2.5 change
Tom Yu [Sat, 15 Jun 2002 00:51:42 +0000 (00:51 +0000)]
* krb524.h: Back out erroneous merge of post-1.2.5 change
temporarily.

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

22 years ago * krb524.h: Updated C++ protection to not interfere with emacs
Tom Yu [Sat, 15 Jun 2002 00:37:58 +0000 (00:37 +0000)]
* krb524.h: Updated C++ protection to not interfere with emacs
auto indentation and added KRB524_PRIVATE macro for Mac OS X to
control visibility of function prototypes

* krb524.h: Added C++ protection and Mac pragmas

* krb524.h, cnv_tkt_skey.c, conv_creds.c, conv_princ.c, encode.c,
misc.c, sendmsg.c: Updated header paths on Mac OS X so that we
correctly include the autogenerated krb524.h

* conv_creds.c, cnv_tkt_skey.c: added cast to remove warning.

* krb524.h: Updated to new Mac OS header layout.

* sendmsg.c: k5-int.h should be included as a local header

[pullups from 1-2-2-branch]

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

22 years ago * rc_io.c, rc_dfl.c: use "" includes for krb5.h and k5-int.h
Tom Yu [Fri, 14 Jun 2002 20:57:53 +0000 (20:57 +0000)]
* rc_io.c, rc_dfl.c: use "" includes for krb5.h and k5-int.h
[pullup from 1-2-2-branch]

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

22 years agoUse ws2_32.lib instead of wsock32.lib
Ken Raeburn [Fri, 14 Jun 2002 04:26:50 +0000 (04:26 +0000)]
Use ws2_32.lib instead of wsock32.lib

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

22 years agoUpdated the manpage with new ticket flags
Jen Selby [Thu, 13 Jun 2002 20:23:31 +0000 (20:23 +0000)]
Updated the manpage with new ticket flags

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

22 years agoInclude "com_err.h" instead of <com_err.h>
Ken Raeburn [Thu, 13 Jun 2002 01:31:32 +0000 (01:31 +0000)]
Include "com_err.h" instead of <com_err.h>

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

22 years ago* preauth.c: Don't include syslog.h
Ken Raeburn [Wed, 12 Jun 2002 20:24:28 +0000 (20:24 +0000)]
* preauth.c: Don't include syslog.h

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

22 years ago* pty-int.h: Don't include syslog.h
Ken Raeburn [Wed, 12 Jun 2002 20:21:58 +0000 (20:21 +0000)]
* pty-int.h: Don't include syslog.h

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

22 years agodelete remnants of sys subdir
Ken Raeburn [Wed, 12 Jun 2002 20:15:34 +0000 (20:15 +0000)]
delete remnants of sys subdir

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

22 years ago* syslog.h: Deleted
Ken Raeburn [Wed, 12 Jun 2002 20:12:46 +0000 (20:12 +0000)]
* syslog.h: Deleted

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

22 years ago* syslog.c: Include syslog.h instead of sys/syslog.h
Ken Raeburn [Wed, 12 Jun 2002 20:10:14 +0000 (20:10 +0000)]
* syslog.c: Include syslog.h instead of sys/syslog.h

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

22 years ago* bsdlib.h, bstring.h, fake-stdlib.h: Deleted
Ken Raeburn [Wed, 12 Jun 2002 19:43:54 +0000 (19:43 +0000)]
* bsdlib.h, bstring.h, fake-stdlib.h: Deleted

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

22 years ago* kwinsock.h, macsock.h: Deleted
Ken Raeburn [Wed, 12 Jun 2002 19:41:26 +0000 (19:41 +0000)]
* kwinsock.h, macsock.h: Deleted

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

22 years ago * cns.c: Do not use krb_get_notification_message() or
Tom Yu [Wed, 12 Jun 2002 00:03:17 +0000 (00:03 +0000)]
* cns.c: Do not use krb_get_notification_message() or
krb5_get_notification_message().
[pullup from 1-2-2-branch]

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

22 years ago* sendto_kdc.c: Include sys/ioctl.h and sys/filio.h only if ENABLE_TCP is set
Ken Raeburn [Tue, 11 Jun 2002 19:13:36 +0000 (19:13 +0000)]
* sendto_kdc.c: Include sys/ioctl.h and sys/filio.h only if ENABLE_TCP is set
and _WIN32 is not defined.

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

22 years ago* kt_file.c: Undo non-logged part of last change that added inclusion of
Ken Raeburn [Tue, 11 Jun 2002 17:19:50 +0000 (17:19 +0000)]
* kt_file.c: Undo non-logged part of last change that added inclusion of
netinet/in.h; k5-int.h should pull it in with NEED_SOCKETS defined.

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

22 years agoclient-side TCP support
Ken Raeburn [Tue, 11 Jun 2002 01:13:50 +0000 (01:13 +0000)]
client-side TCP support

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

22 years ago* t_std_conf.c: Include fake-addrinfo.h.
Ken Raeburn [Tue, 11 Jun 2002 01:09:12 +0000 (01:09 +0000)]
* t_std_conf.c: Include fake-addrinfo.h.
(test_locate_kdc): Update arg list to locate_kdc.  Print IPv6 as well as IPv4
addresses.

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

22 years ago* t_locate_kdc.c (main): Free storage allocated by library before exiting
Ken Raeburn [Tue, 11 Jun 2002 00:49:15 +0000 (00:49 +0000)]
* t_locate_kdc.c (main): Free storage allocated by library before exiting

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

22 years ago* Makefile.in (WINMAKEFILES): Remove keytab subdir makefiles, and their build rules
Ken Raeburn [Mon, 10 Jun 2002 20:10:32 +0000 (20:10 +0000)]
* Makefile.in (WINMAKEFILES): Remove keytab subdir makefiles, and their build rules

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

22 years ago* krb5_err.et (KRB5KRB_AP_PATH_NOT_ACCEPTED, KRB5KRB_ERR_RESPONSE_TOO_BIG): New
Ken Raeburn [Mon, 10 Jun 2002 04:00:52 +0000 (04:00 +0000)]
* krb5_err.et (KRB5KRB_AP_PATH_NOT_ACCEPTED, KRB5KRB_ERR_RESPONSE_TOO_BIG): New
error codes.

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

22 years agoput netinet/in.h inclusion with other headers
Ken Raeburn [Sun, 9 Jun 2002 11:14:11 +0000 (11:14 +0000)]
put netinet/in.h inclusion with other headers

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

22 years agoMerge file and srvtab keytab implementations each into one file, and eliminate
Ken Raeburn [Sun, 9 Jun 2002 11:06:04 +0000 (11:06 +0000)]
Merge file and srvtab keytab implementations each into one file, and eliminate
the subdirectories.

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

22 years ago* config/unix.exp (top level): Load helpers.exp here, to make sure database
Ken Raeburn [Sun, 9 Jun 2002 06:15:43 +0000 (06:15 +0000)]
* config/unix.exp (top level): Load helpers.exp here, to make sure database
setup happens properly.

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

22 years ago * crypto_libinit.h: Changed macros so you can include
Tom Yu [Sat, 8 Jun 2002 00:37:15 +0000 (00:37 +0000)]
* crypto_libinit.h: Changed macros so you can include
crypto_libinit.h and krb5_libinit.h at the same time.
[pullup from 1-2-2-branch]

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

22 years ago * des_int.h: use "" includes for k5-int.h
Tom Yu [Sat, 8 Jun 2002 00:36:59 +0000 (00:36 +0000)]
* des_int.h: use "" includes for k5-int.h
[pullup from 1-2-2-branch]

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

22 years ago * shs.h: use "" include for k5-int.h
Tom Yu [Sat, 8 Jun 2002 00:36:26 +0000 (00:36 +0000)]
* shs.h: use "" include for k5-int.h
[pullup from 1-2-2-branch]

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

22 years ago * kadmin.M: Remove references to "rename_principal".
Tom Yu [Fri, 7 Jun 2002 02:26:36 +0000 (02:26 +0000)]
* kadmin.M: Remove references to "rename_principal".
[pullup from 1-2-2-branch]

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

22 years agoSeparate send-to-kdc UDP code, export it via accessor interface, and call in to
Ken Raeburn [Wed, 5 Jun 2002 01:49:47 +0000 (01:49 +0000)]
Separate send-to-kdc UDP code, export it via accessor interface, and call in to
it from krb524_sendto_kdc.  Supply a socket type to krb5_locate_server and
krb5_locate_kdc.

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

22 years ago* get_admhst.c: Deleted
Ken Raeburn [Tue, 4 Jun 2002 23:57:09 +0000 (23:57 +0000)]
* get_admhst.c: Deleted

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

22 years ago* fake-addrinfo.h [COPY_FIRST_CANONNAME]: Include string.h
Ken Raeburn [Tue, 4 Jun 2002 21:17:06 +0000 (21:17 +0000)]
* fake-addrinfo.h [COPY_FIRST_CANONNAME]: Include string.h

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

22 years agochange a line break to avoid long lines
Ken Raeburn [Tue, 4 Jun 2002 20:56:41 +0000 (20:56 +0000)]
change a line break to avoid long lines

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

22 years agoAdd capability of looking up TCP addresses for KDC in DNS; not enabled yet.
Ken Raeburn [Tue, 4 Jun 2002 06:59:28 +0000 (06:59 +0000)]
Add capability of looking up TCP addresses for KDC in DNS; not enabled yet.
Internal "addrlist" structure now includes socket type, by way of using
struct addrinfo where struct sockaddr was used before; updated uses.
No support for noting TCP/UDP vs UDP-only addresses in config files.

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

22 years ago* prof_get.c (profile_get_integer): Set errno to 0 before strtol call, so we
Ken Raeburn [Tue, 4 Jun 2002 06:38:24 +0000 (06:38 +0000)]
* prof_get.c (profile_get_integer): Set errno to 0 before strtol call, so we
can distinguish error from LONG_MIN/MAX.  Break out different error conditions
and comment them.

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

22 years ago* socket-utils.h (socklen) [! HAVE_SA_LEN]: Return a socklen_t instead of size_t
Ken Raeburn [Fri, 31 May 2002 21:38:47 +0000 (21:38 +0000)]
* socket-utils.h (socklen) [! HAVE_SA_LEN]: Return a socklen_t instead of size_t

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

22 years ago* fake-addrinfo.h (getaddrinfo, getnameinfo, gai_strerror, freeaddrinfo)
Ken Raeburn [Fri, 31 May 2002 21:34:44 +0000 (21:34 +0000)]
* fake-addrinfo.h (getaddrinfo, getnameinfo, gai_strerror, freeaddrinfo)
[S_SPLINT_S]: Add Splint annotations.
(getaddrinfo, getnameinfo): Buffer sizes are supposed to be socklen_t, not
size_t.
(freeaddrinfo) [COPY_FIRST_CANONNAME]: Handle null pointer argument.
(getaddrinfo) [COPY_FIRST_CANONNAME]: Always do the copying if the ai_canonname
is non-null, regardless of the supplied flags.

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

22 years ago* configure.in: Check return type for getservbyname_r just as for
Ken Raeburn [Fri, 31 May 2002 20:53:39 +0000 (20:53 +0000)]
* configure.in: Check return type for getservbyname_r just as for
gethostbyname_r.
* fake-addrinfo.h (GET_HOST_BY_NAME): Use plain gethostbyname if
THREADSAFE_GETHOSTBYNAME is defined, even if _r versions are available.
(GET_HOST_BY_ADDR) [GETHOSTBYNAME_R_RETURNS_INT]: Add missing variable
declaration.
(GET_SERV_BY_NAME, GET_SERV_BY_PORT): New macros, in three flavors, parallel to
GET_HOST macros; not used yet.

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

22 years agoI updated the ChangeLog for the DNS files I checked in
Jen Selby [Thu, 30 May 2002 21:31:54 +0000 (21:31 +0000)]
I updated the ChangeLog for the DNS files I checked in

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

22 years agoAdded the DNS information to the admin guide. The dns information is now
Jen Selby [Thu, 30 May 2002 21:25:47 +0000 (21:25 +0000)]
Added the DNS information to the admin guide.  The dns information is now
in separate files, which are included by the install and admin guides.

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

22 years agoFixed some typos, repeated words, etc
Jen Selby [Thu, 30 May 2002 06:21:40 +0000 (06:21 +0000)]
Fixed some typos, repeated words, etc

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

22 years ago* MacTCP.h, AddressXlation.h: Deleted
Ken Raeburn [Wed, 29 May 2002 18:09:35 +0000 (18:09 +0000)]
* MacTCP.h, AddressXlation.h: Deleted

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

22 years ago* DNR.c: Deleted
Ken Raeburn [Wed, 29 May 2002 18:06:16 +0000 (18:06 +0000)]
* DNR.c: Deleted

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

22 years agoreformat comment
Ken Raeburn [Sat, 25 May 2002 02:33:52 +0000 (02:33 +0000)]
reformat comment

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

22 years agoReduce build-time per-system dependencies and krb5.h namespace intrusions
Ken Raeburn [Sat, 25 May 2002 02:23:17 +0000 (02:23 +0000)]
Reduce build-time per-system dependencies and krb5.h namespace intrusions

* krb5.hin: Don't include profile.h.  Do include limits.h.
(krb5_int16, krb5_ui_2, krb5_int32, krb5_ui_4): Conditionalize on the values of
INT_MAX, LONG_MAX and SHRT_MAX.
(VALID_INT_BITS, VALID_UINT_BITS, SALT_TYPE_AFS_LENGTH, SALT_TYPE_NO_LENGTH):
Define in terms of INT_MAX and UINT_MAX.
(struct _profile_t): Declare forward.
(krb5_get_profile): Use struct _profile_t instead of profile_t in declaration.
(krb5_ui_1): Delete.
* Makefile.in (krb5.h): Don't put SIZEOF macros into output.

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

22 years ago* sane_hostname.c (pty_make_sane_hostname): Always initialize "ai"
Ken Raeburn [Sat, 25 May 2002 01:15:57 +0000 (01:15 +0000)]
* sane_hostname.c (pty_make_sane_hostname): Always initialize "ai"

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

22 years ago* krlogin.c (oob): Loop reading data until we actually reach the URG marker
Ken Raeburn [Thu, 23 May 2002 00:52:00 +0000 (00:52 +0000)]
* krlogin.c (oob): Loop reading data until we actually reach the URG marker

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

22 years agoUpdate key usage numbers to reflect latest draft from John
Sam Hartman [Mon, 13 May 2002 17:08:51 +0000 (17:08 +0000)]
Update key usage numbers to reflect latest draft from John

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

22 years ago* dbtest.c: Test for __STDC__ defined, not nonzero, to decide whether to use
Ken Raeburn [Wed, 8 May 2002 19:47:43 +0000 (19:47 +0000)]
* dbtest.c: Test for __STDC__ defined, not nonzero, to decide whether to use
stdarg.h or varargs.h.
(err): Similarly for function signature.

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

22 years ago* prof_get.c (conf_yes, conf_no): Now const.
Ken Raeburn [Wed, 8 May 2002 19:45:12 +0000 (19:45 +0000)]
* prof_get.c (conf_yes, conf_no): Now const.
(profile_parse_boolean): Local variable P points to const.

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

22 years agofix comment notation
Ken Raeburn [Wed, 8 May 2002 18:47:14 +0000 (18:47 +0000)]
fix comment notation

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

22 years agoimplementor.texinfo changes
Ken Raeburn [Wed, 8 May 2002 18:40:19 +0000 (18:40 +0000)]
implementor.texinfo changes

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

22 years agoFormatting updates. Tru64 5.1 SIOCGIFCONF and getaddrinfo update.
Ken Raeburn [Wed, 8 May 2002 18:38:04 +0000 (18:38 +0000)]
Formatting updates.  Tru64 5.1 SIOCGIFCONF and getaddrinfo update.
Add fake-addrinfo.h description and thread-safety comments.

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

22 years agoFree the context when it is non-null not when it is null
Sam Hartman [Tue, 30 Apr 2002 18:46:52 +0000 (18:46 +0000)]
Free the context when it is non-null not when it is null

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

22 years ago* v4gssftp.exp (v4ftp_test): Update checked messages for change of "credentials
Ken Raeburn [Fri, 26 Apr 2002 18:34:22 +0000 (18:34 +0000)]
* v4gssftp.exp (v4ftp_test): Update checked messages for change of "credentials
cache file" to "credentials cache" in error message table.

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

22 years ago* fake-addrinfo.h (GET_HOST_BY_NAME, GET_HOST_BY_ADDR)
Ken Raeburn [Fri, 26 Apr 2002 01:27:26 +0000 (01:27 +0000)]
* fake-addrinfo.h (GET_HOST_BY_NAME, GET_HOST_BY_ADDR)
[GETHOSTBYNAME_R_RETURNS_INT]: Fix backwards test of return value.

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

22 years ago * reconf: Only for autoreconf 2.53, create a private copy of
Ezra Peisach [Thu, 25 Apr 2002 18:54:02 +0000 (18:54 +0000)]
* reconf: Only for autoreconf 2.53, create a private copy of
autoreconf with a patch to a bug that prevented use of three
levels configure.in files. The bug is fixed in the development
version 2.53a.

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