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
Love Hörnquist Åstrand
69883abf62
Prefix der primitives with der_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 10:16:45 +00:00
Love Hörnquist Åstrand
00c5c484a9
Prefix der primitives with der_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 10:12:16 +00:00
Love Hörnquist Åstrand
03aa2121f3
Change || to |, From metze.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 12:36:40 +00:00
Love Hörnquist Åstrand
a79515bd51
Add back :file to sample format.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 11:22:59 +00:00
Love Hörnquist Åstrand
8c8b418934
Add more HDB_F flags to hdb_fetch. Pointed out by Andrew Bartlet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 09:44:51 +00:00
Love Hörnquist Åstrand
62ade1ff39
split build files into dist_ and noinst_ SOURCES
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 08:54:01 +00:00
Love Hörnquist Åstrand
87a81b3b0d
(hdb_get_entry): close and destroy the database later, the
...
hdb_entry_ex might still contain links to the database that it expects
to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 16:53:11 +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
38b3c68c13
(hdb_get_entry): memset ent before passing it into ->hdb_fetch().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-05 07:52:27 +00:00
Love Hörnquist Åstrand
ee9b01aa50
By using full function calling conversion (*func) we avoid problem
...
when close(fd) is overridden using a macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 18:12:37 +00:00
Love Hörnquist Åstrand
db091f2134
(HDBFlags): Add allow-digest
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:45:19 +00:00
Love Hörnquist Åstrand
c0c59a96f2
Rename HDB-Ext-PKINIT-certificate to HDB-Ext-PKINIT-hash.
...
Add trust anchor to HDB-Ext-PKINIT-acl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-13 18:22:22 +00:00
Love Hörnquist Åstrand
ae8b26789f
rename asn1_HDB_Ext_PKINIT_certificate to asn1_HDB_Ext_PKINIT_hash
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-13 18:20:31 +00:00