Commit Graph

14222 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a3f06cb5e1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 09:28:55 +00:00
Love Hörnquist Åstrand
daf0e37e03 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 08:57:12 +00:00
Love Hörnquist Åstrand
84029d29a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:58:42 +00:00
Love Hörnquist Åstrand
6084387c52 (DES_string_to_key_int): must check for weak keys after doing the
DES_cbc_cksum


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:41:40 +00:00
Love Hörnquist Åstrand
56ec611558 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:12:00 +00:00
Love Hörnquist Åstrand
4dbad04b08 key argument to RC4_set_key is not const, remove const from variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:03:36 +00:00
Love Hörnquist Åstrand
5b36aeeb92 remove dependency on asprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:57:15 +00:00
Love Hörnquist Åstrand
34f9fc3df4 make destest only once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:32:56 +00:00
Love Hörnquist Åstrand
1b00602939 use errx on failures, not warnx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:30:48 +00:00
Love Hörnquist Åstrand
76b11e195f bring back from the dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:31:01 +00:00
Love Hörnquist Åstrand
c93c4d1a8b Replace the eay DES code with key scheule setup code by me and DES
s-box and p permutation from Richard Outerbridge implemtation (in
public domain).  The DES modes are implemented by me. ui.c code are
from appl/login.

The implementation is about 3 times slower then Eric for encryption,
and about the same speed for key setup.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:29:36 +00:00
Luke Howard
244ca04320 Remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is no longer in rfc2478bis
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:48:15 +00:00
Luke Howard
1d02386069 don't call krb5_get_credentials() with
KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache
growing indefinitely as no key is found with KEYTYPE_NULL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:44:25 +00:00
Luke Howard
0352c20280 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:51:36 +00:00
Luke Howard
d3251a6794 Set KD_CONFIG after calling config_get_hosts() in kpasswd_get_next()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:50:26 +00:00
Love Hörnquist Åstrand
95ade8fa77 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-16 04:43:16 +00:00
Love Hörnquist Åstrand
e61d38b112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:47:03 +00:00
Love Hörnquist Åstrand
0e11d3a6ee (DB_open): correct the check for O_RDONLY
From: Chaskiel M Grundman <cg2v@andrew.cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:45:38 +00:00
Love Hörnquist Åstrand
fd05385450 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:34:05 +00:00
Love Hörnquist Åstrand
d592d092c7 man_MANS += pagsh.1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:27:01 +00:00
Love Hörnquist Åstrand
17dc617a7f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:24:06 +00:00
Love Hörnquist Åstrand
aeedc46505 add --cache-type that allows the user to control the resulting
credential cache type, inherit the type from the invoking process


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:23:28 +00:00
Love Hörnquist Åstrand
fb681cc82f manpag for pagsh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:21:01 +00:00
Love Hörnquist Åstrand
dde94bd04f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:59 +00:00
Love Hörnquist Åstrand
4651d05136 (krb5_random_to_key): cast size_t to int to make %d work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:44 +00:00
Love Hörnquist Åstrand
c7d0a66e29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:13:38 +00:00
Love Hörnquist Åstrand
620f5d40f8 (krb5_kt_get_entry): tell what enctype the caller requested to provide
the user with a glue what the caller was asking for.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:12:53 +00:00
Luke Howard
4e70d33d3f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:34:48 +00:00
Luke Howard
fb69189ceb Add _krb5_kcm_is_running/_krb5_kcm_noop API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:33:21 +00:00
Luke Howard
d3bff0ec79 Allow system credentials cache to be configured in krb5.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:22:49 +00:00
Love Hörnquist Åstrand
dbc6d542fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 13:08:20 +00:00
Love Hörnquist Åstrand
3057095acc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 12:59:52 +00:00
Luke Howard
7969a14ae3 fix warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 05:58:54 +00:00
Luke Howard
f0836321b9 Automatically change machine passwords on expiry, and write to keytab
with correct salt/kvno


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-04 05:57:59 +00:00
Luke Howard
9505008e9c fix more SO_PEERCRED breakage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:50:12 +00:00
Luke Howard
63aae9c6e8 Fix compile error for SO_PEERCRED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:39:37 +00:00
Love Hörnquist Åstrand
77ebf59fe4 use -1 as the invalid pid number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:33:45 +00:00
Love Hörnquist Åstrand
885c805e3b support SCM_CREDS (for NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 12:33:05 +00:00
Luke Howard
29e616b3f6 Use kcm_client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:14:00 +00:00
Love Hörnquist Åstrand
6c9040b3cb LDADD += LIB_pidfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:06:51 +00:00
Love Hörnquist Åstrand
007d25998b make it possible to build on systems without SO_PEERCRED (still doesn't work)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:06:24 +00:00
Love Hörnquist Åstrand
49785787e2 cast argument to isdigit to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:54:19 +00:00
Luke Howard
c3ac82ceac Fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:52:56 +00:00
Love Hörnquist Åstrand
e5e8db131d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:29 +00:00
Love Hörnquist Åstrand
9d8ae839f2 de-__P
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:13 +00:00
Love Hörnquist Åstrand
5d95fe0e1c document large_msg_size
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:39:57 +00:00
Love Hörnquist Åstrand
c75a81d69f (init_context_from_config_file): init large_msg_size to 6000
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:36:25 +00:00
Love Hörnquist Åstrand
a298a950b1 (krb5_context_data): add large_msg_size, threshold where we start to
use transport protocols without tiny max data transport sizes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:26:27 +00:00
Luke Howard
6bc11e98ea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:45 +00:00
Love Hörnquist Åstrand
1ba81cd3f1 drop prototypes, they all live in krb5-private.h by now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:31 +00:00