Commit Graph

19410 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
6e6d429311 Pass down canonicalize request to hdb layer, sign client referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:04:54 +00:00
Love Hörnquist Åstrand
f8217f8b04 Add HDB_F_CANON.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:02:38 +00:00
Love Hörnquist Åstrand
389a2cddec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:01:12 +00:00
Love Hörnquist Åstrand
ea6db777a0 add setting and displaying aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:00:41 +00:00
Love Hörnquist Åstrand
40b0371ec5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 23:55:15 +00:00
Love Hörnquist Åstrand
aa1680d459 add support to get aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 23:54:34 +00:00
Love Hörnquist Åstrand
9f106cf20a add simple alias support to the database backends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 23:52:29 +00:00
Love Hörnquist Åstrand
aeeff09920 update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:19:03 +00:00
Love Hörnquist Åstrand
0a7637fef0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:18:09 +00:00
Love Hörnquist Åstrand
3e2e6a5150 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:04:41 +00:00
Love Hörnquist Åstrand
0967d14a90 Stop overwriting cmd.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:03:13 +00:00