Commit Graph

438 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
48034d89ae Add version script for hdb.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 16:25:31 +00:00
Love Hörnquist Åstrand
f64a1c118a First version of hdb version script.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 16:24:39 +00:00
Love Hörnquist Åstrand
746ad99b8c Use the _ext api for OpenLDAP, from Honza Machacek (gentoo).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-30 11:25:57 +00:00
Love Hörnquist Åstrand
410a4b83d8 Move OpenLDAP includes to AM_CPPFLAGS to avoid dropping other defines
for the library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-20 18:41:29 +00:00
Love Hörnquist Åstrand
23895f4fb9 Check for dup aliases before overwriting, pointed out by Johanna Mannung
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-18 10:14:02 +00:00
Love Hörnquist Åstrand
1c9234c4f7 Use malloc() instead of static buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-11 21:46:45 +00:00
Love Hörnquist Åstrand
9215d6ea7b Use ldap_get_values_len, from LaMont Jones via Brian May and Debian.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-11 21:43:27 +00:00
Love Hörnquist Åstrand
9df85b714e drop CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:49:33 +00:00
Love Hörnquist Åstrand
0c7f4c3a6e Add hdb_default_db().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 12:22:38 +00:00
Love Hörnquist Åstrand
8e5b5c9e61 handle removal of HDB_DB_DIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:03:41 +00:00
Love Hörnquist Åstrand
25d04f4314 (hdb_db_dir): Return the directory where the hdb database resides.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 18:21:47 +00:00
Love Hörnquist Åstrand
8d8507fbf8 move static path into local headers that are not installed to prepare for configure-time relocations. Prompted by Hai Zaars FHS thread on heimdal-discuss
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:09:25 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
94d870a9ab EXTRA_DIST += hdb.schema
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-20 14:10:30 +00:00
Love Hörnquist Åstrand
8d40c2994b check return value of alloc functions, from Charles Longeau
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
8e2c1ccaae (get_dbinfo): use dbname instead of realm as key if the entry is a
correct entry.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-22 11:46:53 +00:00
Love Hörnquist Åstrand
b23b5d8d8a Make parse_key_set handle key set string "v5", from Peter Meinecke.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-22 01:51:31 +00:00
Love Hörnquist Åstrand
cf0784bee6 avoid type-punned pointer warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:10:45 +00:00
Love Hörnquist Åstrand
ca152336fa When using sambaNTPassword, avoid adding more then one enctype 23 to
krb5EncryptionType.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-11 15:20:18 +00:00
Love Hörnquist Åstrand
eccd710e7c New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:43:48 +00:00
Love Hörnquist Åstrand
3e10723f05 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:38:07 +00:00
Love Hörnquist Åstrand
f11d1449df Add hdb_dbinfo_get_log_file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-05 12:39:50 +00:00
Love Hörnquist Åstrand
6a64e4d44c provide better error string for the common failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 12:59:32 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
ec9707b58d If there is no default dbname, also check for unset mkey_file and set
it default mkey name, make backward compat stuff work.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 16:17:05 +00:00
Love Hörnquist Åstrand
a3a7d46764 (hdb_get_dbinfo) If there are no database specified, create one and
let it use the defaults.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-02 22:57:48 +00:00
Love Hörnquist Åstrand
96883b38fb test acl file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-27 20:20:32 +00:00
Love Hörnquist Åstrand
4efa04cf12 add acl file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-27 20:19:30 +00:00
Love Hörnquist Åstrand
5660cf6700 Add and test dbinfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-23 07:50:16 +00:00
Love Hörnquist Åstrand
2af7094535 Forward declaration for struct hdb_dbinfo;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-23 07:49:16 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
f8217f8b04 Add HDB_F_CANON.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:02:38 +00:00
Love Hörnquist Åstrand
9f106cf20a add simple alias support to the database backends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 23:52:29 +00:00
Love Hörnquist Åstrand
393f98a743 Make work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 00:03:42 +00:00
Love Hörnquist Åstrand
7aaf3af6e4 Be better at setting and clearing error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 21:59:53 +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
0c91a6f74e update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 14:34:15 +00:00
Love Hörnquist Åstrand
7d5e25b4ba Set hdb->hdb_db for ldap.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 13:18:22 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
238e717568 Clear errno before calling the strtol functions. From Paul Stoeber to
OpenBSD by Ray Lai and Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:41:18 +00:00
Love Hörnquist Åstrand
a23ef1734e Add LIB_com_err to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:18:33 +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
5518871b9c Make build again from the hdb_entry wrapping. Patch from Andreas Hasenack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 14:23:13 +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
af4bc603f4 (hdb_generate_key_set): free list of enctype when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:40:12 +00:00
Love Hörnquist Åstrand
b7499251a8 remove dependency on et files covert_db that now is removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 11:09:55 +00:00
Love Hörnquist Åstrand
2f0c4b1f20 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 21:05:10 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00
Love Hörnquist Åstrand
44ab849d59 Wrap function call pointer calls in (*func) to avoid macros rewriting
open and close.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 07:28:32 +00:00