Commit Graph

330 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1a1bd736c0 merge support for FAST in as-req codepath 2011-10-28 19:25:48 -07:00
Nicolas Williams
5c54736678 Removed "weak" option and implemented use-referrals/no-referrals 2011-10-22 14:54:26 -05:00
Nicolas Williams
2f03603d6b Cleanups: s/krb5int_/_krb5_/ and moved priv stuff from krb5.h 2011-10-22 14:54:25 -05:00
Nicolas Williams
001fc24102 Removed vestiges of no-reverse-lookup/reverse-lookup option that was never implemented 2011-10-22 14:54:24 -05:00
Nicolas Williams
a5e77c578e Deferred hostname canon using name canon rules 2011-10-22 14:54:13 -05:00
Love Hörnquist Åstrand
0941d6dbce add constant for WELLKNOWN:ORG.H5L realm 2011-07-24 21:29:27 -07:00
Love Hörnquist Åstrand
e9053800f1 add Fast cookie 2011-07-24 20:24:39 -07:00
Love Hornquist Astrand
f76cf44d82 add KRB5_ANON_REALM 2011-07-24 20:24:38 -07:00
Love Hornquist Astrand
7bc5fe72fb more keyusage 2011-07-24 20:24:36 -07:00
Love Hornquist Astrand
91fce795af add more key usage for fast 2011-07-24 20:24:35 -07:00
Love Hornquist Astrand
580ba6aa72 KU bits for fast 2011-07-24 20:24:34 -07:00
Love Hörnquist Åstrand
8fccb51d49 Merge pull request #12 from nicowilliams/krb5_admin_patches_2nd
Krb5 admin patches 2nd

This has all the patches needed for krb5_admind to build and pass most tests, that includes:
- more kadm5 API compatibility (including very basic profile functionality)
- multi-kvno support (useful for key rollovers) (a test for this is included in tests/db/check-kdc)

Unfinished:
- password history (currently uses key history, needs to be separated and use digests)
- policies (only default policy allowed)
- mit kdb changes not tested yet


Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2011-07-24 15:41:36 -07:00
Love Hörnquist Åstrand
f60ec15834 partly unify enctype/keytype since there is only enctypes 2011-07-24 14:03:08 -07:00
Nicolas Williams
6e04b05e9d Initial support for kadm5_randkey_principal_3(), needed by krb5_admin.
NOT TESTED YET.
2011-07-22 16:04:52 -05:00
Nicolas Williams
2fbad6432b Initial support for default_{as, tgs}_etypes.
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2011-06-14 20:35:19 -07:00
Love Hörnquist Åstrand
48a91b7fc5 change prefix ETYPE_ to KRB5_ENCTYPE_ and provide compat symbols 2011-05-22 14:06:40 -07:00
Love Hornquist Astrand
305596d9ad Rename subsystem_DEPRECATED to subsystem_DEPRECATED_FUNCTION(X)
Start to explain what the replacement function is.
Generate the #define/#undef logic in generated header files.
Use gcc style where the deprecation warning is after the prototype.
2011-05-17 23:12:51 -07:00
Love Hornquist Astrand
2fb63b37e7 add KRB5_KU_AS_REQ 2011-02-06 16:35:10 -08:00
Love Hornquist Astrand
2ec1c3fbec use int32_t for krb5_kvno 2010-11-28 11:18:55 -08:00
Love Hornquist Astrand
8f2e0a7010 export internal functions so we dont need private headers 2010-11-20 14:05:54 -08:00
Asanka Herath
80599fcd94 Define KRB5_TC_OPENCLOSE and KRB5_TC_NOTICKET in krb5.h 2010-09-14 08:04:18 -04:00
Asanka Herath
a7ccfa0717 Define KRB5_TC_NOTICKET 2010-09-14 08:04:15 -04:00
Asanka Herath
5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Russ Allbery
811d9003c1 Remove remnants of srvtab support
Support for manipulating srvtabs was previously removed, but there
were still remnants in command documentation in the ktutil man page
and some declared and exported variables for the keytab ops
definitions for srvtab manipulation.  Remove these additional
remnants.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-03 09:09:32 -07:00
Love Hornquist Astrand
aa371571f9 insert _FLAG into the name 2010-03-29 19:08:00 -07:00
Love Hornquist Astrand
cf35620ecf name flag 1 as KRB5_INIT_CREDS_STEP_CONTINUE 2010-03-29 18:55:41 -07:00
Love Hornquist Astrand
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hornquist Astrand
826c14833f make cpp safe, from Allan McRae 2009-11-23 07:19:00 -08:00
Love Hornquist Astrand
e515f73e2c [gs]et kdc offset per ccache, add kcm as api cache 2009-11-22 00:09:25 -08:00
Love Hörnquist Åstrand
6c56033e6f improve msft compiler case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:28:12 +00:00
Love Hörnquist Åstrand
6a85bbcc65 More tests for KRB5_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:27:52 +00:00
Love Hörnquist Åstrand
e85dfe0ce5 KRB5_GET_INIT_CREDS_OPT_SALT is not supported
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:39 +00:00
Love Hörnquist Åstrand
fd46c01a0b rename scache to scc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:08:40 +00:00
Love Hörnquist Åstrand
3fd4a7262c use constants for memory types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:07 +00:00
Love Hörnquist Åstrand
e7b7dfaae6 add timeout to krb5_send_to_kdc_func, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:35 +00:00
Love Hörnquist Åstrand
9ba2b611ef add KRB5_KU_PA_PKINIT_KX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:36 +00:00
Love Hörnquist Åstrand
0a426e075f fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:02 +00:00
Love Hörnquist Åstrand
59232b3083 Add KRB5_WELLKNOWN_NAME and KRB5_ANON_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:23 +00:00
Love Hörnquist Åstrand
3c2f66b284 add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:14 +00:00
Love Hörnquist Åstrand
bb9b7fd612 add krb5_principals (and add it to krb5_keytab_entry)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:42:45 +00:00
Love Hörnquist Åstrand
c4bf65b9e4 keytypes are really the same as enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:52:56 +00:00
Love Hörnquist Åstrand
7bd68af1d6 use KRB5_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:49:23 +00:00
Love Hörnquist Åstrand
eb05280d8d add krb5_gic_process_last_req
k

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:45:56 +00:00
Love Hörnquist Åstrand
e3e8374234 s/KRB5_PRINCIPAL_PARSE_MUST_REALM/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:40:53 +00:00
Love Hörnquist Åstrand
c269d8b2e6 doxygen krb5.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:40:33 +00:00
Love Hörnquist Åstrand
ebdce5d97e add krb5_init_creds_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:19 +00:00
Love Hörnquist Åstrand
3960be2685 add lastchange
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:14:32 +00:00
Love Hörnquist Åstrand
fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00