Commit Graph

7219 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1e4a6015a7 support cfx, try to handle acceptor asserted subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:38:46 +00:00
Love Hörnquist Åstrand
f3dbe53b49 support cfx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:36:30 +00:00
Love Hörnquist Åstrand
73518e4282 handle changed signature of gssapi_msg_order_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:33:00 +00:00
Love Hörnquist Åstrand
fb53d3762e handle acceptor asserted subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:31:02 +00:00
Love Hörnquist Åstrand
b521a2fb43 (krb5_mk_rep): if KRB5_AUTH_CONTEXT_USE_SUBKEY is set send subkey
(generate if needed)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:16:58 +00:00
Love Hörnquist Åstrand
e3042fc389 add KRB5_AUTH_CONTEXT_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:14:16 +00:00
Love Hörnquist Åstrand
2588cbdf67 enforce AcceptorSubkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:11:59 +00:00
Love Hörnquist Åstrand
0fad3bb6c6 add dummy use_64 argument to gssapi_msg_order_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 14:17:26 +00:00
Love Hörnquist Åstrand
1ad028847b add partial support for CFX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 14:15:56 +00:00
Love Hörnquist Åstrand
b7f5b8d93a (noinst_PROGRAMS) += test_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 13:49:33 +00:00
Love Hörnquist Åstrand
8fcc3f5f47 fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 13:44:47 +00:00
Love Hörnquist Åstrand
ec4ebceca9 gssapi credential testing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 13:39:31 +00:00
Love Hörnquist Åstrand
ea42ef5261 clean up error handling, plug memory leaks, and free memory in error path,
assume realloc(NULL, ...) works, factor out common code, indent


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 12:38:48 +00:00
Love Hörnquist Åstrand
1e0d125761 understand [password_quality]
spelling


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 09:00:12 +00:00
Love Hörnquist Åstrand
39dc6f4fa5 (fcc_store_cred): NULL terminate krb5_config_get_bool_default' arglist
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-10 13:28:15 +00:00
Love Hörnquist Åstrand
9197bbb0c8 rename ca_dir to pkinit/x509_anchors since its more like that language
in RFC3280


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 21:06:10 +00:00
Love Hörnquist Åstrand
ed64621d8e document [libdefaults]fcc-mit-ticketflags=boolean
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 19:48:53 +00:00
Love Hörnquist Åstrand
cd4be77fc7 (fcc_store_cred): use [libdefaults]fcc-mit-ticketflags=boolean to
decide what format to write the fcc in. Default to mit version (aka
heimdal 0.7)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:40:05 +00:00
Love Hörnquist Åstrand
a73db09513 add _krb5_store_creds_heimdal_0_7 and
_krb5_store_creds_heimdal_pre_0_7 that store the creds in just that format
make krb5_store_creds default to mit format


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:34:59 +00:00
Love Hörnquist Åstrand
9107f84073 (krb5_ret_creds): Runtime detect the what is the higher bits of the
bitfield


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:13:23 +00:00
Love Hörnquist Åstrand
4ccc9ed53b (krb5_store_creds): add disabled code that store the ticket flags in
reverse order
(bitswap32): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-08 19:27:42 +00:00
Love Hörnquist Åstrand
ac134c6bf0 (krb5_ret_creds): if the higher ticket flags are set, its a mit cache,
reverse the bits, bug pointed out by Sergio Gelato <Sergio.Gelato@astro.su.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-08 18:49:12 +00:00
Love Hörnquist Åstrand
1ac5cd4aa5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:44:49 +00:00
Love Hörnquist Åstrand
dd88e2f3fb (kadm5_s_create_principal): remove old XXX command and related code,
_kadm5_set_keys will do all this now


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:43:46 +00:00
Love Hörnquist Åstrand
a0390fc0ee drop structures for message formats, no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:30:57 +00:00
Love Hörnquist Åstrand
7b94ee3d0e comment describing message formats
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:29:54 +00:00
Love Hörnquist Åstrand
44428fe1de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:27:31 +00:00
Love Hörnquist Åstrand
2220d2a312 use macro for HDB * -> LDAP *
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:04:39 +00:00
Love Hörnquist Åstrand
103cb19803 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:03:00 +00:00
Love Hörnquist Åstrand
12289e8b96 (default_etypes): avoid using disabled enctypes
(set_etypes): avoid using disabled enctypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 20:59:39 +00:00
Love Hörnquist Åstrand
c5fd7d3102 Intergrate Heimdal's hdb-ldap and the Samba password database.
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:38:48 +00:00
Love Hörnquist Åstrand
49d345d693 add support for disabling checksum/encryption types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:04:59 +00:00
Love Hörnquist Åstrand
ae01d1df5e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:26:41 +00:00
Love Hörnquist Åstrand
912dfa6eee (spnego_accept_sec_context): make sure the length of the choice
element doesn't overrun us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:26:20 +00:00
Love Hörnquist Åstrand
f96b2ccb60 (spnego_reply): make sure the length of the choice element doesn't
overrun us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:25:33 +00:00
Love Hörnquist Åstrand
1b7fe5bcc4 fix prototype of encode_utf8string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:03:49 +00:00
Love Hörnquist Åstrand
15ba74a10d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 13:38:23 +00:00
Love Hörnquist Åstrand
8dd36b4b32 move NegotiationToken to avoid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 13:38:08 +00:00
Love Hörnquist Åstrand
46418aa4c8 uncomment NegotiationToken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:57:02 +00:00
Love Hörnquist Åstrand
5c87eb99f3 spnego_files += asn1_NegotiationToken.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:56:39 +00:00
Love Hörnquist Åstrand
f2bdee2b8d catch CHOICE and generate dummy placeholder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:44:00 +00:00
Love Hörnquist Åstrand
322b4a8a3e added dummy parsing of CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:42:55 +00:00
Love Hörnquist Åstrand
2e03946bac revert the part of the file I didn't mean to commit yet (samba support)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:13:16 +00:00
Love Hörnquist Åstrand
6a63f6b416 drop SMTP_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:09:24 +00:00
Love Hörnquist Åstrand
34659fc782 support building ldap backend as module
sort asn1 hdb files


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:30:21 +00:00
Love Hörnquist Åstrand
e4b3116bfe when building ldap as a shared module, don't include it in the list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:26:46 +00:00
Love Hörnquist Åstrand
f46a1ac367 make ldap possible to build as a shared module
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 21:51:24 +00:00
Love Hörnquist Åstrand
44cb7e1d74 add hdb_{,un}seal_key{,_mkey} from Andrew Bartlett <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 18:58:22 +00:00
Love Hörnquist Åstrand
02bf38f7a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 17:27:04 +00:00
Love Hörnquist Åstrand
5065dd4bc7 (decrypt_internal_special): do not not modify the original data
test case from Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 16:36:46 +00:00