Love Hörnquist Åstrand
3e112be2cc
don't use the sambaNTPassword if there is ARCFOUR key already.
...
Idea from Andreas Hasenack.
While here, set pw change time using sambaPwdLastSet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-14 21:02:46 +00:00
Love Hörnquist Åstrand
ce2f8d406f
(HDBFlags): Add allow-kerberos4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-14 18:28:14 +00:00
Love Hörnquist Åstrand
f90b31406f
(HDBFlags): add trusted-for-delegation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:53:23 +00:00
Love Hörnquist Åstrand
5022bbcee3
(hdb_entry_get_ConstrainedDelegACL): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 19:56:44 +00:00
Love Hörnquist Åstrand
cb704efeeb
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
0db21e2b07
Bump hdb interface version to 4.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 07:37:11 +00:00
Love Hörnquist Åstrand
d176572cbc
(hdb_get_entry): Break out the that we request from principal from the
...
entry and pass it in as a seprate argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:01:30 +00:00
Love Hörnquist Åstrand
becd133799
Break out the that we request from principal from the entry and pass
...
it in as a seprate argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:00:29 +00:00
Love Hörnquist Åstrand
47d79a7568
Break out the that we request from principal from the entry and pass
...
it in as a seprate argument. Add more flags to ->hdb_get(). Re-indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 10:59:32 +00:00
Love Hörnquist Åstrand
a6b897ef0d
(hdb_replace_extension): set error message on failure, not success.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:20:22 +00:00
Love Hörnquist Åstrand
520d13e506
(parse_key_set): handle error case better
...
(hdb_generate_key_set): return better error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:09:38 +00:00
Love Hörnquist Åstrand
f5d20ae666
(hdb_create): print out what we don't support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 20:57:58 +00:00
Love Hörnquist Åstrand
72a5513806
Remove a delta from last revision that should have gone in later.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:20:45 +00:00
Love Hörnquist Åstrand
4c3ff70933
(hdb_resolve): off by one, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:48:26 +00:00
Love Hörnquist Åstrand
3e9565a941
(hdb_generate_key_set): set ret_key_set before going into the error
...
clause and freeing key_set. Found by IBM checker.
Make sure ret == 0 after of parse error, we catch the "no entries
parsed" case later.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:45:48 +00:00
Love Hörnquist Åstrand
f9160af5a1
(LDAP_message2entry): in declaration set variable_name as "hdb_entry_ex"
...
(hdb_ldap_common): change "arg" in condition (if) to "search_base"
(hdb_ldapi_create): change "serach_base" to "search_base"
From Alex V. Labuta.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 09:03:27 +00:00
Love Hörnquist Åstrand
b81ea8dcbc
Log the filter string to the error message.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-03 12:17:10 +00:00
Love Hörnquist Åstrand
91026474ad
memset hdb_entry_ex before use
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:54:10 +00:00
Love Hörnquist Åstrand
0c2369acd0
Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
eb128f4928
Wrap hdb_entry with hdb_entry_ex, add url support, add ldapi support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:34:23 +00:00
Love Hörnquist Åstrand
8145f2b840
drop convert_db, 0.0 to 0.1 transition was a long long time ago
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-08 19:23:53 +00:00
Love Hörnquist Åstrand
6e58db8120
(find_method): accept relative paths as old db format too.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 12:22:09 +00:00
Love Hörnquist Åstrand
486c4cd80c
Make compile again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 20:34:35 +00:00
Love Hörnquist Åstrand
f32ada0887
Only match db databases on filename starting with '/'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:48:07 +00:00
Love Hörnquist Åstrand
0fa794702c
(hdb_db_create): use calloc to callocate memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:33:24 +00:00
Love Hörnquist Åstrand
daf7286660
(hdb_ndbm_create): use calloc to allocate memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:31:36 +00:00
Love Hörnquist Åstrand
4107ec5557
Catch error returned by ->hdb_unlock. From Henry B. Hotz
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 13:51:40 +00:00
Love Hörnquist Åstrand
96ebe5947e
(hdb_seal_key_mkey): dont double encrypt keys
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:06 +00:00
Love Hörnquist Åstrand
a186871617
provide locking for version entries
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:05 +00:00
Love Hörnquist Åstrand
8822335041
only add krb5EncryptionType for already existing entries or heidmal entries
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:04 +00:00
Love Hörnquist Åstrand
5d847fc33b
provide interface to find avaible databates
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-19 13:07:03 +00:00
Love Hörnquist Åstrand
406caf3df5
HDB extensions access glue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:49:31 +00:00
Love Hörnquist Åstrand
1dd8eea802
Build extensions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:18:53 +00:00
Love Hörnquist Åstrand
6a53664484
Print extensions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:18:09 +00:00
Love Hörnquist Åstrand
e5d72971c2
Add error "Entry contains unknown mandatory extension".
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:17:22 +00:00
Love Hörnquist Åstrand
475b015e3c
Update (c).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:16:44 +00:00
Love Hörnquist Åstrand
848bf1b529
Update interface version (and indent).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:16:29 +00:00
Love Hörnquist Åstrand
90f0c3cff0
Add support for HDB-extension.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:15:44 +00:00
Love Hörnquist Åstrand
067af5ca8e
Expose the crypto operations on the master key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 08:41:03 +00:00
Love Hörnquist Åstrand
8443e8221a
(DB_open): catch errors from the d->open calls instead of letting them
...
slip though to d->cursor. Bug repport from Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 09:28:39 +00:00
Love Hörnquist Åstrand
f3862df669
(hdb_unseal_key_mkey): try to unseal key with keyusage 0 in case the
...
key was encrypted with MIT Kerberos (old patch from Johan)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:06:16 +00:00
Love Hörnquist Åstrand
22ca9e3e4a
Check encoder lengths from ASN1_MALLOC_ENCODE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-14 10:12:51 +00:00
Love Hörnquist Åstrand
50215461bc
the new asn.1 compiler includes the modules name in the depend file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:55:28 +00:00
Love Hörnquist Åstrand
d6560fb1ed
(DB_open): in case of error, close database
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:41:08 +00:00
Love Hörnquist Åstrand
1f54737a4c
(NDBM_open): in case of error, close database
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:37:57 +00:00
Love Hörnquist Åstrand
c5ac9b9af6
(DB_open): in case of error, close database
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:34:17 +00:00
Love Hörnquist Åstrand
aea172a9a7
rename optind to optidx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:09:56 +00:00
Love Hörnquist Åstrand
0927e1235b
const poison, add a unconst where needed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:08:46 +00:00
Love Hörnquist Åstrand
ffb7332d89
provde RTLD_NOW and RTLD_GLOBAL if they don't exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 18:12:28 +00:00
Love Hörnquist Åstrand
8c03feac90
use PADL version
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 17:33:40 +00:00