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
Love Hörnquist Åstrand
3912e6c785
add EQUALITY rule for krb5ValidStart, krb5ValidEnd, krb5PasswordEnd
...
From Howard Chu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 14:30:14 +00:00
Love Hörnquist Åstrand
95b30c4a5b
this lib include com_err, add -com_err to CHECK_SYMBOLS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 21:17:32 +00:00
Love Hörnquist Åstrand
e621738b3a
drop <ctype.h>, no longer use any of the is* macros in this file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:03:54 +00:00
Love Hörnquist Åstrand
44feff968e
CHECK_SYMBOLS += HDBFlags2int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:12:27 +00:00
Love Hörnquist Åstrand
e502ee6379
AES is enabled by default, remove ifdefs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:42:05 +00:00
Love Hörnquist Åstrand
6058abac27
use the newly written hex function from roken and remove the old implementation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:13:01 +00:00
Love Hörnquist Åstrand
147757d076
bump version to 8:0:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:44:42 +00:00
Love Hörnquist Åstrand
0e11d3a6ee
(DB_open): correct the check for O_RDONLY
...
From: Chaskiel M Grundman <cg2v@andrew.cmu.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:45:38 +00:00
Love Hörnquist Åstrand
cbdcb76d5c
add CHECK_SYMBOLS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 20:46:51 +00:00
Love Hörnquist Åstrand
47482574e4
make all_etypes static
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 20:41:23 +00:00
Love Hörnquist Åstrand
5e2d8fe7ba
Add account expiration for samba from James F. Hranicky <jfh@cise.ufl.edu>.
...
Add LDAP_addmod_integer and use it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-28 12:59:11 +00:00
Love Hörnquist Åstrand
c932cd471a
add (c) kth
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 16:29:53 +00:00
Love Hörnquist Åstrand
09647068e1
(pos): uppercase in character
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 08:46:07 +00:00
Love Hörnquist Åstrand
62b865cdd2
(LDAP__bytes2hex,LDAP__hex2bytes): encode nibbels in the other order
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-12 23:29:42 +00:00
Love Hörnquist Åstrand
cd395c78ad
s/objectclass/objectClass/
...
check if attribute exists before we try to delete it
LDAP__bytes2hex encodes in strange byte order, is this really right ?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-12 21:37:35 +00:00
Love Hörnquist Åstrand
8070d8d5c0
ldap schema from PADL.COM
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-12 14:55:17 +00:00
Love Hörnquist Åstrand
17649d29d8
(LDAP_firstkey): When iterating over all entries, search for samba
...
accounts too, From: "James F. Hranicky" <jfh@cise.ufl.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-11 22:41:46 +00:00
Love Hörnquist Åstrand
ca797bb5d5
(krb5kdcentry_attrs): ask for attribute uid too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-11 19:17:02 +00:00
Love Hörnquist Åstrand
30bd897db2
(LDAP_message2entry): if the entry is missing both krb5PrincipalName
...
and uid, it must be broken, ignore it and return it doesn't exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-11 18:55:18 +00:00
Love Hörnquist Åstrand
9fd91474ad
use constrained integers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-10 18:50:27 +00:00
Love Hörnquist Åstrand
c61ef0d7ab
Move keyset parsing and password based keyset generation into hdb.
...
Requested by Andrew Bartlett <abartlet@samba.org > for hdb-ldb backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-11 23:50:25 +00:00
Johan Danielsson
64c89a98fe
remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:25:20 +00:00
Johan Danielsson
0624b4457e
replace INCLUDES with AM_CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
158d6369e8
(LDAP_entry2mods): allow for pre-c99 compilers, From metze at samba.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-22 06:05:18 +00:00
Love Hörnquist Åstrand
255b3f04e7
(LDAP_seq): try handling errors better
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-08 14:29:20 +00:00
Love Hörnquist Åstrand
6b8911bca7
(LDAP__connect): call ldap_initialize with right argument
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-01 01:58:17 +00:00
Love Hörnquist Åstrand
edb7f2e0f2
if its the entry just contains the structural object (no samba nor
...
heimdal object), add an aux heimdal object on to it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-05 12:03:18 +00:00
Love Hörnquist Åstrand
ddcc2d1a97
Allow the objectClass to be "sambaSamAccount" or structural_object
...
when searching for uid entries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 14:19:07 +00:00
Love Hörnquist Åstrand
31f45fb97b
add creation base that defaults to the search base
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 13:06:38 +00:00
Love Hörnquist Åstrand
1459542470
indent like the rest of the code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 22:58:50 +00:00
Love Hörnquist Åstrand
2e20f6c28f
check return values from ldap operations and close it we get back
...
LDAP_SERVER_DOWN. stupid ldap client lib, you should retry by yourself.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 20:09:29 +00:00
Love Hörnquist Åstrand
fabc739054
require search base to be configured, create local context structure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-01 15:29:36 +00:00
Love Hörnquist Åstrand
31a565d11c
clean, indent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-28 11:34:32 +00:00
Love Hörnquist Åstrand
c2ac17b82e
(LDAP_entry2mods): make sure krb5KeyVersionNumber is added on new entires
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-28 10:36:03 +00:00
Love Hörnquist Åstrand
0dd55a0e22
indent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 10:58:54 +00:00
Love Hörnquist Åstrand
8447f193fb
make samba_forwardable a krb5_boolean
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:34:46 +00:00