Commit Graph

104 Commits

Author SHA1 Message Date
Pierangelo Masarati
6b035aac3e work around the last issue: some times the result times out while the other party is not willing to send any response; give it a second chance 2005-04-26 10:02:19 +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
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
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
947f87441e don't play with controls at bind 2005-01-26 09:45:23 +00:00
Pierangelo Masarati
8d14165274 fix ITS#3464 2005-01-08 10:59: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
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +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
29a5162483 cleanup 2004-03-06 16:47:58 +00:00
Pierangelo Masarati
abf2df7a11 initial round of fixes related to ITS#2986 2004-03-06 15:01:16 +00:00
Pierangelo Masarati
ca5515b460 fix the problem right now 2004-02-28 15:20:56 +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
Hallvard Furuseth
d7c2f20ba7 Change dn->bv_val to op->o_req_dn.bv_val in LDAP_LOG() (from rev 1.24 change). 2003-06-04 12:34:42 +00:00
Pierangelo Masarati
7de67df355 ensure all metasingleconns are init'ed 2003-04-18 10:02:00 +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
5c7e6e872d cleanup bind 2003-03-11 12:24:14 +00:00
Pierangelo Masarati
998ab2f441 fix log message (ITS#2359) 2003-03-10 07:36:42 +00:00
Pierangelo Masarati
f19df0a307 add 'rebind-as-user' according to back-ldap's implementation 2003-02-05 22:04:20 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Pierangelo Masarati
58b860a15e fix server-size controls handling in back-{ldap,meta} 2002-08-29 15:07:18 +00:00
Pierangelo Masarati
7e2317c842 add server side controls to back-ldap and back-meta 2002-08-29 14:39:31 +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
Julius Enarusai
ed8f299245 ITS#1730: Misc typos in NEW_LOGGING code from Hallvard 2002-04-25 22:12:44 +00:00
Pierangelo Masarati
4a2b9b2195 ITS#1730 2002-04-08 18:39:23 +00:00
Pierangelo Masarati
a8697827c8 fix questionable behavior in case of bind errors 2002-01-07 10:15:05 +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
Pierangelo Masarati
db71bb1c4d lots of migration to struct berval; unfortunately it seems to be broken 2002-01-03 16:29:38 +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
Howard Chu
d474789d0d First pass at converting bind to struct bervals 2001-12-26 11:41:38 +00:00
Pierangelo Masarati
af8488c37d fix result bug; add hooks for error selection based on priority (now the last one is selected) 2001-10-01 22:11:37 +00:00
Pierangelo Masarati
ccef53677f fix various result returning bugs, mostly related to candidate selction that results in invalid candidates (bug detected by Markus Storm <Markus.Storm@mediaWays.net>) 2001-10-01 16:16:51 +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