Commit Graph

20 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ea42ef5261 clean up error handling, plug memory leaks, and free memory in error path,
assume realloc(NULL, ...) works, factor out common code, indent


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 12:38:48 +00:00
Love Hörnquist Åstrand
2220d2a312 use macro for HDB * -> LDAP *
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:04:39 +00:00
Love Hörnquist Åstrand
c5fd7d3102 Intergrate Heimdal's hdb-ldap and the Samba password database.
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:38:48 +00:00
Love Hörnquist Åstrand
2e03946bac revert the part of the file I didn't mean to commit yet (samba support)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:13:16 +00:00
Love Hörnquist Åstrand
f46a1ac367 make ldap possible to build as a shared module
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 21:51:24 +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
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
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
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
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
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
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
eeb71956be (LDAP__lookup_princ): call ldap_search_s correctly. From Jacques
Vidrine <n@nectar.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 16:59:08 +00:00
Assar Westerlund
c7c19f07f3 adapt to new hdb_seal_keys and hdb_unseal_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:24:29 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Johan Danielsson
bb90aecaee pass context to seal/unseal_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 13:17:32 +00:00
Assar Westerlund
42226a0c1d remove clause 3 from the copyright. ok'ed by lukeh in
<200004050950.TAA70900@au.padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-05 17:17:19 +00:00
Assar Westerlund
3df2bc1e8a tweak the ifdef to OPENLDAP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-05 03:34:31 +00:00
Assar Westerlund
141591df88 From Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-05 02:16:21 +00:00