Commit Graph

12474 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ccada1f55a add lib/gssapi/krb5/external.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:52:08 +00:00
Love Hörnquist Åstrand
cd72133d4c add GSS_KRB5_CCACHE_NAME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:51:32 +00:00
Love Hörnquist Åstrand
9a9abce471 refactor code, implement GSS_KRB5_CCACHE_NAME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:51:06 +00:00
Love Hörnquist Åstrand
6eb598fa83 reimplement gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:49:53 +00:00
Love Hörnquist Åstrand
d62b541ac2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:26 +00:00
Love Hörnquist Åstrand
bae7f53142 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:09 +00:00
Love Hörnquist Åstrand
6f625101d2 Try to be more correct and don't fall off the end. Pointed out by
Kevin Coffman.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:47:42 +00:00
Love Hörnquist Åstrand
8a4de2f00a test more combinations of NUL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:47:01 +00:00
Love Hörnquist Åstrand
e652d77112 More tests for trailing NULs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:41:28 +00:00
Love Hörnquist Åstrand
b39214ed96 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:37 +00:00
Love Hörnquist Åstrand
3583a32e50 Need to import spnego name before we can use it as a gss_name_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:21 +00:00
Love Hörnquist Åstrand
9614f8af97 use this test as part of the regression suite.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:28:56 +00:00
Love Hörnquist Åstrand
6752696815 (gss_acquire_cred): dont init cred->gc_mc every time in the loop.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:24:01 +00:00
Love Hörnquist Åstrand
f2ca0bc21c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 12:01:53 +00:00
Love Hörnquist Åstrand
192d693f72 CLEANFILES += cert-null.pem cert-sub-ca2.pem
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:51 +00:00
Love Hörnquist Åstrand
f7f0374925 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:12 +00:00
Love Hörnquist Åstrand
445d8c45ce CLEANFILES += test.file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:03 +00:00
Love Hörnquist Åstrand
b0690e4e58 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:26:26 +00:00
Love Hörnquist Åstrand
ed3e07f288 remove extra ^Q
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:26:09 +00:00
Love Hörnquist Åstrand
aba9ef0d50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 04:22:17 +00:00
Love Hörnquist Åstrand
c0a2207b76 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 19:03:27 +00:00
Love Hörnquist Åstrand
f836885614 add test_common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:57:11 +00:00
Love Hörnquist Åstrand
542712c702 spelling, from Jason McIntyre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 17:57:00 +00:00
Love Hörnquist Åstrand
1d64c2435a Test if commit mail works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:58:52 +00:00
Love Hörnquist Åstrand
0dd050478c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:32 +00:00
Love Hörnquist Åstrand
c35f417298 Add randi.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:17 +00:00
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