Commit Graph

15220 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9f66cd3701 Constify strings to avoid warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:30:55 +00:00
Love Hörnquist Åstrand
13ef94d8d7 (dns_find_realm): Fix const warnings, plug memory leak. From: Stefan
Metzmacher <metze@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:14:02 +00:00
Love Hörnquist Åstrand
d0fdf95591 Document what happens with NULL to krb5_config_free_strings
(nothing). Mdoc nit.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:09:34 +00:00
Love Hörnquist Åstrand
c8426cf5e1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 20:18:46 +00:00
Love Hörnquist Åstrand
ded223d98f (check_for_tgt): Re-order code so it only free the credential if one
was returned.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 20:18:06 +00:00
Love Hörnquist Åstrand
683d9e9a7d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:17:01 +00:00
Love Hörnquist Åstrand
8c05794963 (dns_lookup_int): if we have res_ndestroy, prefeer that before res_nclose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:16:21 +00:00
Love Hörnquist Åstrand
4d4bf3ed94 Check for res_ndestroy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:14:28 +00:00
Love Hörnquist Åstrand
6c2304642e Add KRB5-PADATA-PK-AS-09-BINDING, client send this (with an empty
pa-data.padata-value) to tell the KDC that the client support the
binding the PA-REP to the AS-REQ packet. This is to fix the problem
lack of binding the AS-REQ to the PK-AS-REP in pre PK-INIT-27. The
nonce is replaced with a asCheckSum.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:09:25 +00:00
Love Hörnquist Åstrand
825cc1ee2a Fix printing of size_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 14:05:20 +00:00
Love Hörnquist Åstrand
96ebe5947e (hdb_seal_key_mkey): dont double encrypt keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:06 +00:00
Love Hörnquist Åstrand
a186871617 provide locking for version entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:05 +00:00
Love Hörnquist Åstrand
8822335041 only add krb5EncryptionType for already existing entries or heidmal entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:04 +00:00
Love Hörnquist Åstrand
5d847fc33b provide interface to find avaible databates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:03 +00:00
Love Hörnquist Åstrand
c373c7f04d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-15 11:07:40 +00:00
Love Hörnquist Åstrand
5731755053 Update prototype for _kdc_pk_mk_pa_reply.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-15 11:07:25 +00:00
Love Hörnquist Åstrand
3da5ed6a9a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-13 08:26:03 +00:00
Love Hörnquist Åstrand
d78bed5eaa Save the request buffer so that pre-auth mechanism that needs it can
verify the reply.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-13 08:25:32 +00:00
Love Hörnquist Åstrand
187a29664b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:43:57 +00:00
Love Hörnquist Åstrand
e890ac91be Rename logf to avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:43:46 +00:00
Love Hörnquist Åstrand
2d62579361 Rename optind to optidx to avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:42:17 +00:00
Love Hörnquist Åstrand
99d1e51d5a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:32:28 +00:00
Love Hörnquist Åstrand
9e2b81fa10 Fix the version number for fcc-mit-ticketflags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:32:11 +00:00
Love Hörnquist Åstrand
a20802f00e Revert previous, I was confused.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:31:19 +00:00
Love Hörnquist Åstrand
44e8d45767 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:16:39 +00:00
Love Hörnquist Åstrand
d79c64be70 Document fcc-mit-ticketflags in COMPATIBILITY section.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:16:28 +00:00
Love Hörnquist Åstrand
d48840959b (fcc_store_cred): default to MIT style ticket flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:11:47 +00:00
Love Hörnquist Åstrand
aa0dc9b533 Switch over logging and comments to -27.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:21:40 +00:00
Love Hörnquist Åstrand
761074d9a4 (pk_mk_pa_reply_enckey): add missing break;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:14:52 +00:00
Love Hörnquist Åstrand
329cb0079e Update prototype for krb5_create_checksum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:01:22 +00:00
Love Hörnquist Åstrand
9c7e1cc84a Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:58:10 +00:00
Love Hörnquist Åstrand
f7aeb827d3 Implement verification of asChecksum, now client side code is using
-27 of the pk-init draft.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:53:00 +00:00
Love Hörnquist Åstrand
f03c6de773 update prototype for _kdc_as_rep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:46:39 +00:00
Love Hörnquist Åstrand
77d146c528 Pass down the request buffer to _kdc_as_rep().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:25:48 +00:00
Love Hörnquist Åstrand
fa2d2092a7 (_kdc_as_rep): Pass down the request buffer to _kdc_pk_mk_pa_reply.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:24:50 +00:00
Love Hörnquist Åstrand
d8b8b146cc Fill in asChecksum, we now implements -27 in the KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:17:13 +00:00
Love Hörnquist Åstrand
406caf3df5 HDB extensions access glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:49:31 +00:00
Love Hörnquist Åstrand
a28f99c821 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:48:44 +00:00
Love Hörnquist Åstrand
abf82fc886 Remove structure that is never used (sneaked in the large TL_DATA patch).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:48:30 +00:00
Love Hörnquist Åstrand
1246a22076 Implement KADM5_LAST_PWD_CHANGE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:43:43 +00:00
Love Hörnquist Åstrand
be4a48e5aa Rename password-quality to verify-password-quality.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:41:30 +00:00
Love Hörnquist Åstrand
a76cd62f8b Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:33:57 +00:00
Love Hörnquist Åstrand
d333ca3000 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:11:19 +00:00
Love Hörnquist Åstrand
8acefbf5a0 Update (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 17:12:13 +00:00
Love Hörnquist Åstrand
655b8bc34d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 15:28:36 +00:00
Love Hörnquist Åstrand
d1f924e1ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:10:04 +00:00
Love Hörnquist Åstrand
432fc6a9b3 Add more options that was missing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:09:38 +00:00
Love Hörnquist Åstrand
c118d0562a Allocation is done on CONTEXT tags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:07:21 +00:00
Love Hörnquist Åstrand
2a9eb0e77c Use krb5_set_password instead of krb5_change_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:04:17 +00:00
Love Hörnquist Åstrand
bcca488212 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:02:58 +00:00