Commit Graph

19178 Commits

Author SHA1 Message Date
Howard Chu
6dc52cc91d ITS#5195 - use connection's ssf for auxprop lookup 2010-03-04 00:16:49 +00:00
Howard Chu
61129f8d7a ITS#6433 add mechs for generating SHA2 hashes 2010-03-03 23:56:30 +00:00
Howard Chu
e85ca5d49a ITS#6484 don't bypass other overlays' entry_release handler 2010-03-03 23:36:29 +00:00
Howard Chu
d66792902f ITS#6486 - avoid explicit moduleload in examples 2010-03-03 20:47:25 +00:00
Howard Chu
5c527bc49e Fix compare checking in pam_authz 2010-03-03 19:30:58 +00:00
Howard Chu
c0e63e8350 Lookup user DN in pam_authz if it was not provided 2010-03-03 00:47:28 +00:00
Howard Chu
38b3fdafb7 Fix pam_authz parameter input 2010-03-03 00:15:04 +00:00
Howard Chu
47f1c8c887 ITS#6473 fail delta-sync when unknown attrs are received 2010-03-02 21:45:25 +00:00
Howard Chu
f992b66f05 ITS#6484 - cache DB needs to release its own entries 2010-03-02 21:29:32 +00:00
Pierangelo Masarati
0394c805ab ignore non-critical control with unrecognized flags (ITS#6480) 2010-02-22 21:53:38 +00:00
Ralf Haferkamp
a2dc37d053 Bring back destructor, to keep ABI compatibile (at least for now) 2010-02-19 14:02:32 +00:00
Ralf Haferkamp
183cdd4398 Example for TlsOptions usage 2010-02-18 16:46:23 +00:00
Ralf Haferkamp
67486ca0aa exclude some internal structs from documentation 2010-02-18 16:24:41 +00:00
Ralf Haferkamp
26421a5254 TlsOptions documentation 2010-02-18 16:23:40 +00:00
Ralf Haferkamp
35f19eac28 Hide internal use only constructor 2010-02-18 16:22:49 +00:00
Pierangelo Masarati
d85e24dfa3 fix return 2010-02-17 20:08:07 +00:00
Ralf Haferkamp
b0075c970e method to renew the tlsctx 2010-02-16 17:48:14 +00:00
Ralf Haferkamp
d0f4f42350 Make TlsOptions accessible per connection 2010-02-16 17:47:05 +00:00
Ralf Haferkamp
277b3318d4 use const where appropriate 2010-02-16 17:44:22 +00:00
Ralf Haferkamp
e3a23a0891 removed buggy destructor, use default instead 2010-02-16 15:20:05 +00:00
Ralf Haferkamp
98252925e3 fixed start_tls() error handling 2010-02-16 15:17:53 +00:00
Ralf Haferkamp
4ea6beae06 silenced compiler warning 2010-02-16 11:55:33 +00:00
Ralf Haferkamp
be72826917 uninitialized variable 2010-02-16 11:55:05 +00:00
Ralf Haferkamp
634ab644b6 automake changes for TlsOptions 2010-02-15 17:24:45 +00:00
Ralf Haferkamp
ad93b706a9 New class "TlsOptions" to handle TLS/SSL related settings 2010-02-15 17:17:42 +00:00
Ralf Haferkamp
78c09eadfd tab<->spaces cleanup 2010-02-15 17:07:46 +00:00
Ralf Haferkamp
5ceb2cd4e0 ITS#6467, use memcpy instead for strcpy when copying across array
boundaries. To account for stricter checks when using -D_FORTIFY_SOURCE=2
with GCC 4.5
2010-02-15 15:25:47 +00:00
Pierangelo Masarati
3cd65c0a5d reduce code duplication 2010-02-12 08:55:34 +00:00
Ralf Haferkamp
bca52e1b18 ITS#6469, don't touch op_attrs when updatedn is modifying contextCSN 2010-02-05 11:49:49 +00:00
Howard Chu
376cdb1e92 Add minimal doc for pbind overlay. Note both chain and pbind are built in
to back-ldap.
2010-02-04 04:11:17 +00:00
Howard Chu
32feda4478 Add pbind proxybind overlay. Just intercepts Bind requests on a regular DB
and proxies them to a remote server.
2010-02-04 01:59:58 +00:00
Howard Chu
66a58ae93a ConnTTL, NetworkTimeout, and ProtocolVersion were missing from the
config OC, thus inaccessible from cn=config
2010-02-04 01:02:51 +00:00
Rein Tollevik
1af4e43236 ITS#6468: Implement bi_access_allowed. 2010-02-02 15:51:32 +00:00
Ralf Haferkamp
1a9ef3b4ea ITS#6465, don't unparse empty uri string 2010-02-02 14:43:21 +00:00
Howard Chu
0e16b2ea55 ITS#6466 certificateListValidate: Empty Sequence-of is legal 2010-01-30 23:32:50 +00:00
Kurt Zeilenga
f967ec3b4e Set res parameter to NULL upon ldap_search_ext_s entry. Likewise for friends.
Note in manual that res parameter should be freed regardless of return value
of ldap_search_ext_s (or friends).
2010-01-29 23:11:24 +00:00
Pierangelo Masarati
797387c4ef skip the serial, whatever its length (ITS#6460) 2010-01-24 19:16:57 +00:00
Ralf Haferkamp
837320eaac plugged one time memory leak (found with valgrind) 2010-01-22 18:01:25 +00:00
Ralf Haferkamp
9e3517595d Plugged memory leak. Syncentry wasn't free'd when sending
LDAP_SYNC_NEW_COOKIE intermediate results. (ITS#6459)
2010-01-21 13:33:21 +00:00
Pierangelo Masarati
0cf528630f implement support for selective iteration in slaptools (ITS#6442) 2010-01-18 15:00:40 +00:00
Pierangelo Masarati
a4b109d034 sync with code 2010-01-18 14:52:41 +00:00
Hallvard Furuseth
d58f4ff849 Gentler message when falling back to ch_malloc 2010-01-15 18:53:13 +00:00
Howard Chu
b8a1da95a2 dn2id_lock is no longer needed 2010-01-11 22:14:15 +00:00
Rein Tollevik
fdd2c3a5a7 ITS#6441 cyrus-sasl 2.1.24 auxprop_lookup plugin returns status. 2010-01-06 13:55:35 +00:00
Hallvard Furuseth
67857a6b94 ITS#6437 FORCED COMMIT: 1.62's Ensure Align >= sizeof(ber_len_t) anticipated
1.64 sl_malloc()'s size=(size +...+ Align-1 + !size)... to make room for tail.
2010-01-06 09:14:08 +00:00
Hallvard Furuseth
644506db6b ITS#6437: Fix pool version misalignment: It aligned heads, not returned blocks 2010-01-05 23:31:14 +00:00
Hallvard Furuseth
705bd5bf40 ITS#6437, move structs slab_object and slab_heap from slap.h to sl_malloc.c 2010-01-05 23:14:14 +00:00
Hallvard Furuseth
1af33a46c9 ITS#6437, save space: Do not allocate the tail, except if size==0.
Store a tail only in freed blocks.  (Alignment ensures there will
be room.)  Put the freed mark in next block's head.
2010-01-05 22:11:24 +00:00
Hallvard Furuseth
d515f24255 ITS#6437 cleanup (noop patch): Join SLAP_NO_SL_MALLOC code with identical
ctx==NULL code.  Add enum No_sl_malloc to avoid #ifdef SLAP_NO_SL_MALLOC.
2010-01-05 19:40:28 +00:00
Hallvard Furuseth
5d883c044a ITS#6437, follow up previous fixes:
Ensure Align >= sizeof(ber_len_t), to clarify the code's requirements.
Rearrange a slap_sl_malloc() branch to factor out ch_malloc fallbacks.
Fix range check (ptr+size >= endptr) -> (size >= endptr-ptr).  Fix debug msg.
2010-01-05 19:25:28 +00:00