Commit Graph

264 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
c0d1c74757 try to include more db headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:53:37 +00:00
Love Hörnquist Åstrand
32276ee7b7 patch for working with DB4 on heimdal-discuss
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:37:25 +00:00
Love Hörnquist Åstrand
1c5aca620c code rewrite from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:29:03 +00:00
Love Hörnquist Åstrand
b6609c3d3b (read_master_mit): krb5_ret_int16 takes a int16_t as argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:44:08 +00:00
Love Hörnquist Åstrand
77d774d5f4 remove stuff more stuff that sneeked in with last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:09:55 +00:00
Love Hörnquist Åstrand
802923ad69 split generated source from non generated source we make-proto.pl can
generate prototypes for non generate-source only (make-proto.pl dies
on asn1compile's .c files)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 17:57:18 +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
7bafce13ca (LDAP_store): log what principal/dn failed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-17 22:45:12 +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
Love Hörnquist Åstrand
c12e22c5ee add struct hdb_so_method and HDB_INTERFACE_VERSION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:08:34 +00:00
Love Hörnquist Åstrand
c36bc39594 use int2HDBFlags/HDBFlags2int
From: Alberto Patino <jalbertop@aranea.com.mx>, Luke Howard <lukeh@PADL.COM>
Pointed out by Andrew Bartlett of Samba


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 12:53:16 +00:00
Love Hörnquist Åstrand
cb73a5dde8 (LDAP__connect): bind sasl "EXTERNAL" to ldap connection
(LDAP_store): remove superfluous argument to asprintf

From Alberto Patino <jalbertop@aranea.com.mx>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 10:03:54 +00:00
Love Hörnquist Åstrand
6db34748ac (hdb_unseal_keys_mkey): truncate key to the key length when key is
longer then expected length, its probably longer since the encrypted
data was padded, reported by Aidan Cully <aidan@kublai.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-28 02:01:33 +00:00
Love Hörnquist Åstrand
d943f8b219 (_hdb_fetch): handle error code from hdb_value2entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 06:54:32 +00:00
Johan Danielsson
77de2f4011 use crypto-headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:03:49 +00:00
Johan Danielsson
9dbccbeb68 use ASN1_MALLOC_ENCODE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 18:42:22 +00:00
Johan Danielsson
c8ac575762 use ASN1_MALLOC_ENCODE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 16:32:30 +00:00
Assar Westerlund
46cc72d9f5 (find_db): const-correctness in parameters to krb5_config_get_next
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:28:11 +00:00
Johan Danielsson
d2e28eb60c add "-q -P comment" to header generation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 16:17:16 +00:00
Assar Westerlund
aa2bd6c196 (read_master_encryptionkey): use a proper type for len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-16 18:59:49 +00:00
Johan Danielsson
4fa94362ee fix for storage change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-24 15:23:43 +00:00
Assar Westerlund
1a7ff38b12 (libhdb_la_LDFLAGS): bump version to 7:5:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:43:30 +00:00
Jacques A. Vidrine
84ed3d7a7c Fix a bug where kstash crashes if there is no krb5.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-12-05 14:41:47 +00:00
Assar Westerlund
cee81d995f remove libasn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 16:23:15 +00:00
Johan Danielsson
5f68cd1d3c (hdb_set_master_keyfile): clear error string when not returning error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 07:42:09 +00:00
Assar Westerlund
9b1b60332d prefer ndbm.h to dbm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:03:01 +00:00
Johan Danielsson
452e98c132 some pretty much untested changes from Luke Howard
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 18:19:49 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
0e97ef4ce8 add DBLIB and LIB_NDBM to the dependencies for libhdb.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 01:47:15 +00:00
Assar Westerlund
aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00
Assar Westerlund
5900961bba (libhdb_la_LDFLAGS): update to 7:4:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-10 13:27:54 +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
Assar Westerlund
2dfe4fb449 (libhdb_la_LDFLAGS): update to 7:3:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 17:25:50 +00:00
Assar Westerlund
c7562eda65 add some more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-13 06:30:42 +00:00
Johan Danielsson
3bd196cf37 more set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 10:52:26 +00:00
Johan Danielsson
ea426418be (read_master_mit): set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 10:40:43 +00:00
Assar Westerlund
dd7ce1026c (libhdb_la_LIBADD): add required library dependencies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-11 22:14:07 +00:00
Assar Westerlund
712b61da1e (libhdb_la_LDFLAGS): set version to 7:2:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 23:50:27 +00:00
Assar Westerlund
b6ea1534fd add >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 23:18:50 +00:00
Assar Westerlund
74db156c49 add a missing <string.h>, noted by Staffan Thomen <duck@multi.fi>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:43:08 +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
Johan Danielsson
4c1667b6be add generation number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:56:29 +00:00
Johan Danielsson
8382f5f001 add generation number code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:55:51 +00:00
Johan Danielsson
3e49adeb61 use krb5_storage to make it more dynamic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 13:43:25 +00:00
Assar Westerlund
42b9c1838f bump version to 7:1:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-16 23:50:57 +00:00
Johan Danielsson
083c221dfc asn1.h -> krb5_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-18 16:21:33 +00:00
Assar Westerlund
b4af9d661b change order of includes to allow it to work with more versions of
openldap


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 00:59:37 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00