Commit Graph

15191 Commits

Author SHA1 Message Date
Derrick Brashear 988355d9d0 roken: Make tsearch build on windows
no sys/cdefs.h on windows
2011-04-10 21:49:48 +01:00
Love Hornquist Astrand 36f9851a4e remove tsearch manpage 2011-04-09 18:30:58 -07:00
Derrick Brashear 2a32bf67f0 Add tsearch and friends, and a test program
tsearch is missing from windows. use the netbsd version as it's
license-compatible.
2011-04-08 15:15:36 +01:00
Love Hornquist Astrand 3d36172090 allow keytab specifiction to gsskrb5_register_acceptor_identity 2011-04-07 07:15:28 -07: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
Simon Wilkinson a597ccdde6 roken: Rename gettimeofday replacement
All replacement roken functions are named rk_blah to avoid symbol
collisions. gettimeofday wasn't being renamed in the header, so fix
that.

This doesn't change the soname of the resulting library, as gettimeofday
isn't currently exported.
2011-04-05 19:44:11 +01: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 b5137810fb Various bug fixes in hdb-mitdb.c.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:44:58 -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
Nicolas Williams 9cbe3298d7 Second attempt to make DB selection saner.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:44:57 -07:00
Luke Howard 1a6d126023 Use RFC 5587 const types for draft-josefsson-gss-capsulate APIs 2011-04-03 18:07:07 +10:00
Love Hornquist Astrand bd98e01ff9 ignore generated files better (and remove them from repo) 2011-04-01 00:36:27 -07:00
Love Hornquist Astrand a70217d371 include krb5_copy_context 2011-04-01 00:27:32 -07:00
Luke Howard 987658325e correctly decode MIT KDB flags
Patch from Nico Williams <nico@cryptonector.com>
2011-03-23 11:26:50 +11:00
Love Hornquist Astrand 46444695f6 include <sys/socket.h> and fix ifdef wrapping for <sys/un.h> 2011-03-21 22:23:21 -07:00
Love Hornquist Astrand 7c039e5630 Add missing quoting in manpage. Patch from Nicolas Joly. 2011-03-21 09:28:32 -07: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 6819c18378 really remove extra files 2011-03-13 17:12:01 -07:00
Love Hornquist Astrand 1c782af347 don't don't build files not used 2011-03-13 17:10:20 -07:00
Love Hornquist Astrand 6d6734bfab document hx509_certs_iter() 2011-03-13 17:09:08 -07:00
Love Hornquist Astrand e1c37aac08 update (c) 2011-03-13 16:54:16 -07:00
Love Hornquist Astrand 9ef071c94e replace libeditline with libedit 2011-03-13 14:18:14 -07:00
Love Hornquist Astrand 217021914d add more oids 2011-03-13 13:40:52 -07:00
Love Hornquist Astrand df802c6298 add keys 2011-03-13 12:42:54 -07:00
Love Hornquist Astrand 35a072e574 add pac 2011-03-13 12:42:42 -07:00
Love Hornquist Astrand f237400f2c add GSS_C_INQ_SSPI_SESSION_KEY 2011-03-13 12:38:25 -07:00
Love Hornquist Astrand c3905ff795 glue in some more functions 2011-03-12 19:29:00 -08:00
Love Hornquist Astrand 7013c453eb x 2011-03-12 18:49:44 -08:00
Love Hornquist Astrand 4d0d3b9535 remove other _krb5_key_data 2011-03-12 13:53:24 -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 c05773d443 drop gss_name_any since it removed from the draft 2011-03-12 12:50:59 -08:00
Love Hornquist Astrand 4248882381 drop gss_name_any since it removed from the draft 2011-03-12 12:49:42 -08:00
Love Hornquist Astrand fbf5cff0ac Patch from Luke Howard to allow dynamic gss_mo 2011-03-12 12:45:53 -08:00
Luke Howard 2b2ab30f53 Add naming extension SPIs
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-03-12 12:35:43 -08:00
Luke Howard 6ffdb884e8 Add naming extension SPIs
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-03-12 12:30:41 -08:00
Love Hornquist Astrand b59a20bc1f clarify documentation 2011-03-12 11:37:13 -08:00
Love Hornquist Astrand ef045438c9 no support for semaphores w/o pthreads 2011-03-12 11:37:13 -08:00
Love Hornquist Astrand cb2aa28c7d Include <heimbase.h> 2011-03-12 11:37:12 -08:00
Martin von Gagern 2caea73cef Make prim static to prevent its being exported.
Having that symbol exported clobbers the namespace and makes other
apps fail, most notably pdftex. I don't believe that the symbol is in
fact intended for public use. Fixes http://bugs.gentoo.org/357235 .
2011-03-03 18:27:54 +01:00
Love Hornquist Astrand 1ec5eff475 bump version of libgssapi, from Eray Aslan 2011-02-26 13:10:06 -08:00
Derrick Brashear c5d0acb859 Correct "not newer" etypes per RFC 4121
Section 1 of RFC 4121 describes behavior which
    applies when using "newer" etypes, then goes on in
    table form to list etypes which are not newer.
    While it specifies it is ok to use new token formats
    when both initiator and acceptor are known to handle them,
    this code makes no such verification, and encoded an
    incorrect set of etypes as "not newer". Correct the list.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-02-24 19:22:25 -08:00
Jelmer Vernooij 36ade8b509 hx509: Make various functions used by Samba public.
* hx509_cert_public_encrypt
* hx509_parse_private_key
* hx509_private_key_assign_rsa
* hx509_private_key_free
* hx509_private_key_private_decrypt
* hx509_private_key_init
* hx509_private_key2SPKI
* hx509_request_get_name
* hx509_request_get_SubjectPublicKeyInfo
* hx509_request_free
* hx509_request_init
* hx509_request_set_name
* hx509_request_set_SubjectPublicKeyInfo

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-02-23 19:47:28 -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 8704b871ff add enc-pa-rep(15) to ticket flags 2011-02-06 16:35:36 -08:00
Love Hornquist Astrand 2fb63b37e7 add KRB5_KU_AS_REQ 2011-02-06 16:35:10 -08:00
Love Hornquist Astrand fb29123dfd add KRB5-PADATA-REQ-ENC-PA-REP 2011-02-06 16:28:48 -08:00
Love Hornquist Astrand 7e1ba19fda setup cfx context, found by Jaideep Padhye 2011-02-02 21:37:26 -08:00