krb5.git
23 years agofix log entry
Ken Raeburn [Sat, 29 Sep 2001 01:28:30 +0000 (01:28 +0000)]
fix log entry

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

23 years agoprovide fake addrinfo implementation; get ipv6 addrs for solaris 8
Ken Raeburn [Sat, 29 Sep 2001 00:48:01 +0000 (00:48 +0000)]
provide fake addrinfo implementation; get ipv6 addrs for solaris 8

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

23 years ago* aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Need brackets around arguments to tr
Ken Raeburn [Fri, 28 Sep 2001 23:55:15 +0000 (23:55 +0000)]
* aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Need brackets around arguments to tr

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

23 years agoavoid extra copy of krb_err.h in include; update dependencies
Ken Raeburn [Fri, 28 Sep 2001 22:34:26 +0000 (22:34 +0000)]
avoid extra copy of krb_err.h in include; update dependencies

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

23 years agoupdate dependencies
Ken Raeburn [Fri, 28 Sep 2001 22:30:51 +0000 (22:30 +0000)]
update dependencies

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

23 years agoadd ##WIN32## prefix to last change, so unix build works
Ken Raeburn [Fri, 28 Sep 2001 22:20:46 +0000 (22:20 +0000)]
add ##WIN32## prefix to last change, so unix build works

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

23 years agoAdd KRB524_STATIC_HACK for Windows build so that we can generate a
Danilo Almeida [Fri, 28 Sep 2001 15:37:25 +0000 (15:37 +0000)]
Add KRB524_STATIC_HACK for Windows build so that we can generate a
k524init binary that has an static copy of the krb5 library and does
not depend on krb5 nor krb524 DLLs.  This is so that we can distribute
a standalone k524init binary before 1.3 goes out.

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

23 years agobetter realm transit path checking for app server
Ken Raeburn [Wed, 26 Sep 2001 03:47:47 +0000 (03:47 +0000)]
better realm transit path checking for app server
transit path checking enforcement for kdc; supporting code, doc update
[merged from 1.2.3 release branch]

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

23 years ago* kpropd.M: Correct typo (synopsis line should say kpropd, not kprop)
Mitchell Berger [Mon, 24 Sep 2001 23:09:24 +0000 (23:09 +0000)]
* kpropd.M: Correct typo (synopsis line should say kpropd, not kprop)

(Fixes krb5-doc/692, but the man page still needs to be revisited to check for
other updates along with all the other man pages)

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

23 years ago* kinit.M: Correct some typos. Thanks to Dennis Davis
Mitchell Berger [Mon, 24 Sep 2001 22:52:19 +0000 (22:52 +0000)]
* kinit.M: Correct some typos.  Thanks to Dennis Davis
<D.H.Davis@bath.ac.uk>

(Fixes krb5-doc/965, but the man page still needs to be revisited to check for
other updates along with all the other man pages)

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

23 years ago* krb5kdc.M: Document the -n option. Thanks to Dennis Davis
Mitchell Berger [Mon, 24 Sep 2001 22:36:56 +0000 (22:36 +0000)]
* krb5kdc.M: Document the -n option.  Thanks to Dennis Davis
<D.H.Davis@bath.ac.uk>

(Fixes krb5-doc/967, but the man page still needs to be revisited to check for
other updates with all the other man pages)

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

23 years ago* ksu.M: Correct a few typos
Mitchell Berger [Sun, 16 Sep 2001 09:14:11 +0000 (09:14 +0000)]
* ksu.M: Correct a few typos

(Fixes krb5-doc/990 and krb5-doc/991)

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

23 years ago* krlogin.c (try_normal): Permit "rsh" as well as "rlogin" as the program name,
Ken Raeburn [Fri, 14 Sep 2001 02:06:02 +0000 (02:06 +0000)]
* krlogin.c (try_normal): Permit "rsh" as well as "rlogin" as the program name,
for detecting when argv[0] is not the hostname.  If argv[0] isn't the hostname,
always replace it with the system rlogin pathname.

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

23 years ago * configure.in: Cosmetic fix in utmpx.ut_exit check
Tom Yu [Wed, 12 Sep 2001 01:28:50 +0000 (01:28 +0000)]
* configure.in: Cosmetic fix in utmpx.ut_exit check

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

23 years ago * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so
Ezra Peisach [Sat, 8 Sep 2001 12:25:35 +0000 (12:25 +0000)]
    * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so
        that malloc prototype povided.

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

23 years ago* commands.c (tn): Don't crash printing null hostname in case where supplied
Ken Raeburn [Fri, 7 Sep 2001 14:58:06 +0000 (14:58 +0000)]
* commands.c (tn): Don't crash printing null hostname in case where supplied
destination is a numeric address that doesn't map to a hostname.

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

23 years ago* t_expand.c: New file.
Ken Raeburn [Fri, 7 Sep 2001 11:27:07 +0000 (11:27 +0000)]
* t_expand.c: New file.
* Makefile.in (SRCS): Add test-case source files; rebuilt dependencies.
(t_expand.o): Build from t_expand.c now, no special build rule.

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

23 years ago* rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to
Ken Raeburn [Fri, 7 Sep 2001 11:19:24 +0000 (11:19 +0000)]
* rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to
transited-list check, not local realm, in case they're different.

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

23 years agonew kdc option flags
Ken Raeburn [Fri, 7 Sep 2001 02:36:37 +0000 (02:36 +0000)]
new kdc option flags

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

23 years agonew ticket flags
Ken Raeburn [Fri, 7 Sep 2001 02:17:13 +0000 (02:17 +0000)]
new ticket flags

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

23 years agoupdated dependencies for latest make-depend target code
Ken Raeburn [Thu, 6 Sep 2001 10:49:23 +0000 (10:49 +0000)]
updated dependencies for latest make-depend target code

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

23 years ago* post.in (depfix2.sed): collapse multiple slashes; more relative pathname processing
Ken Raeburn [Thu, 6 Sep 2001 10:44:32 +0000 (10:44 +0000)]
* post.in (depfix2.sed): collapse multiple slashes; more relative pathname processing

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

23 years agonow process myfulldir arg too
Ken Raeburn [Thu, 6 Sep 2001 10:42:47 +0000 (10:42 +0000)]
now process myfulldir arg too

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

23 years ago* post.in (depfix2.sed): New target, generates a sed script that'll do a better
Ken Raeburn [Thu, 6 Sep 2001 09:43:33 +0000 (09:43 +0000)]
* post.in (depfix2.sed): New target, generates a sed script that'll do a better
job of identifying possible $(SRCTOP) uses.
(.depend): Use it.

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

23 years ago* depgen.sed: New file.
Ken Raeburn [Thu, 6 Sep 2001 09:40:37 +0000 (09:40 +0000)]
* depgen.sed: New file.
* depfix.sed: Remove /foo/../ sequences, looping til no more.

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

23 years ago* fake-addrinfo.h: Include socket-utils.h
Ken Raeburn [Thu, 6 Sep 2001 00:44:20 +0000 (00:44 +0000)]
* fake-addrinfo.h: Include socket-utils.h

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

23 years ago * Makefile.in ($(BUILDTOP)/include/krb5/autoconf.h): Add rules to
Ezra Peisach [Thu, 6 Sep 2001 00:09:41 +0000 (00:09 +0000)]
    * Makefile.in ($(BUILDTOP)/include/krb5/autoconf.h): Add rules to
        build include/krb5/autoconf.h - this file is wiped out during a
        make clean and sane_hostname.c depends on it.

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

23 years ago* Makefile.in (../include/krb524_err.h): Force build of "includes"
Ken Raeburn [Sun, 2 Sep 2001 00:59:47 +0000 (00:59 +0000)]
* Makefile.in (../include/krb524_err.h): Force build of "includes"

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

23 years agodependencies
Ken Raeburn [Sun, 2 Sep 2001 00:14:07 +0000 (00:14 +0000)]
dependencies

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

23 years agodependencies
Ken Raeburn [Sat, 1 Sep 2001 23:53:50 +0000 (23:53 +0000)]
dependencies

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

23 years ago*depfix.sed: Drop "$(srcdir)/" prefix for files in current directory, in favor of...
Ken Raeburn [Sat, 1 Sep 2001 23:50:59 +0000 (23:50 +0000)]
*depfix.sed: Drop "$(srcdir)/" prefix for files in current directory, in favor of using VPATH

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

23 years ago* post.in: Run compiler and sed in separate rules. Make "depend" a recursive
Ken Raeburn [Sat, 1 Sep 2001 23:49:30 +0000 (23:49 +0000)]
* post.in: Run compiler and sed in separate rules.  Make "depend" a recursive
target.  Check for error from compiler invocation.

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

23 years agoadd automatically generated dependencies
Ken Raeburn [Sat, 1 Sep 2001 22:15:53 +0000 (22:15 +0000)]
add automatically generated dependencies

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

23 years agoadd comment
Ken Raeburn [Sat, 1 Sep 2001 22:03:38 +0000 (22:03 +0000)]
add comment

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

23 years agofix ordering in last change
Ken Raeburn [Sat, 1 Sep 2001 04:21:32 +0000 (04:21 +0000)]
fix ordering in last change

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

23 years ago* depfix.sed: Temporarily add trailing whitespace to make substitutions more
Ken Raeburn [Sat, 1 Sep 2001 04:08:55 +0000 (04:08 +0000)]
* depfix.sed: Temporarily add trailing whitespace to make substitutions more
regular.  Split lines before writing out.

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

23 years ago* post.in (.depend): Refuse to do anything if srcdir is ".". Find a shortcut
Ken Raeburn [Sat, 1 Sep 2001 04:06:44 +0000 (04:06 +0000)]
* post.in (.depend): Refuse to do anything if srcdir is ".".  Find a shortcut
name for SRCTOP to eliminate "foo/.." subsequences, in case the compiler does
the same.  Run depfix.sed after the directory-specific substitutions, not
before.

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

23 years agouse a different macro in fake-addrinfo.h to tell fake-addrinfo.c to define fns
Ken Raeburn [Fri, 31 Aug 2001 23:00:12 +0000 (23:00 +0000)]
use a different macro in fake-addrinfo.h to tell fake-addrinfo.c to define fns

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

23 years agoFix clean-windows target to clean appl/gssftp/ftp
Danilo Almeida [Fri, 31 Aug 2001 20:38:19 +0000 (20:38 +0000)]
Fix clean-windows target to clean appl/gssftp/ftp

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

23 years ago* hostaddr.c (krb5_os_hostaddr): Don't use AI_DEFAULT
Ken Raeburn [Fri, 31 Aug 2001 17:47:42 +0000 (17:47 +0000)]
* hostaddr.c (krb5_os_hostaddr): Don't use AI_DEFAULT

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

23 years agoseparate sockaddr_storage support from ipv6 support
Ken Raeburn [Fri, 31 Aug 2001 05:49:24 +0000 (05:49 +0000)]
separate sockaddr_storage support from ipv6 support

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

23 years agomake sockaddr_storage checks separate from ipv6 support
Ken Raeburn [Fri, 31 Aug 2001 05:47:59 +0000 (05:47 +0000)]
make sockaddr_storage checks separate from ipv6 support

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

23 years agofix typo
Ken Raeburn [Fri, 31 Aug 2001 05:09:55 +0000 (05:09 +0000)]
fix typo

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

23 years agofix conditionals
Ken Raeburn [Fri, 31 Aug 2001 05:03:10 +0000 (05:03 +0000)]
fix conditionals

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

23 years ago* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Do put /usr/include/tcl$v in
Ken Raeburn [Fri, 31 Aug 2001 04:56:50 +0000 (04:56 +0000)]
* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Do put /usr/include/tcl$v in
TCL_INCLUDES if that's where tcl.h is found.  Don't include tcl.h when testing
to see if Tcl_CreateInterp is available.
(KRB5_AC_CHECK_INET6): Don't require getaddrinfo support.

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

23 years agogenaddrs.c: update for ipv6
Ken Raeburn [Fri, 31 Aug 2001 04:50:54 +0000 (04:50 +0000)]
genaddrs.c: update for ipv6

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

23 years ago* socket-utils.h (struct krb5int_sockaddr_storage): Add some extra space
Ken Raeburn [Fri, 31 Aug 2001 03:25:54 +0000 (03:25 +0000)]
* socket-utils.h (struct krb5int_sockaddr_storage): Add some extra space

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

23 years ago* configure.in: Check for ipv6 support
Ken Raeburn [Fri, 31 Aug 2001 03:24:05 +0000 (03:24 +0000)]
* configure.in: Check for ipv6 support

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

23 years ago* ext.h: Always use prototype declarations
Ken Raeburn [Fri, 31 Aug 2001 03:23:34 +0000 (03:23 +0000)]
* ext.h: Always use prototype declarations

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

23 years agoadd comment
Ken Raeburn [Fri, 31 Aug 2001 03:22:00 +0000 (03:22 +0000)]
add comment

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

23 years ago* defs.h: Don't include socket-utils.h until after netinet/in.h
Ken Raeburn [Thu, 30 Aug 2001 21:05:17 +0000 (21:05 +0000)]
* defs.h: Don't include socket-utils.h until after netinet/in.h

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

23 years ago* Makefile.in (rebuild-error-tables): New intermediate target, avoids running
Ken Raeburn [Thu, 30 Aug 2001 21:03:39 +0000 (21:03 +0000)]
* Makefile.in (rebuild-error-tables): New intermediate target, avoids running
make in error_tables directory once for each generated header file we care
about.

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

23 years agoavoid re-running autoheader when not needed, using timestamp file
Ken Raeburn [Thu, 30 Aug 2001 19:45:40 +0000 (19:45 +0000)]
avoid re-running autoheader when not needed, using timestamp file

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

23 years agoupdate for fake-addrinfo changes
Ken Raeburn [Thu, 30 Aug 2001 19:35:35 +0000 (19:35 +0000)]
update for fake-addrinfo changes

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

23 years ago* fake-addrinfo.c (getnameinfo): Cast address argument to gethostbyaddr
Ken Raeburn [Thu, 30 Aug 2001 19:32:23 +0000 (19:32 +0000)]
* fake-addrinfo.c (getnameinfo): Cast address argument to gethostbyaddr

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

23 years ago* fake-addrinfo.h (AI_V4MAPPED, AI_ADDRCONFIG, AI_ALL, AI_DEFAULT): Define as
Ken Raeburn [Thu, 30 Aug 2001 19:31:21 +0000 (19:31 +0000)]
* fake-addrinfo.h (AI_V4MAPPED, AI_ADDRCONFIG, AI_ALL, AI_DEFAULT): Define as
bogus values, since they're part of getipnodeby* API, not getaddrinfo API.

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

23 years agoipv6 support, except if source routing is requested (may be broken)
Ken Raeburn [Thu, 30 Aug 2001 19:26:13 +0000 (19:26 +0000)]
ipv6 support, except if source routing is requested (may be broken)

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

23 years ago* telnet.c (setupterm): Now static.
Ken Raeburn [Thu, 30 Aug 2001 03:44:03 +0000 (03:44 +0000)]
* telnet.c (setupterm): Now static.
(suboption): Rename local variable "ospeed" to "o_speed" to avoid conflict with
global.
(env_opt_add): Cast opt_welldefined argument to char * to silence warning.

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

23 years agonote ipv6 work still not done
Ken Raeburn [Thu, 30 Aug 2001 03:34:51 +0000 (03:34 +0000)]
note ipv6 work still not done

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

23 years agosupport incoming ipv6 connections; debug mode still ipv4 only
Ken Raeburn [Thu, 30 Aug 2001 03:34:30 +0000 (03:34 +0000)]
support incoming ipv6 connections; debug mode still ipv4 only

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

23 years agouse fake-addrinfo, get rid of non-getnameinfo support
Ken Raeburn [Thu, 30 Aug 2001 03:19:30 +0000 (03:19 +0000)]
use fake-addrinfo, get rid of non-getnameinfo support

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

23 years ago* termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY isn't defined,...
Ken Raeburn [Thu, 30 Aug 2001 02:54:03 +0000 (02:54 +0000)]
* termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY isn't defined, to silence compiler complaints about empty files

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

23 years agocopyrights
Ken Raeburn [Thu, 30 Aug 2001 02:00:56 +0000 (02:00 +0000)]
copyrights

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

23 years agocopyright; update comments
Ken Raeburn [Thu, 30 Aug 2001 02:00:04 +0000 (02:00 +0000)]
copyright; update comments

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

23 years ago* kdc5_hammer.c (main): Initialize enctype at entry; eliminate enctypedone variable
Ken Raeburn [Thu, 30 Aug 2001 01:11:52 +0000 (01:11 +0000)]
* kdc5_hammer.c (main): Initialize enctype at entry; eliminate enctypedone variable

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

23 years agomove socket util definitions (socklen_t, sa2sin, etc) from k5-int to a new file
Ken Raeburn [Thu, 30 Aug 2001 00:31:06 +0000 (00:31 +0000)]
move socket util definitions (socklen_t, sa2sin, etc) from k5-int to a new file

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

23 years agoupdate fake-addrinfo stuff
Ken Raeburn [Wed, 29 Aug 2001 20:48:54 +0000 (20:48 +0000)]
update fake-addrinfo stuff

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

23 years agosplit fake getaddrinfo implementation off into a separate file
Ken Raeburn [Wed, 29 Aug 2001 20:48:07 +0000 (20:48 +0000)]
split fake getaddrinfo implementation off into a separate file

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

23 years ago* aclocal.m4 (KRB5_AC_CHECK_INET6): Don't check for AI_ADDRCONFIG
Ken Raeburn [Tue, 21 Aug 2001 23:52:06 +0000 (23:52 +0000)]
* aclocal.m4 (KRB5_AC_CHECK_INET6): Don't check for AI_ADDRCONFIG

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

23 years ago* walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence compiler warning
Ken Raeburn [Tue, 21 Aug 2001 23:41:54 +0000 (23:41 +0000)]
* walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence compiler warning

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

23 years ago* glob.c (amatch, case '*'): Treat multiple asterisks the same as one
Ken Raeburn [Tue, 21 Aug 2001 23:40:31 +0000 (23:40 +0000)]
* glob.c (amatch, case '*'): Treat multiple asterisks the same as one

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

23 years ago * clnt_udp.c (clntudp_call): Do not assume that select will not
Ezra Peisach [Fri, 10 Aug 2001 15:20:16 +0000 (15:20 +0000)]
* clnt_udp.c (clntudp_call): Do not assume that select will not
change the timeout struct timeval. Under Linux, this reflects the
time left available - which might result in 0 in the case of a
timeout. When attempting to resend a request, this may results in
a timeout of zero - flooding the server with replay requests.

* clnt_tcp.c (readtcp): Same.
* pmap_rmt.c (clnt_broadcast): Same
* svc_tcp.c (readtcp): Same

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

23 years ago * cnv_tkt_skey.c (HOST_BYTE_ORDER): When casting const int * to
Ezra Peisach [Wed, 8 Aug 2001 16:59:12 +0000 (16:59 +0000)]
* cnv_tkt_skey.c (HOST_BYTE_ORDER): When casting const int * to
const char * instead of simply char *.

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

23 years ago * walk_rtree.c (krb5_walk_realm_tree): Do not try to free const char *
Ezra Peisach [Wed, 8 Aug 2001 16:31:02 +0000 (16:31 +0000)]
* walk_rtree.c (krb5_walk_realm_tree): Do not try to free const char *

* mk_safe.c (krb5_mk_safe_basic): Do not declare local_addr and
remote_addr const and then cast the attribute away.

* mk_req_ext.c (krb5_generate_authenticator): Static function -
remove const attribute from cksum pointer.

* gc_via_tkt.c (krb5_get_cred_via_tkt): Cast unsigned integer
krb5_error error_value to signed before adding
ERROR_TABLE_BASE_krb5.

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

23 years ago * post.in (all-recurse clean-recurse distclean-recurse
Ezra Peisach [Tue, 7 Aug 2001 21:47:36 +0000 (21:47 +0000)]
* post.in (all-recurse clean-recurse distclean-recurse
install-recurse check-recurse Makefiles-recurse): Do not pass down
CC and CCOPTS to subdirs. This causes automatic reconfiguration to
fail with autoconf 2.52 where config.status is invoked with
different environment variables.

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

23 years ago * default.exp (setup_root_shell): Also recognize "nection reset by
Ezra Peisach [Mon, 6 Aug 2001 18:24:56 +0000 (18:24 +0000)]
* default.exp (setup_root_shell): Also recognize "nection reset by
peer" as a failure to get a root shell. This happens if
tcp_wrappers are in use in inetd.conf, but rlogind is not prsent
on the machine.

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

23 years ago* ftpd.M: Update the usage line and option descriptions to be in sync
Mitchell Berger [Fri, 3 Aug 2001 16:07:19 +0000 (16:07 +0000)]
* ftpd.M: Update the usage line and option descriptions to be in sync
with what the code actually does and be in a consistent order.

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

23 years ago* k5-int.h (ss2sin6): New gcc-specific function and alternative macro.
Ken Raeburn [Fri, 3 Aug 2001 14:46:44 +0000 (14:46 +0000)]
* k5-int.h (ss2sin6): New gcc-specific function and alternative macro.
(krb5_crypt_func, krb5_encrypt_helper): Don't use "usage" in argument names.

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

23 years ago* ftpd.c (main): Convert to do option parsing with getopt() rather
Mitchell Berger [Fri, 3 Aug 2001 07:46:05 +0000 (07:46 +0000)]
* ftpd.c (main): Convert to do option parsing with getopt() rather
than the whitespace-sensitive voodoo we've used in the past.  This
fixes a bug where use of -u to set a default umask silently failed and
granted more permission on files than desired if the -u and the mode
were separated by a space, and likely many other such bugs.

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

23 years ago * authenc.c (net_write): Rewrite in terms of netwrite()
Tom Yu [Thu, 2 Aug 2001 22:07:00 +0000 (22:07 +0000)]
* authenc.c (net_write): Rewrite in terms of netwrite()

* configure.in: Check for vsnprintf().

* ext.h: New prototypes for netprintf, netprintf_urg,
netprintf_noflush, netwrite, netputs.

* slc.c: Fix to use new NETOBUF-handling functions.

* state.c: Fix to use new NETOBUF-handling functions.

* telnetd.c: Fix to use new NETOBUF-handling functions.

* termstat.c: Fix to use new NETOBUF-handling functions.

* utility.c: General rework to be more paranoid about
bounds-checking of NETOBUF and NFRONTP.  Abstract away
interactions with NETOBUF to eliminate explicit references to
NFRONTP in many places.
(netwrite): New function; copies a buffer to the
NETOBUF "ring buffer", checking bounds and calling netflush() if
needed.
(netputs): New function; calls netwrite() with a nul-terminated
string.
(netprintf, netprintf_ext): New function; wrap sprintf() with
bounds checking for use with NETOBUF.
(netprintf_urg): New function; like netprintf() except sets neturg
to point at last char written.
(netprintf_noflush): New function; like netprintf() except
silently fails if NETOBUF is full.
(ttloop, printoption, printsub, printdata): Fix to use new
NETOBUF-handling functions.

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

23 years agoimplement libdefaults/extra_addresses
Ken Raeburn [Thu, 2 Aug 2001 03:23:45 +0000 (03:23 +0000)]
implement libdefaults/extra_addresses

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

23 years ago* klist.c: Include k5-int.h and fake-addrinfo.h.
Ken Raeburn [Thu, 2 Aug 2001 03:14:07 +0000 (03:14 +0000)]
* klist.c: Include k5-int.h and fake-addrinfo.h.
(NEED_SOCKETS, FAI_PREFIX, FAI_IMPLEMENTATION): Define macros.
(one_addr): Use getnameinfo always.

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

23 years ago* hostaddr.c (krb5_os_hostaddr): Only retry non-numeric lookup after numeric
Ken Raeburn [Thu, 2 Aug 2001 01:57:20 +0000 (01:57 +0000)]
* hostaddr.c (krb5_os_hostaddr): Only retry non-numeric lookup after numeric
lookup if AI_NUMERICHOST is nonzero.

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

23 years ago* fake-addrinfo.h (AI_NUMERICHOST): Define as zero if not already defined
Ken Raeburn [Wed, 1 Aug 2001 04:01:29 +0000 (04:01 +0000)]
* fake-addrinfo.h (AI_NUMERICHOST): Define as zero if not already defined

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

23 years ago* configure.in: Include stdlib.h in test for swab declaration
Ken Raeburn [Wed, 1 Aug 2001 02:31:13 +0000 (02:31 +0000)]
* configure.in: Include stdlib.h in test for swab declaration

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

23 years agokrb5_check_transited_list now takes pointers to const
Ken Raeburn [Tue, 31 Jul 2001 23:58:12 +0000 (23:58 +0000)]
krb5_check_transited_list now takes pointers to const

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

23 years ago * svr_principal.c (check_pw_reuse): Change argument for
Ezra Peisach [Tue, 31 Jul 2001 08:53:49 +0000 (08:53 +0000)]
    * svr_principal.c (check_pw_reuse): Change argument for
        n_pw_hist_data to unsigned to be consistant with calling
        convention.

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

23 years ago * read_passwd.c: Create local variable that takes the "int"
Ezra Peisach [Tue, 31 Jul 2001 08:53:02 +0000 (08:53 +0000)]
    * read_passwd.c: Create local variable that takes the "int"
        bufsize and makes it unsigned for use in malloc, strcmp, etc.

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

23 years ago * genaddrs.c: Use GETPEERNAME_ARG2_TYPE, GETPEERNAME_ARG3_TYPE
Ezra Peisach [Tue, 31 Jul 2001 08:52:36 +0000 (08:52 +0000)]
    * genaddrs.c: Use GETPEERNAME_ARG2_TYPE, GETPEERNAME_ARG3_TYPE
        instead of assuming types.

        * changepw.c: Use GETSOCKNAME_ARG3_TYPE instead of int in casts.

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

23 years ago * get_in_tkt.c: Cast to unsigned krb5_error error value to
Ezra Peisach [Tue, 31 Jul 2001 08:52:03 +0000 (08:52 +0000)]
    * get_in_tkt.c: Cast to unsigned krb5_error error value to
        krb5_error_code before trying to add to ERROR_TABLE_BASE_krb5.

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

23 years ago * aclocal.m4: Fix typo in last change. Do not get rid of
Ezra Peisach [Tue, 31 Jul 2001 01:34:25 +0000 (01:34 +0000)]
    * aclocal.m4: Fix typo in last change. Do not get rid of
        spaces in definitions.

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

23 years ago * sendauth.c (krb5_sendauth): Instead of casting second argument
Ezra Peisach [Mon, 30 Jul 2001 21:36:34 +0000 (21:36 +0000)]
* sendauth.c (krb5_sendauth): Instead of casting second argument
to getpeername() and getsockname() to "struct sockaddr *", cast to
system specific type as determined by autoconf.

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

23 years ago * configure.in: Add KRB5_GETSOCKNAME_ARGS and KRB5_GETPEERNAME_ARGS
Ezra Peisach [Mon, 30 Jul 2001 21:35:08 +0000 (21:35 +0000)]
    * configure.in: Add KRB5_GETSOCKNAME_ARGS and KRB5_GETPEERNAME_ARGS

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

23 years agoChecked in correct change without extraneous debugging code
Ezra Peisach [Mon, 30 Jul 2001 21:34:18 +0000 (21:34 +0000)]
Checked in correct change without extraneous debugging code

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

23 years ago * aclocal.m4: Add functions KRB5_GETSOCKNAME_ARGS and
Ezra Peisach [Mon, 30 Jul 2001 21:32:48 +0000 (21:32 +0000)]
* aclocal.m4: Add functions KRB5_GETSOCKNAME_ARGS and
KRB5_GETPEERNAME_ARGS to elucidate the argument types to
getsockname() and getpeername().

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

23 years ago * ftp.c: Declare mech_type in struct gss_trials gss_OID to be
Ezra Peisach [Mon, 30 Jul 2001 18:22:14 +0000 (18:22 +0000)]
    * ftp.c: Declare mech_type in struct gss_trials gss_OID to be
        compatible with GSS_C_NO_OID type. (was gss_OID *).

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

23 years agoUnmark gss_mech_krb5 variable as an import
Danilo Almeida [Sat, 28 Jul 2001 00:32:00 +0000 (00:32 +0000)]
Unmark gss_mech_krb5 variable as an import

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

23 years agoDo no export gss_mech_krb5
Danilo Almeida [Sat, 28 Jul 2001 00:16:51 +0000 (00:16 +0000)]
Do no export gss_mech_krb5

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

23 years agoRemove local Win32-specific definition of gss_mech_krb5.
Danilo Almeida [Sat, 28 Jul 2001 00:16:06 +0000 (00:16 +0000)]
Remove local Win32-specific definition of gss_mech_krb5.
Use GSS_C_NO_OID instead of gss_mech_krb5 for mech_type to use an
implementation specific default.

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

23 years agoExport gss_mech_krb5 as DATA. Mark all exported variables as DATA
Danilo Almeida [Fri, 27 Jul 2001 23:41:00 +0000 (23:41 +0000)]
Export gss_mech_krb5 as DATA.  Mark all exported variables as DATA

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