Commit Graph

12948 Commits

Author SHA1 Message Date
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 86731c301b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 09:00:37 +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 bd31b8f01f document --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:34:04 +00:00
Love Hörnquist Åstrand f6774ea083 add --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:30:19 +00:00
Love Hörnquist Åstrand 1cb5134603 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-10 13:31:44 +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 385e248573 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 23:06:06 +00:00
Love Hörnquist Åstrand 82f29d3611 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:38:53 +00:00
Love Hörnquist Åstrand 72ca40b845 add missing req argument to pk_mk_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:34:18 +00:00
Love Hörnquist Åstrand d263741bef update prototype for pk_mk_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:18:57 +00:00
Love Hörnquist Åstrand dc86c0f0f9 (pk_mk_pa_reply): add hdb_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:16:40 +00:00
Love Hörnquist Åstrand b92b16c0a7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:01:26 +00:00
Love Hörnquist Åstrand b7907c6862 pass client hdb_entry to pk_check_client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:00:37 +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 3036c59b11 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 19:53:17 +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 7df5fa555f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:40:25 +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 93039e0e86 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 17:13:36 +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 52ca7f03b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-08 19:30:46 +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 3fabe949fa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:15:08 +00:00
Love Hörnquist Åstrand 5eff423047 document password-quality
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:14:02 +00:00
Love Hörnquist Åstrand 9023be3478 add prototype for password_quality
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:09:15 +00:00
Love Hörnquist Åstrand f955d60539 add password-quality/pwq command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:05:12 +00:00
Love Hörnquist Åstrand 511b038cd6 kadmin_SOURCES += pw_quality.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:03:16 +00:00
Love Hörnquist Åstrand cd5f65d118 test run the password quality function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:02:04 +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 4f690bbc3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:05:59 +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 565649502f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:24:12 +00:00
Love Hörnquist Åstrand 5ca59aff01 when running kinit with a subprocess, fetch new tickets after half the
tickets lifetime


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:17:53 +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 75e129b9e4 framework for
* Using LDAP to store the database::
* Using Samba LDAP password database::


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 18:49:32 +00:00
Love Hörnquist Åstrand 2b2320a169 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:41:15 +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 c617bcd29c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:25:30 +00:00
Love Hörnquist Åstrand f1b20f9982 document new behavior
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:24:58 +00:00
Love Hörnquist Åstrand 7a0e97dd31 even if kx failes, start anyway
From: Harald Barth <haba@pdc.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:22:06 +00:00
Love Hörnquist Åstrand 888ded8039 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:11:14 +00:00
Love Hörnquist Åstrand 288ae5fc9a add --disable-DES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:10:46 +00:00