Commit Graph

9501 Commits

Author SHA1 Message Date
Assar Westerlund
e5d727b2c8 (gss_accept_sec_context): add missing variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-19 15:32:58 +00:00
Assar Westerlund
8a1e9b058a add string.h (for memset)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-19 15:25:09 +00:00
Assar Westerlund
00308e6e74 (gss_accept_sec_context): either return gss_name NULL-ed or set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-18 20:41:25 +00:00
Assar Westerlund
11eeed3017 add missing setting of minor_status and failure checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-18 03:39:09 +00:00
Assar Westerlund
acdf864037 set minor_status in some cases where it was not done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-17 23:47:55 +00:00
Assar Westerlund
c83d198455 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-16 15:26:57 +00:00
Assar Westerlund
81997ac2c8 correct weak keys and update comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-16 15:26:37 +00:00
Assar Westerlund
347ad39acd correct conditional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 06:46:28 +00:00
Assar Westerlund
ed12e225b2 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 06:41:44 +00:00
Assar Westerlund
57286bc935 use krb5_generate_random_block for the confounders
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 06:41:32 +00:00
Assar Westerlund
55aac718a3 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:41:22 +00:00
Assar Westerlund
7eb8627661 (_warnerr): add printf attributes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:36:00 +00:00
Assar Westerlund
00c631c64b (krb5_sendto): loop over all address returned by getaddrinfo before
trying the next kdc.  from thorpej@netbsd.org


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:35:22 +00:00
Assar Westerlund
59b418d21a fix default_realm in example
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:32:58 +00:00
Assar Westerlund
df55b44a5d (default_proc): add printf attributes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:31:52 +00:00
Assar Westerlund
d0c476f2df (psyslog): do not log to console
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:30:05 +00:00
Assar Westerlund
594fe33695 fix a few kdc_log format types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:29:18 +00:00
Assar Westerlund
887c2b9d5e (main): use a `struct sockaddr_storage' to be able to store all types
of addresses


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:28:36 +00:00
Assar Westerlund
ffd496571c try to handle libdes/libcrypto ont requiring -L
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:24:54 +00:00
Assar Westerlund
2aefcf796c try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:20:54 +00:00
Assar Westerlund
13ade23201 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:17:22 +00:00
Assar Westerlund
b3e42a41d3 (setpeer): handle both service names and port numbers for the second
optional argument.  also make parsing more robust


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:17:09 +00:00
Assar Westerlund
e7dcc1ea15 (main): fix select-loop to decrement ret correctly. from "Brandon
S. Allbery KF8NH" <allbery@ece.cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-14 23:00:16 +00:00
Assar Westerlund
49b2f7b598 correct the two last weak keys in accordance with FIPS 74. noted by
<jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-14 21:25:29 +00:00
Assar Westerlund
f34e4b60f8 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-13 04:07:48 +00:00
Assar Westerlund
e0a9474c07 add more functions to rename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-13 04:05:38 +00:00
Assar Westerlund
6de2ec79bd *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 22:02:00 +00:00
Assar Westerlund
972fab9eeb roken rename dns functions used in libkafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 22:01:27 +00:00
Assar Westerlund
28160c99b9 printf format fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 17:13:13 +00:00
Assar Westerlund
f06ba3d962 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 13:55:28 +00:00
Assar Westerlund
daf1381122 (getnameinfo_verified): do the first getnameinfo with NI_NUMERICSERV
to avoid the error that bind 8.2.3 reports on not finding the service
(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 13:55:07 +00:00
Assar Westerlund
8a73d26b99 fix @itemize markup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-11 17:10:34 +00:00
Assar Westerlund
22dc328f83 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-10 18:31:29 +00:00
Assar Westerlund
6f980743fb (generate_type_decode): zero the data at the beginning of the
generated function, and add a label `fail' that the code jumps to in
case of errors that frees all allocated data


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-10 18:14:38 +00:00
Assar Westerlund
c6be2d0aad *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-09 14:45:51 +00:00
Assar Westerlund
ecdd5eff7c (doit): call inet_ntop with correct af, noted by Ake Sandgren
<ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-09 14:45:30 +00:00
Assar Westerlund
aa5a20e4ed *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 19:05:34 +00:00
Assar Westerlund
ab0f3be0d5 (getnameinfo_verified): always capture the service from getnameinfo so
it can be sent back to getaddrinfo and set socktype to avoid
getaddrinfo not returning any addresses


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 19:05:15 +00:00
Assar Westerlund
e303d1ef7f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:09:41 +00:00
Assar Westerlund
f63c97442d try to write a useful string as host in utmp, using the same algoritm
as telnetd


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:08:47 +00:00
Assar Westerlund
c0ff298e15 (startslave, start_login): re-write code to keep track both of remote
hostname and utmp string to be used


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:07:28 +00:00
Assar Westerlund
5efe4881d6 (doit, my_telnet): re-write code to keep track both of remote hostname
and utmp string to be used


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:06:27 +00:00
Assar Westerlund
1de4122ebd update prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:05:13 +00:00
Assar Westerlund
ecc382a9da *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 22:45:45 +00:00
Assar Westerlund
69dadc0db8 (dpagaix): needs to be linked with ld, add an explicit command for
it.  from Ake Sandgren <ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 22:45:37 +00:00
Assar Westerlund
99fa1b08a6 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 19:57:02 +00:00
Assar Westerlund
b56e55eb69 (sec_end): only clean app_data if there is any
(*): do realloc consistently


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 10:49:43 +00:00
Assar Westerlund
179dcca14b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:29:53 +00:00
Assar Westerlund
16732f1b66 add -F for forwarding ticket, from Ake Sandgren <ake@cs.umu.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:28:54 +00:00
Assar Westerlund
c24ab2bbcc aix dce: fix misquotes, from Ake Sandgren <ake@cs.umu.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:26:22 +00:00