Commit Graph

7729 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
4b69fa3283 plug memory leak on file matching
make it not fall over when no non matching acl
make fnmatch matching useful by switching arguments


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-20 07:05:46 +00:00
Love Hörnquist Åstrand
525c7fe95d (hdb_list_builtin): return a list of builtin backends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 20:08:28 +00:00
Love Hörnquist Åstrand
8177991133 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:58:39 +00:00
Love Hörnquist Åstrand
2d09789c2f add gss_krb5_get_tkt_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:58:29 +00:00
Love Hörnquist Åstrand
dc9d8165e6 add ticket_flags.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:56:04 +00:00
Love Hörnquist Åstrand
043c5a4e67 Get ticket-flags from acceptor ticket
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:55:50 +00:00
Love Hörnquist Åstrand
b7036067de document gss_krb5_get_tkt_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:54:26 +00:00
Johan Danielsson
4385cd757d add a bunch of Li and document [kadmin] password_lifetime; from Henry B. Hotz
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-18 07:22:44 +00:00
Love Hörnquist Åstrand
816f8ee982 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:43:37 +00:00
Love Hörnquist Åstrand
b5cdf72e01 (gss_acquire_cred): check usage before even bothering to process it,
add both keytab and initial tgt if requested


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:42:39 +00:00
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