Commit Graph

4866 Commits

Author SHA1 Message Date
Jeffrey Altman
0a36d16131 add KRB5_LIB_FUNCTION/KRB5_LIB_CALL to kcm.c
Change-Id: I7bc2f54b968843c05aabf03afa556a3d31b696c0
2011-05-17 12:02:13 -04:00
Jeffrey Altman
0fa2edf620 install kcm.h on windows
Windows does not yet support the kcm.  However, the header
is now required for building lib/gssapi/ntlm so install it.

Change-Id: I9949794d1159797e11c3e6fdd5675ae857cf04a1
2011-05-17 12:02:12 -04:00
Luke Howard
e128b0ca01 Merge branch 'master' into lukeh/moonshot
Conflicts:
	lib/gssapi/krb5/external.c
	lib/libedit/src/vi.c
2011-05-12 13:04:55 +02:00
Love Hornquist Astrand
be92276b8b Fix bug in realm encoding reported by Mark Pröhl
Also, add basic test while here.
2011-05-08 11:22:07 -07:00
Love Hornquist Astrand
77c7747cc3 plug memory leak 2011-05-08 11:21:44 -07:00
Love Hornquist Astrand
bd2d4c2f79 ->max_alloc to krb5_storage and use it 2011-05-08 00:16:02 -07:00
Love Hornquist Astrand
114dff9ebd add depency on built headerfiels for librfc3961_la_OBJECTS 2011-05-07 12:29:52 -07:00
Love Hornquist Astrand
b1909b2daa Fixes from NetBSD via Thomas Klausner and Roland C. Dowdeswell 2011-05-04 21:31:10 -07:00
Love Hornquist Astrand
9a1a5e5da6 Mandoc and spelling fixes from Thomas Klausner 2011-04-29 20:37:33 -07:00
Love Hornquist Astrand
f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
66c15e7caf add support for sha256 and sha512 for the nist kdf 2011-04-25 14:46:38 -07:00
Love Hornquist Astrand
f632c5239e one element per line 2011-04-14 12:54:16 -07:00
Luke Howard
6ec5011d48 Merge branch 'master' into lukeh/moonshot 2011-04-08 09:05:36 +10:00
Love Hornquist Astrand
372db4d853 add krb5_kt_have_content 2011-04-07 07:15:27 -07:00
Love Hornquist Astrand
f1718af272 make work again after adding loopback addresses 2011-04-07 07:15:27 -07:00
Nicolas Williams
c5041352cb Fixed a bug in the initial loopback ifs patch.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:45:33 -07:00
Nicolas Williams
e7672a71aa Patch to include non-loopback addresses from loopback interfaces.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:45:33 -07:00
Nicolas Williams
941eba430b Fixed a bug by s/u16/SEEK_CURR/; the bug prevented this mitdb backend from parsing MIT KDB entries with multiple kvnos in non-increasing order.
Fixed a double-free bug that was triggered by MIT KDB entries with
multiple kvnos in non-increasing order.

Added lots of comments regarding the MIT KDB entry format.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:44:57 -07:00
Luke Howard
093403a2a7 Merge branch 'master' into lukeh/moonshot 2011-04-03 18:08:23 +10:00
Love Hornquist Astrand
a70217d371 include krb5_copy_context 2011-04-01 00:27:32 -07:00
Luke Howard
4748fc9489 Merge branch 'master' into lukeh/moonshot 2011-03-22 15:45:12 +11:00
Love Hornquist Astrand
7c039e5630 Add missing quoting in manpage. Patch from Nicolas Joly. 2011-03-21 09:28:32 -07:00
Luke Howard
d116a78297 add missing exports 2011-03-21 23:53:17 +11:00
Luke Howard
841a5ed3ba export krb5_kcm_call/krb5_kcm_storage_request
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-03-20 23:27:04 -07:00
Love Hornquist Astrand
c3905ff795 glue in some more functions 2011-03-12 19:29:00 -08:00
Love Hornquist Astrand
1bb482e168 prefix internal structures with _krb5_ 2011-03-12 13:50:39 -08:00
Love Hornquist Astrand
03806492d9 prefix symbols that are _krb5_ structures 2011-03-12 13:45:09 -08:00
Love Hornquist Astrand
b59a20bc1f clarify documentation 2011-03-12 11:37:13 -08:00
Love Hornquist Astrand
1f59fe0edf move up internal framework to avoid using already installed frameworks 2011-02-12 09:49:35 -08:00
Love Hornquist Astrand
2fb63b37e7 add KRB5_KU_AS_REQ 2011-02-06 16:35:10 -08:00
Jeffrey Altman
7b1e954ad4 Reorder DES algs to work around MIT pre-1.8 GSS
Pre-1.8 MIT GSS accept_sec_context() has a bug which treats
des-cbc-md4 as if the received token format should be CFX.
The previous DES alg ordering resulted in MIT KDCs issuing
des-cbc-md4 session keys for service tickets which triggered
this bug.  Reorder the list so md4 is not preferred.

Change-Id: I11269498a6eb8494044c618db29c43f62b0ced49
2010-12-07 00:28:13 -05:00
Asanka C. Herath
b45dd13c44 Expand path tokens for krb5.moduli 2010-12-03 17:42:42 -05:00
Asanka C. Herath
e0e746b1ca Revert use of backslash as an escape for double quote in config strings 2010-12-03 01:12:31 -05:00
Asanka C. Herath
94aa4de1b9 Windows: Don't treat drive letters as keytab types 2010-12-02 01:18:03 -05:00
Asanka C. Herath
3e8172f9e3 Initialize allocated memory in any_resolve()
Otherwise we might attempt to free an uninitialized pointer.
2010-12-02 01:18:02 -05:00
Love Hornquist Astrand
42f9c644cf Also try key usage 8 for tgs-rep subkey
If the is Windows 2000 DC, we need to retry with key usage 8 when doing ARCFOUR.

Thanks to Andrew and Tridge that helped me debug this using their systems.
2010-11-29 11:19:24 -08:00
Asanka C. Herath
6d662f71d7 Windows: Fix export lists 2010-11-29 10:53:49 -05:00
Love Hornquist Astrand
2ec1c3fbec use int32_t for krb5_kvno 2010-11-28 11:18:55 -08:00
Andrew Bartlett
e189d712ce Don't dereference NULL in error verify_checksum error path
Andrew Bartlett

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-11-28 09:46:43 -08:00
Love Hornquist Astrand
24d628edf3 make test_config work again 2010-11-26 12:28:45 -08:00
Love Hornquist Astrand
0d9e385c7e remove prefix for librfc3961.la sources 2010-11-26 11:25:13 -08:00
Asanka C. Herath
f974c34580 Deal with backslash escaped quotes 2010-11-26 00:35:31 -05:00
Asanka C. Herath
d58d572e60 Windows: Add missing extension 2010-11-26 00:34:59 -05:00
Asanka C. Herath
d9ee9cc3b6 Tests for string escaping in config files 2010-11-26 00:34:40 -05:00
Asanka C. Herath
e851b85700 Windows: Fix export for krb5_enomem 2010-11-25 23:51:43 -05:00
Love Hornquist Astrand
c6d0dea6be remove dup prototype, fix the ok_as_delegate protocol 2010-11-25 11:21:05 -08:00
Love Hornquist Astrand
b294b673a2 deprecate 524 functions 2010-11-25 10:47:35 -08:00
Love Hornquist Astrand
ea2534a55f export krb5_enomem 2010-11-24 14:35:56 -08:00
Asanka C. Herath
aa9be97d0d Windows: Always initialize buffers in config_reg 2010-11-24 15:33:31 -05:00
Asanka C. Herath
6e4e28c7bb Windows: Catch up with libkrb5 changes 2010-11-24 15:33:30 -05:00