Commit Graph

47 Commits

Author SHA1 Message Date
Pierangelo Masarati
7a85e25402 prettify matchedDN 2005-08-28 14:50:41 +00:00
Pierangelo Masarati
ec1042b19e allow a minimal timeout in compares 2005-08-22 09:42:26 +00:00
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
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
41aad6e27f more on error handling reworking; should address ITS#3672 and ITS#3676 2005-04-22 21:43:52 +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
5427af1f62 don't play with controls at bind; rather use the ldap_*_ext API 2005-01-26 09:52:12 +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
Pierangelo Masarati
ba6ac023ad works now 2004-12-30 17:45:07 +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
58c637479d return error code only if required (ITS#3042) 2004-04-03 12:15:33 +00:00
Pierangelo Masarati
65b49dd312 add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite 2004-03-10 21:11:14 +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
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
628bcc7174 improve error handling 2003-02-10 22:34:06 +00:00
Pierangelo Masarati
985dc00b30 cleanup objectclass detection 2003-01-27 16:46:02 +00:00
Pierangelo Masarati
45f4e3602b clean up mapping api 2003-01-27 16:39:56 +00:00
Pierangelo Masarati
d8756a1c98 fix ITS#2289 (don't use shared data for search state; use msgid instead) 2003-01-23 22:07:33 +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
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
Pierangelo Masarati
7b8c4c3b50 fix some ava bugs 2001-12-29 15:13:24 +00:00
Pierangelo Masarati
02153708a0 conversion to berval DN 2001-12-27 12:17:54 +00:00
Howard Chu
0e16f6acf9 Moved AttributeDescription caching into main code:
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
   Deleted ad_free() everywhere
   Added ad_mutex to init.c

The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Pierangelo Masarati
970abe2637 semicolon after colon in goto labels; no C++ style comments; unused vars removed or #ifdef'd 2001-06-03 08:55:17 +00:00
Pierangelo Masarati
c5a9ffa62e pseudo-root dn bind; a couple of minor fixes 2001-05-19 17:02:39 +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