Commit Graph

88 Commits

Author SHA1 Message Date
Nicolas Williams
c9609cdb37 Initial patch for dealing with AD x-realm key rollover
AD issues x-realm TGTs with kvno 0.  On key x-realm trust key change
    we need to be able to try current and previous keys for trust, else
    we will have some failures.
2011-11-15 21:53:33 -06:00
Nicolas Williams
cf1c898e95 Undo a s/size_t/int/. Iterators must be unsigned. 2011-07-22 16:07:05 -05:00
Nicolas Williams
fca53990e4 Initial commit for second approach for multiple kvno. NOT TESTED! 2011-07-22 16:04:51 -05:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -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
7a4d4c5f4e Add HAVE_SQLITE3 that allows control if you want sqlite or not 2011-04-16 10:26:43 -07:00
Asanka C. Herath
2f8031c1d1 Cast dlsym() returns before use 2010-11-24 15:33:10 -05:00
Gabor Gombas
75a53f54fc the MIT DB code is between "#if HAVE_DB1... #endif"
use the same check in the descriptor table

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-25 05:10:29 -08:00
Love Hornquist Astrand
7b42f760b8 add _hdb_keytab2hdb_entry 2009-11-22 12:52:08 -08:00
Love Hornquist Astrand
4dc9ccf0cb add new database backends 2009-11-22 12:49:13 -08:00
Love Hornquist Astrand
39a751d6fb expose hdb_interface_version 2009-10-13 09:35:39 -07:00
Love Hornquist Astrand
82150be255 allow loading sqlite 2009-07-19 17:58:53 -07:00
Love Hörnquist Åstrand
5a9dd54e95 drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-05 05:09:16 +00:00
Love Hörnquist Åstrand
421cb259bd doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 17:21:59 +00:00
Love Hörnquist Åstrand
1a488a85b7 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:57 +00:00
Love Hörnquist Åstrand
4fd6aad19a include krb5_locl.h only, no need to pull in krb5.h twice
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:57:09 +00:00
Love Hörnquist Åstrand
7592a925b5 avoid strndup since it doesnt do what we expect on aix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:56:54 +00:00
Love Hörnquist Åstrand
2ceccf84e8 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:29 +00:00
Love Hörnquist Åstrand
1dd8ec4fe7 Provide a more standard way to produce hdb plugins. From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:00 +00:00
Love Hörnquist Åstrand
cdc2b37670 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:07 +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
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
24e5f936df Be better att clearing error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 21:51:10 +00:00
Love Hörnquist Åstrand
404b8fe3dd revert previous patch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 14:24:27 +00:00
Love Hörnquist Åstrand
4ccac57389 (hdb_lock): also ignore EAGAIN as a locking retry error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 09:27:38 +00:00
Love Hörnquist Åstrand
2a1dc72246 (methods): Add hook for ldb.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 16:47:22 +00:00
Love Hörnquist Åstrand
f5d20ae666 (hdb_create): print out what we don't support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 20:57:58 +00:00
Love Hörnquist Åstrand
0c2369acd0 Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
6e58db8120 (find_method): accept relative paths as old db format too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:09 +00:00
Love Hörnquist Åstrand
486c4cd80c Make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 20:34:35 +00:00
Love Hörnquist Åstrand
f32ada0887 Only match db databases on filename starting with '/'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:48:07 +00:00
Love Hörnquist Åstrand
4107ec5557 Catch error returned by ->hdb_unlock. From Henry B. Hotz
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 13:51:40 +00:00
Love Hörnquist Åstrand
a186871617 provide locking for version entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:05 +00:00
Love Hörnquist Åstrand
ffb7332d89 provde RTLD_NOW and RTLD_GLOBAL if they don't exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 18:12:28 +00:00
Johan Danielsson
64c89a98fe remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:25:20 +00:00
Love Hörnquist Åstrand
525c7fe95d (hdb_list_builtin): return a list of builtin backends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 20:08:28 +00:00
Love Hörnquist Åstrand
103cb19803 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:03:00 +00:00
Love Hörnquist Åstrand
e4b3116bfe when building ldap as a shared module, don't include it in the list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:26:46 +00:00
Love Hörnquist Åstrand
0540f13b86 prefix all struct HDB elements with hdb_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 00:25:35 +00:00
Love Hörnquist Åstrand
41e7cd2af1 (hdb_create): check for dynamic backend after static to avoid warning
from dynamic backend when using a known static backend


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-18 08:03:07 +00:00
Love Hörnquist Åstrand
294cccfdf3 avoid unnecessary setting of variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-13 15:41:17 +00:00
Love Hörnquist Åstrand
a1a43053f6 (find_dynamic_method): if there isn't a prefix, don't load anything
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-30 10:34:05 +00:00
Love Hörnquist Åstrand
1efa899c5a Dynamic backend loading, based on patch from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:10:00 +00:00
Assar Westerlund
334c7ffa33 merge of DB-NEW
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-09 08:41:49 +00:00
Johan Danielsson
6eb138dc15 use krb5_add_et_list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 22:09:41 +00:00
Assar Westerlund
90fed32b0c (hdb_next_enctype2key): const-ize a little bit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:12:15 +00:00
Assar Westerlund
2ac9789c74 (hdb_lock): make gcc happy by initializing a variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 00:40:56 +00:00
Assar Westerlund
41e3980f6b handle both ndbm.h and gdbm/ndbm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-13 22:30:14 +00:00
Assar Westerlund
6c55715d78 (hdb_next_enctype2key): make sure of skipping `*key'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-07 21:52:55 +00:00