Commit Graph

490 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b0a3f535bf SQLite3 backend from Pontus Walck and Stockholm Univerity.
The work was done as part of Pontus's exjobb. Thanks!

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:26:08 +00:00
Love Hörnquist Åstrand
11fd4a0cd2 hdb_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:38 +00:00
Love Hörnquist Åstrand
ecc751b6dd remove #if 0 codeblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:38 +00:00
Love Hörnquist Åstrand
0de4182acb drop unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:11 +00:00
Love Hörnquist Åstrand
03ae51a040 catch read from socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:00 +00:00
Love Hörnquist Åstrand
cc988ffd4b use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:08:24 +00:00
Love Hörnquist Åstrand
85268de15a use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:06:42 +00:00
Love Hörnquist Åstrand
e6b3f6f796 document hdb__ functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 17:45:01 +00:00
Love Hörnquist Åstrand
6fac16450a doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 17:22:10 +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
590edb2fe7 add hdb_entry_get_pkinit_cert and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 20:53:27 +00:00
Love Hörnquist Åstrand
4b25c7c880 add hdb_entry_get_pkinit_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:04:20 +00:00
Love Hörnquist Åstrand
6fe0364120 cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:36 +00:00
Love Hörnquist Åstrand
15d6e41dea add pkinit-cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:25 +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
597f9dbdfa make module private functions static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:46 +00:00
Love Hörnquist Åstrand
f90c2b8194 don't use hdb_dbc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:21 +00:00
Love Hörnquist Åstrand
7cbcadcb21 document
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:10 +00:00
Love Hörnquist Åstrand
037366a584 document part of hdb.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:58 +00:00
Love Hörnquist Åstrand
8bb6609db6 unexport more internal symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:42 +00:00
Love Hörnquist Åstrand
a5ee0ef10f unexport hdb_db_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:29 +00:00
Love Hörnquist Åstrand
c3866bd220 add encode_hdb_keyset and length_hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:57:54 +00:00
Love Hörnquist Åstrand
47023f94ff add test_hdbkeys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:25 +00:00
Love Hörnquist Åstrand
ad63429ea0 Code to print hdb_keysets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:14 +00:00
Love Hörnquist Åstrand
ae945b27d7 Use calloc().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:04 +00:00
Love Hörnquist Åstrand
d6a0a48ce7 add hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:47 +00:00
Love Hörnquist Åstrand
95f39b1cc0 add hdb_keyset and opaque
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:37 +00:00
Love Hörnquist Åstrand
31fb2759da Drop DES from default keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:08:11 +00:00
Love Hörnquist Åstrand
62f5e43dff add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:05 +00:00
Love Hörnquist Åstrand
9921bcbe2a plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:18 +00:00
Love Hörnquist Åstrand
765d501701 keys cant be NULL after assiging a static variable to it, cid#4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:32 +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
2dab920021 add length_HDB_Ext_PKINIT_acl, encode_HDB_Ext_PKINIT_acl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-17 21:33:10 +00:00
Love Hörnquist Åstrand
370256ce41 include krb5.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:39 +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
883bf6e6d8 quote userid too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:20:37 +00:00
Love Hörnquist Åstrand
18e483856b Use ldap_bv2escaped_filter_value to filter the search query. Idea from Michael Ströder.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:20:23 +00:00
Love Hörnquist Åstrand
21fdd30824 Filter out searches for *@REALM, which takes very long time, and other
ldap special characters, this should really be quoting instead.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 01:32:04 +00:00
Love Hörnquist Åstrand
9f696b11c2 Patch to handle sambaPwdLastSet, sambaPwdMustChange was drop some Samba versions ago.
From David Markey

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:35 +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
0c425c680b Malloc enough memory, from Brian Scott.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-02 09:11:48 +00:00
Love Hörnquist Åstrand
b60c237dab All keys doesn't include des keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:38 +00:00
Love Hörnquist Åstrand
1aff6e34d9 export more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:30:11 +00:00
Love Hörnquist Åstrand
f5660e1ec7 export more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-12 20:41:24 +00:00
Love Hörnquist Åstrand
fc1fbd6273 export hdb_kt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:35:18 +00:00
Love Hörnquist Åstrand
5543b94211 some random bits needed for libkadm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:43:02 +00:00