Commit Graph

3226 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
61623b636c Make app pkinit options prefixed with pkinit_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:20:25 +00:00
Love Hörnquist Åstrand
e299db5039 (krb5_c_keylengths): make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:17:46 +00:00
Love Hörnquist Åstrand
20a7bd7a29 Update krb5_c_keylengths
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:09:25 +00:00
Love Hörnquist Åstrand
0afc3bb28a (krb5_c_keylengths): rename.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:06:07 +00:00
Love Hörnquist Åstrand
3719ad0089 (krb5_c_keylength): mit changed the api, deal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:04:54 +00:00
Love Hörnquist Åstrand
4e200bc2d5 Add krb5_enctype_keybits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 21:58:47 +00:00
Love Hörnquist Åstrand
073e1a2052 (fill_zeros): stop using MIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 17:45:27 +00:00
Love Hörnquist Åstrand
cfb4caacee Use NOTHERE.H5L.SE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:28:43 +00:00
Love Hörnquist Åstrand
e53d2e7d9a Use 127.0.0.2 to make us slightly diffrent from the rest of the world.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:11:39 +00:00
Love Hörnquist Åstrand
feca1fb894 Fill in hints for picky getaddrinfo()s.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:06:08 +00:00
Love Hörnquist Åstrand
8ba76d2ba8 Set sin_len if it exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:01:03 +00:00
Love Hörnquist Åstrand
35ac6d4651 Use plugin for the other realm locate types too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 04:46:37 +00:00
Love Hörnquist Åstrand
1bbf3e6917 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:42:18 +00:00
Love Hörnquist Åstrand
f6b6bb58e3 Add plugin types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:40:19 +00:00
Love Hörnquist Åstrand
ec21016cde Read config file and allow multi directories.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:39:43 +00:00
Love Hörnquist Åstrand
c16f8fcd4e Add plugin api.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:06:52 +00:00
Love Hörnquist Åstrand
51bdcbd088 Use the resolve plugin interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:05:20 +00:00
Love Hörnquist Åstrand
b28a485ef3 Test resolve plugin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 19:10:11 +00:00
Love Hörnquist Åstrand
79e58fd503 Add plugin interface for resolving that is API compatible with MITs version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 19:00:03 +00:00
Love Hörnquist Åstrand
d4c6410532 Add first version of the plugin interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 18:58:41 +00:00
Love Hörnquist Åstrand
6d50466262 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 17:30:48 +00:00
Love Hörnquist Åstrand
7ee6102353 Build PAC code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 08:41:00 +00:00
Love Hörnquist Åstrand
cffffb6192 Test signing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 08:38:10 +00:00
Love Hörnquist Åstrand
bfb5987861 Add code to sign PACs, only arcfour for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 08:37:27 +00:00
Love Hörnquist Åstrand
bb7a02e9b0 Add struct krb5_pac.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 08:33:07 +00:00
Love Hörnquist Åstrand
7eaec81548 PAC testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 07:47:04 +00:00
Love Hörnquist Åstrand
33b12f5ffd Sprinkle error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 07:36:48 +00:00
Love Hörnquist Åstrand
ce3af21b1e Verify LOGON_NAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 07:22:55 +00:00
Love Hörnquist Åstrand
1e488b93d1 Document krb5_c_keylength.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-09 21:27:59 +00:00
Love Hörnquist Åstrand
6326a9272e Add krb5_c_keylength.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-09 21:24:16 +00:00
Love Hörnquist Åstrand
a84d691b26 Almost enough code to do PAC parsing and verification, missing in the
unix2NTTIME and ucs2 corner. The later will be adressed by finally
adding libwind.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-09 02:55:17 +00:00
Love Hörnquist Åstrand
6ef56c55f0 document krb5_[gs]et_max_time_skew
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 18:56:47 +00:00
Love Hörnquist Åstrand
adeeb5222e rename krb5_[gs]et_time_wrap to krb5_[gs]et_max_time_skew
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:56:28 +00:00
Love Hörnquist Åstrand
0868717d3c Add krb5_storage_from_readonly_mem that is safe to use on
const/readonly buffers (it doesn't support write).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 23:02:53 +00:00
Love Hörnquist Åstrand
a04ab012c3 Add more krb5_rd_req_out_get functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 17:11:31 +00:00
Love Hörnquist Åstrand
ef33b12686 krb5_rd_req_{in,out}_ctx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 00:17:42 +00:00
Love Hörnquist Åstrand
3c84029aba (krb5_rd_req_ctx): Add context all singing-all dancing version of the
krb5_rd_req and implement krb5_rd_req and krb5_rd_req_with_keyblock
using it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 00:13:58 +00:00
Love Hörnquist Åstrand
d3938b5abb (krb5_ticket_get_authorization_data_type): unbreak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:57:18 +00:00
Love Hörnquist Åstrand
7dc5946f3c Fix extraction of authz data from the AuthorizationData sequence:
Where we had
 IF-RELEVENT::
	WIN2K-PAC
 IF-RELEVENT::
	SIGNED-PATH

The recursion into find_type_in_ad() for the second element would set
ret = ENOENT, and therefore the tail would set *found = FALSE, despite
the data already being found.

From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:53:58 +00:00
Love Hörnquist Åstrand
ccbbd474e1 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:34:57 +00:00
Love Hörnquist Åstrand
b15281a864 Add krb5_[gs]et_time_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:27:47 +00:00
Love Hörnquist Åstrand
c9ccbb40f2 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:20:57 +00:00
Love Hörnquist Åstrand
0cd59b2fa5 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:12:46 +00:00
Love Hörnquist Åstrand
0a3bd1b7b8 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 20:13:52 +00:00
Love Hörnquist Åstrand
d2388f8176 Allocate the memory we later use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:32:40 +00:00
Love Hörnquist Åstrand
b04201d5d4 Make test work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:13:11 +00:00
Love Hörnquist Åstrand
8ea293e426 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:11:43 +00:00
Love Hörnquist Åstrand
09196ad8d5 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:00:33 +00:00
Love Hörnquist Åstrand
e59d785334 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:58:53 +00:00
Love Hörnquist Åstrand
ea75cbae34 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:56:44 +00:00