Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Pierangelo Masarati
754a059951
fix concurrency issues
2005-07-04 22:41:54 +00:00
Pierangelo Masarati
9146b262ad
fix potential deadlock; first round of refcnt for connections
2005-07-03 23:28:35 +00:00
Pierangelo Masarati
ba0f3112c4
add "matchedDN" field when appropriate
2005-06-28 23:22:48 +00:00
Pierangelo Masarati
b836fc3ea2
first round of provisions for back-config
2005-06-19 22:41:12 +00:00
Pierangelo Masarati
595d41b421
cleanup
2005-06-18 18:57:46 +00:00
Pierangelo Masarati
a215fdea66
a bit more reworking and streamline; the change to the LAST_CONN test seems to eliminate the last LDAP_BUSY problems on the only machine that was showing it yet; please test
2005-05-05 17:34:11 +00:00
Pierangelo Masarati
4d9750afb5
honor T-F filters (ITS#3706) and lots of cleanup
2005-05-04 23:57:55 +00:00
Pierangelo Masarati
fa49a73fc4
fix retry; add per-target configurable number of retries; addresses ITS#3672, ITS#3676 & ITS#3680
2005-04-25 18:56:56 +00:00
Pierangelo Masarati
41aad6e27f
more on error handling reworking; should address ITS#3672 and ITS#3676
2005-04-22 21:43:52 +00:00
Pierangelo Masarati
4ecdb6285d
cleanup
2005-04-22 17:30:59 +00:00
Pierangelo Masarati
eda6c5abcb
remove unnecessary call
2005-04-22 12:59:30 +00:00
Pierangelo Masarati
95d3db5d25
fix previous commit
2005-04-21 22:22:43 +00:00
Pierangelo Masarati
08a6909f73
add basic support for retry; protect internal bind behind mutexes; rework search, review candidate selection; minor cleanup. Passes concurrency test036
2005-04-21 03:17:31 +00:00
Pierangelo Masarati
c3fd851a59
slightly reduce malloc overhead; minor cleanup
2005-04-20 18:52:10 +00:00
Pierangelo Masarati
c1b5e84e2d
a) implement a new candidate selection procedure, based on target naming
...
context checking and multiple match resolution via an internal search
b) move the candidate listing in a persistent per-thread buffer
c) fix bind procedure
d) minor cleanup
(a) and (b) should address ITS#2935; (b) and (c) should address ITS#3171
A test is also added
2005-04-16 02:25:41 +00:00
Pierangelo Masarati
d7a5355176
enable tls-related code only if available; import fix for asynchronous starttls from back-ldap
2005-02-27 17:20:04 +00:00
Pierangelo Masarati
e50092878d
temporarily revert to synchronous start tls
2005-02-05 17:33:22 +00:00
Pierangelo Masarati
73ca57cfef
import selected improvements from back-ldap: use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:27 +00:00
Pierangelo Masarati
e3a19bfa32
import referral chaing options from back-ldap
2005-02-05 11:33:32 +00:00
Pierangelo Masarati
5422345e55
major namespace cleanup & minor fixes
2005-01-08 09:20:54 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Pierangelo Masarati
4e71b85481
exploit new frontend API 2 protocol error mapping
2004-04-05 17:32:59 +00:00
Pierangelo Masarati
65b49dd312
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
2004-03-10 21:11:14 +00:00
Pierangelo Masarati
abf2df7a11
initial round of fixes related to ITS#2986
2004-03-06 15:01:16 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
fbba83b20f
notices and acknowledgements
2003-12-08 17:41:40 +00:00
Kurt Zeilenga
a3d8cda201
notices and acknowledges
2003-11-27 06:35:14 +00:00
Pierangelo Masarati
0864531e58
add network timeout (ITS#2413 reworked)
2003-05-03 11:30:38 +00:00
Pierangelo Masarati
629885a269
use SLAP_PTRCMP
2003-04-18 17:16:48 +00:00
Pierangelo Masarati
7de67df355
ensure all metasingleconns are init'ed
2003-04-18 10:02:00 +00:00
Pierangelo Masarati
81c616fdb2
works fine now
2003-04-07 19:01:48 +00:00
Pierangelo Masarati
6ef22ccdcb
first cut at grouping rewrite/map stuff; needs work
2003-04-07 17:04:14 +00:00
Pierangelo Masarati
5804183f04
propagate selected changes to back-ldap
2003-04-05 16:53:57 +00:00
Pierangelo Masarati
dfbbd11bd3
remove more unnecessary args
2003-04-04 00:43:40 +00:00
Pierangelo Masarati
798289fd50
new API; compiles if proxy is disabled
2003-04-03 21:35:54 +00:00
Pierangelo Masarati
5a771fcac0
cleanup versioning
2003-01-23 22:45:17 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Pierangelo Masarati
a9c902a7ca
improve error messages
2002-11-10 18:16:43 +00:00
Pierangelo Masarati
1abb8cb339
rework connection pool handling (reduce amount of malloc)
2002-08-09 17:15:10 +00:00
Kurt Zeilenga
838643d5ad
operationsError != Internal Error
...
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-07-31 22:49:02 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
c5c1ddb1ca
Deleted Connection->c_cdn. Use conn->c_dn instead...
2002-06-12 08:38:59 +00:00
Howard Chu
ce7d8d26f2
Changed conn->c_cdn to struct berval.
2002-01-06 03:26:09 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
975a5e9a24
Added dnPretty2/dnNormalize2 using preallocated destination berval
2001-12-29 04:48:00 +00:00
Pierangelo Masarati
02153708a0
conversion to berval DN
2001-12-27 12:17:54 +00:00
Pierangelo Masarati
c5a9ffa62e
pseudo-root dn bind; a couple of minor fixes
2001-05-19 17:02:39 +00:00
Pierangelo Masarati
90766f4d4f
minor cleanup; some error handling and log fixes
2001-05-16 23:06:15 +00:00
Pierangelo Masarati
0b4c7e0181
added new logging to back-meta
2001-05-13 23:44:22 +00:00
Pierangelo Masarati
74fa239a20
This is the commit of:
...
- librewrite, for string rewriting; it may be used in back-ldap
by configuring with '--enable-rewrite'. It must be used in
back-meta. There's a text file, 'libraries/librewrite/RATIONALE',
that explains the usage and the features. More comprehensive
documentation will follow.
- enhancements of back-ldap (ITS#989,ITS#998,ITS#1002,ITS#1054 and ITS#1137)
including dn rewriting, a fix to group acl matching and so
- back-meta: a new backend that proxies a set of remote servers
by spawning queries. It uses portions of back-ldap and the rewrite
capabilities of librewrite. It can be compiled by configuring
with `--enable-ldap --enable-rewrite --enable-meta'.
There's a text file, 'servers/slapd/back-meta/Documentation', that
describes the main features and config statements.
Note: someone (Kurt?) should run 'autoconf' and commit 'configure' as
my autoconf version must be different: my configures contain a number
of differences and I didn't feel comfortable in adding them :)
2001-05-12 00:51:28 +00:00