Ken Raeburn [Wed, 17 Oct 2001 22:35:04 +0000 (22:35 +0000)]
better version of last change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13817
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 17 Oct 2001 22:29:52 +0000 (22:29 +0000)]
* locate_kdc.c (add_host_to_list): If sa_len field exists and is zero, try to
fill it in. Another AIX 4.3.3 bug workaround.
* sendto_kdc.c (krb5_sendto_kdc) [DEBUG]: More fprintf calls for tracing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13816
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 17 Oct 2001 20:16:31 +0000 (20:16 +0000)]
Provide a little bit of usage info. More error-checking
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13815
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 17 Oct 2001 16:32:25 +0000 (16:32 +0000)]
* def-check.pl: New file. Not currently used by any automatic
processes. Checks krb5.hin against krb5_32.def for consistency;
might work with other .h/.def files but hasn't been tested.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13814
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Tue, 16 Oct 2001 10:12:31 +0000 (10:12 +0000)]
* svr_principal.c (add_to_history): If the policy a principal uses has
been changed to hold a lesser number of history entries than it did
before, extract the correct number and value of old keys from the
history array into a newly allocated array of the proper size. Failing
to do this made kadmind vulnerable to a crash upon changing such a
principal's password. Original patch written by Matt Crawford, with
a few changes.
[Fixes krb5-admin/929]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13813
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Tue, 16 Oct 2001 02:27:45 +0000 (02:27 +0000)]
* krb5_32.def: Add krb5_kt_* functions: krb5_kt_close,
krb5_kt_get_entry, krb5_kt_get_name, krb5_kt_get_type,
krb5_kt_start_seq_get, krb5_kt_next_entry, and krb5_kt_end_seq_get.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13812
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Tue, 16 Oct 2001 00:28:10 +0000 (00:28 +0000)]
Add KRB5_CALLCONV to krb5_kt_get_type
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13811
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 13 Oct 2001 00:01:17 +0000 (00:01 +0000)]
* kdc_util.c (ktypes2str, rep_etypes2str): Clean up somewhat
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13808
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 12 Oct 2001 22:49:02 +0000 (22:49 +0000)]
Replace keytab function-table dispatch macros in krb5.h with functions defined
in krb5 library. Make keytab-related structures internal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13807
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 12 Oct 2001 02:40:43 +0000 (02:40 +0000)]
* post.in: Minor tidying. Make the target of the mondo recursion
rule commands be the variable $(RECURSE_TARGETS).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13806
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 12 Oct 2001 02:38:18 +0000 (02:38 +0000)]
* configure.in (HOST_TYPE): Remove SHLIB_TAIL_COMP; it's no longer
needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13805
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Thu, 11 Oct 2001 08:38:32 +0000 (08:38 +0000)]
* ftpd.M: Remove improper formatting from the .SH NAME section, as it
was reported to cause windex generation problems and was inconsistent
with all the other man pages.
[Fixes krb5-doc/319]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13802
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 11 Oct 2001 03:37:44 +0000 (03:37 +0000)]
Update automatic dependencies to work on Windows by using $(OUTPRE) and
$(OBJEXT). Change a couple of UNIX rules to not trigger incorrectly on
Windows. Rebuild dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13801
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 11 Oct 2001 00:35:52 +0000 (00:35 +0000)]
* ftp.c: Conditionalize declarations of some "unused variables" to
eliminate warnings. ANSI-fy definitions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13800
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 11 Oct 2001 00:12:03 +0000 (00:12 +0000)]
* gic_pwd.c (krb5_get_as_key_password),
gic_keytab.c (krb5_get_as_key_keytab): Use ANSI-style
declaration in definition.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13799
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 11 Oct 2001 00:10:44 +0000 (00:10 +0000)]
* intern.c (ScreenInsChar): Return BOOL
* enc_des.h: Remove undefined encrypt_send_supprt().
* encrypt.h: Fix parameters in declaration for encrypt_init().
Remove undefined encrypt_send_supprt().
* screen.h: HANDLE -> HINSTANCE. ScreenInsChar() returns BOOL.
* wt-proto.h: Remove WinMain declaration since that is already in
the standard Windows headers. Update declarations to current
Microsoft Platform SDK definitions. Remove some undefined
functions.
* telnet.c: Update declarations to use definitions in current
Microsoft Platform SDK (HANDLE -> HINSTANCE, and others).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13798
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 10 Oct 2001 22:27:17 +0000 (22:27 +0000)]
* cc_file.c (krb5_fcc_read): Remove const from fourth argument to
function to match prototype earlier in file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13797
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 10 Oct 2001 22:23:55 +0000 (22:23 +0000)]
* localaddr.c (krb5_os_localaddr_profile): Cast argument to
isspace() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13796
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 10 Oct 2001 04:06:11 +0000 (04:06 +0000)]
* kadmin.c (kadmin_parse_name): Properly advance pointer in certain error cases
involving '@'. Patch from Emily Ratliff, <ratliff@austin.ibm.com>.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13795
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 10 Oct 2001 03:56:56 +0000 (03:56 +0000)]
* init_ctx.c (init_common): After fetching kdc_default_options value from
krb5.conf, actually use that value. Pointed out by Emily Ratliff,
<ratliff@austin.ibm.com>.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13794
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 10 Oct 2001 03:27:00 +0000 (03:27 +0000)]
logger.c (krb5_klog_init): Initialize savec to keep compiler happy
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13793
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 10 Oct 2001 03:18:22 +0000 (03:18 +0000)]
Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 9 Oct 2001 21:14:20 +0000 (21:14 +0000)]
* mglueP.h: Make all prototypes unconditional
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13791
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Sun, 7 Oct 2001 08:06:27 +0000 (08:06 +0000)]
* krb_auth_su.c: Fix a call to plain_dump_principal() that had the
wrong number of arguments but was only compiled if GET_TGT_VIA_PASSWD
wasn't defined.
[Fixes krb5-clients/998]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13790
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 6 Oct 2001 03:27:33 +0000 (03:27 +0000)]
KRB5_EXPORTVAR is defined lots of places but never used; delete it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13787
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 6 Oct 2001 03:14:42 +0000 (03:14 +0000)]
Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit FAR/NEAR specs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 6 Oct 2001 00:11:20 +0000 (00:11 +0000)]
* do_tgs_req.c (process_tgs_req): Fix logging of bad transit path info
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13784
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 5 Oct 2001 21:42:19 +0000 (21:42 +0000)]
Put back GSS_DLLIMP for variables, but define the macro here instead of in
win-mac.h. Drop far/near pointer specs, and _MSDOS (Win16) support.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13780
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 4 Oct 2001 18:51:32 +0000 (18:51 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): Ignore
unrecognized options properly. [krb5-libs/738]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13778
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 4 Oct 2001 00:39:57 +0000 (00:39 +0000)]
Danilo says we can get rid of the DLLIMP stuff now
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 2 Oct 2001 20:03:55 +0000 (20:03 +0000)]
* Makefile.in (includes): Depend on
$(BUILDTOP)/include/krb5/autoconf.h. Automatic dependencies do not
work on systems in which shared libraries are build without static
ones.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13773
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 2 Oct 2001 01:13:07 +0000 (01:13 +0000)]
Fix typo: it's install-guide.ps, not install.ps
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13772
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 2 Oct 2001 01:06:36 +0000 (01:06 +0000)]
* accept_sec_context.c (rd_and_store_for_creds): Handle error
returns from krb5_rd_cred more sanely.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13768
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 29 Sep 2001 04:26:42 +0000 (04:26 +0000)]
* locate_kdc.c (add_host_to_list): If address family in sockaddr structure is
zero, copy it in from the addrinfo structure. Bug workaround for AIX 4.3.3.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13767
dc483132-0cff-0310-8789-
dd5450dbe970
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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