Commit Graph

19421 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand a115c5af61 add PAC_CONSTRAINED_DELEGATION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:06 +00:00
Love Hörnquist Åstrand 6348a6849a Tell what principal we are not finding for all KRB5_CC_NOTFOUND.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:13:31 +00:00
Love Hörnquist Åstrand c4b3ce1721 mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:12:35 +00:00
Love Hörnquist Åstrand f85c99c51b (kadm5_s_get_principal): use right context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:11:46 +00:00
Love Hörnquist Åstrand 1cd4fe8eb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:53 +00:00
Love Hörnquist Åstrand 01f6b946a2 spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:35 +00:00
Love Hörnquist Åstrand 2e356b6607 Allow trailing NULs. We allow this since MIT Kerberos sends an strings
in the NEED_PREAUTH case that includes a trailing NUL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:09:37 +00:00
Love Hörnquist Åstrand 7a0820554b darwin supports native pthreads.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:08:08 +00:00
Love Hörnquist Åstrand dd946c632b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 09:23:05 +00:00
Love Hörnquist Åstrand b8720c577e update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:46:56 +00:00
Love Hörnquist Åstrand b395cbefb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:34:15 +00:00
Love Hörnquist Åstrand dab9ffc913 document kadmin add_enctype functionallity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:33:55 +00:00
Love Hörnquist Åstrand bc60cac790 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:25:08 +00:00
Love Hörnquist Åstrand 24b1a5e7fc test new kadmin add_enctype functionallity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:22:31 +00:00
Love Hörnquist Åstrand 17562715a4 Add new command, add_enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:14:18 +00:00
Love Hörnquist Åstrand 0fd3c74ce7 Add support for adding a random key enctype to a principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:12:30 +00:00
Love Hörnquist Åstrand 9fe7e832c7 Return the same error codes as a windows KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:05:53 +00:00
Love Hörnquist Åstrand 09495e7722 KRB5KDC_ERR_PREAUTH_FAILED is also a password failed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:04:38 +00:00
Love Hörnquist Åstrand 81a108b1d0 Make handling of replying e_data more generic, from metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:01:12 +00:00
Love Hörnquist Åstrand 21ddb4aee9 Fix (string const and shadow) warnings, from metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:50:37 +00:00
Love Hörnquist Åstrand bebd317964 Create the PAC element in the same order as w2k3,
maybe there's some broken code in windows which relies
on this... From metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:42:47 +00:00
Love Hörnquist Åstrand 072dcc606a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:24:01 +00:00
Love Hörnquist Åstrand 937df31de8 Select a session enctype from the list of the crypto systems supported
enctype, is supported by the client and is one of the enctype of the
enctype of the krbtgt.

The later is used as a hint what enctype all KDC are supporting to
make sure a newer version of KDC wont generate a session enctype that
and older version of a KDC in the same realm can't decrypt.

But if the KDC admin is paranoid and doesn't want to have "no the
best" enctypes on the krbtgt, lets save the best pick from the client
list and hope that that will work for any other KDCs.

Reported by metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:21:46 +00:00
Love Hörnquist Åstrand 93a6064506 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-21 20:52:14 +00:00
Love Hörnquist Åstrand 7a01a70ac2 (propagate_database): on any failure, drop the connection to the peer
and try next one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-21 20:48:40 +00:00
Love Hörnquist Åstrand a20810f609 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 10:48:16 +00:00
Love Hörnquist Åstrand ba05993ea4 document new options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 10:41:10 +00:00
Love Hörnquist Åstrand 45ebb9c7f2 Only check service key for cross realm PACs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 08:34:36 +00:00
Love Hörnquist Åstrand 325f6037d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:34:18 +00:00
Love Hörnquist Åstrand 638b61f46d use the new merged flags field.
(krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k compat flags.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:52 +00:00
Love Hörnquist Åstrand 4446053e7b use the new merged flags field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:01 +00:00
Love Hörnquist Åstrand 72099f51d8 merge all flags into one entity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:32:22 +00:00
Love Hörnquist Åstrand 61acd7b69e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:04:49 +00:00
Love Hörnquist Åstrand 194c39c3d9 Small fixes, from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:49:54 +00:00
Love Hörnquist Åstrand 5024dda7c4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:43:49 +00:00
Love Hörnquist Åstrand b2246be54a (kcm_ccache_new_client): Cast snprintf'ed value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:42:55 +00:00
Love Hörnquist Åstrand d4f635bc97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 11:33:36 +00:00
Love Hörnquist Åstrand a6b9228d3a (find_pa_data): if there is no list, there is no entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 11:30:00 +00:00
Love Hörnquist Åstrand 126ea0e595 Don't check PACs on cross realm requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 07:52:01 +00:00
Love Hörnquist Åstrand 6d4a4c3f35 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 07:28:00 +00:00
Love Hörnquist Åstrand 0e328b194e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:26:52 +00:00
Love Hörnquist Åstrand 604360280a add ldap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:26:34 +00:00
Love Hörnquist Åstrand 76677d199a add check-referral
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:25:15 +00:00
Love Hörnquist Åstrand 69bcfdec87 Add PA-ClientCanonicalized and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:23:17 +00:00
Love Hörnquist Åstrand c81f3d0c68 add tests/ldap/Makefile.am
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:22:31 +00:00
Love Hörnquist Åstrand 680352601d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:20:29 +00:00
Love Hörnquist Åstrand adf9121822 Add PA-ClientCanonicalized and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:11:22 +00:00
Love Hörnquist Åstrand 50ad0697d8 add KRB5_KU_CANONICALIZED_NAMES.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:09:57 +00:00
Love Hörnquist Åstrand 3d3e828726 Verify client referral data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:08:04 +00:00
Love Hörnquist Åstrand b0e9eb4583 switch some "return ret" to "goto out".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:06:03 +00:00