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
Love Hörnquist Åstrand
1824e16f28
make samba forwarding a runtime configure option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:33:26 +00:00
Love Hörnquist Åstrand
f83d4958cb
(LDAP_message2entry): allow samba entires to be forwarded
...
From: Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:24:57 +00:00
Love Hörnquist Åstrand
d5b83091fb
(LDAP_message2entry): fix [] test
...
From: Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:22:06 +00:00
Love Hörnquist Åstrand
89494bfa4b
(LDAP_message2entry): remove bogus length check
...
From: Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:20:02 +00:00
Love Hörnquist Åstrand
ffa9994f58
(LDAP_message2entry): in the sambaNTPassword case, make sure
...
ent->etypes are allocated, From: Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:17:27 +00:00
Love Hörnquist Åstrand
84dd284f6a
(hdb_ldap_create): allow configuration of default structural object
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-01 16:30:09 +00:00
Love Hörnquist Åstrand
525c7fe95d
(hdb_list_builtin): return a list of builtin backends
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 20:08:28 +00:00
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
103cb19803
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:03:00 +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
34659fc782
support building ldap backend as module
...
sort asn1 hdb files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:30:21 +00:00
Love Hörnquist Åstrand
e4b3116bfe
when building ldap as a shared module, don't include it in the list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:26:46 +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
44cb7e1d74
add hdb_{,un}seal_key{,_mkey} from Andrew Bartlett <abartlet@samba.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 18:58:22 +00:00
Love Hörnquist Åstrand
483b0b78c3
fix all db >= 4.1 cases
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 12:48:39 +00:00
Love Hörnquist Åstrand
708a148e91
remove enforce-transited-policy, its no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-16 16:53:37 +00:00
Love Hörnquist Åstrand
e967835b0c
(LDADD): link with LIB_dlopen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 08:56:51 +00:00
Johan Danielsson
cf7d2c2fb1
add flag to enforce transited policy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 11:09:59 +00:00
Love Hörnquist Åstrand
f1e2f5f57a
libhdb might depend on LIB_dlopen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-21 14:04:55 +00:00
Love Hörnquist Åstrand
7ec533b6db
improve readability of ->open ifdef, check if version >= 4.1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 02:38:02 +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
497233da66
include <limits.h> for ULONG_MAX
...
noted by Wissler Magnus <M.Wissler@abalon.se > on heimdal-discuss
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 21:54:58 +00:00
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