Commit Graph

12598 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
031692fe75 Free list of limit enctypes if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:51:00 +00:00
Love Hörnquist Åstrand
d3807ad882 Add hideous glue for (NFS) clients that wants to limit the available
enctypes to what it can support (encryption in kernel). If there is no
enctypes selected for this credential, reset it to the default set of
enctypes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:57 +00:00
Love Hörnquist Åstrand
862eb1e0dc Implement GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:17 +00:00
Love Hörnquist Åstrand
2994c5a57a (gsskrb5_cred): add list of supported enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:46:01 +00:00
Love Hörnquist Åstrand
bdff5b6032 (gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
e2571a3178 indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:16:28 +00:00
Love Hörnquist Åstrand
25fc4d469a Set error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:55 +00:00
Love Hörnquist Åstrand
f523c291f5 clear error strings
.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:30 +00:00
Love Hörnquist Åstrand
1dda5d8b5f clear error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:05 +00:00
Love Hörnquist Åstrand
aa3ae69d42 Set error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:26 +00:00
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
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
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
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
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
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
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
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
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
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
dcbc002d2f Add link for gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 10:51:22 +00:00
Love Hörnquist Åstrand
fbfd45f8e4 Use EXTRACT_TICKET_* flags, support canonicalize.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:33:25 +00:00
Love Hörnquist Åstrand
581074386c (krb5_get_init_creds_opt_set_canonicalize): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:32:28 +00:00
Love Hörnquist Åstrand
dc0a5d69f2 Use EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:31:50 +00:00
Love Hörnquist Åstrand
650997af3e Add EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:29:12 +00:00
Love Hörnquist Åstrand
d6658d9d2f test parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:18:08 +00:00
Love Hörnquist Åstrand
1f4259cddc Add support for parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:17:04 +00:00
Love Hörnquist Åstrand
203e1b7ad6 Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:12:00 +00:00
Love Hörnquist Åstrand
393f98a743 Make work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 00:03:42 +00:00
Love Hörnquist Åstrand
7aaf3af6e4 Be better at setting and clearing error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 21:59:53 +00:00
Love Hörnquist Åstrand
24e5f936df Be better att clearing error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 21:51:10 +00:00
Love Hörnquist Åstrand
873b9b8aae (krb5_kt_get_entry): Use krb5_kt_get_full_name to print out the keytab name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 07:11:03 +00:00
Love Hörnquist Åstrand
f9a9b8961a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 01:10:10 +00:00