Pierangelo Masarati
7fd11ad679
minor cleanup
2006-09-17 16:44:40 +00:00
Pierangelo Masarati
8eb455e7b2
add sb_version to slap_bindconf;
...
rework slap_client_connect() and slap_discover_feature() accordingly
2006-09-11 00:52:43 +00:00
Pierangelo Masarati
0e13519191
ld may legitimately be NULL if another operation freed it because of a failure while binding
2006-09-09 17:01:28 +00:00
Pierangelo Masarati
84d6a04c91
improve timeout support (ITS#4157, ITS#4663)
2006-09-04 08:26:09 +00:00
Pierangelo Masarati
8129f7e2f2
fix arg format; better trace logging...
2006-09-03 11:14:37 +00:00
Pierangelo Masarati
906ff0d51a
don't abandon binds in progress; rather unbind (ITS#4663).
...
Better logging for tracing
2006-09-03 11:04:27 +00:00
Howard Chu
78172aa0cf
Entry/Attribute struct caching, to minimize malloc fragmentation
...
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
828d55be4d
invalidate idle connection if a candidate target does not respond for the duration of time limit...
2006-08-26 15:24:49 +00:00
Kurt Zeilenga
d3e288dffe
s/managedit/relax/
...
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Pierangelo Masarati
9c52a2c4ff
give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645)
2006-08-17 19:47:25 +00:00
Kurt Zeilenga
4ba9bc1c2d
Use LDAP_OTHER to indicate internal error
2006-08-12 21:46:29 +00:00
Pierangelo Masarati
fb11017d64
refine previous commit
2006-07-08 15:04:50 +00:00
Pierangelo Masarati
d16c9aacd7
count candidate unavailable (quarantined) targets
2006-07-08 12:42:09 +00:00
Pierangelo Masarati
5dcb4828d7
use bound credentials, if any
2006-07-01 16:45:07 +00:00
Pierangelo Masarati
aec9afc4e3
move retry into response handling (fix ITS#4594; partially addresses ITS#4591 as well)
2006-06-17 12:37:45 +00:00
Pierangelo Masarati
a5b520477c
more cleanup for previous commit
2006-06-15 23:43:09 +00:00
Pierangelo Masarati
3ebb40c4dd
port identity assertion to back-meta; share as much code as possible with back-ldap; misc cleanup
2006-06-15 23:12:38 +00:00
Pierangelo Masarati
20542a045f
fix previous commit
2006-06-10 19:47:31 +00:00
Pierangelo Masarati
33d79d1541
fix error mapping
2006-06-10 18:11:52 +00:00
Pierangelo Masarati
bed74c02cc
improve logging
2006-06-10 17:41:55 +00:00
Pierangelo Masarati
ca0184c309
centralize and cleanup bind response handling
2006-06-10 16:33:55 +00:00
Pierangelo Masarati
6bd9aa3755
remove unnecessary locks and resource cleanup
2006-06-10 15:30:24 +00:00
Pierangelo Masarati
50c6a95a62
make sure heavy concurrency doesn't cause quarantine loops
2006-06-10 01:08:45 +00:00
Pierangelo Masarati
942ca17669
cleanup resource release
2006-06-08 23:41:02 +00:00
Pierangelo Masarati
5466628e81
more about previous commit
2006-06-07 23:36:38 +00:00
Pierangelo Masarati
740f196548
rework quarantine locking and so
2006-06-07 23:25:38 +00:00
Pierangelo Masarati
53175f7ba6
more concurrency cleanup
2006-06-07 21:54:37 +00:00
Pierangelo Masarati
9aecc6c7e0
cleanup
2006-06-07 14:48:10 +00:00
Pierangelo Masarati
63d5a939b3
refine (and fix) back-meta handling of search initialization (ITS#4519)
2006-06-02 17:30:15 +00:00
Pierangelo Masarati
a2b7fd279f
cleanup
2006-06-02 15:43:47 +00:00
Pierangelo Masarati
9b7dc0aa36
trap an issue that occurred in odd conditions
2006-05-31 14:37:05 +00:00
Pierangelo Masarati
759638db20
misc cleanup
2006-05-31 14:11:07 +00:00
Pierangelo Masarati
85c9a7b4c5
further cleanop of previous commits
2006-05-30 00:40:39 +00:00
Pierangelo Masarati
f5fcd2c169
cleanup previous commit
2006-05-30 00:12:23 +00:00
Pierangelo Masarati
a6406de871
make room for plugins that deal with quarantine end
2006-05-29 21:43:20 +00:00
Pierangelo Masarati
795841b5a4
implement proxy quarantine (ITS#4569)
2006-05-27 19:54:27 +00:00
Pierangelo Masarati
e5c173691d
add cancel strategies (ITS#4560)
2006-05-20 14:29:01 +00:00
Pierangelo Masarati
9b388e5328
fix cleanup concurrency
2006-05-17 01:34:46 +00:00
Pierangelo Masarati
3b7084c170
reset the conn field in the cached connection if the bound DN is privileged (ITS#4547)
2006-05-15 01:42:05 +00:00
Pierangelo Masarati
1c16fa382a
line up back-meta to ITS#4546
2006-05-14 18:10:23 +00:00
Pierangelo Masarati
6910b36df8
more checks
2006-05-14 16:29:49 +00:00
Pierangelo Masarati
3393b15594
cleanup resource release
2006-05-14 15:11:53 +00:00
Pierangelo Masarati
93b88e0bbf
make sure realloc'd memory is reset
2006-05-13 02:06:10 +00:00
Pierangelo Masarati
87ba3eb8b0
refine previous commits (don't leave bindings around)
2006-05-12 19:25:31 +00:00
Howard Chu
ed25c75d60
plug leak
2006-05-10 12:53:36 +00:00
Pierangelo Masarati
c2369771f8
cleanup
2006-05-06 17:22:59 +00:00
Pierangelo Masarati
373ded8d24
add URI list resorting feature (ITS#4524)
2006-05-06 16:15:25 +00:00
Pierangelo Masarati
af5b506e37
fix previous commit
2006-05-06 11:53:54 +00:00
Pierangelo Masarati
470fda7744
cleanup version parsing
2006-05-06 10:42:29 +00:00
Pierangelo Masarati
2110880be1
refine previous commit
2006-05-06 03:16:45 +00:00
Pierangelo Masarati
a9b7f3612b
parallelize dobind/search (ITS#4519)
2006-05-06 02:25:53 +00:00
Pierangelo Masarati
23c766bbfd
make sure NULL pointers are not dereferenced
2006-05-04 22:07:35 +00:00
Pierangelo Masarati
9447b9fff4
gracefully handle server down while initiating a search (ITS#4518)
2006-05-04 08:37:31 +00:00
Pierangelo Masarati
45b378c753
don't muck with freed memory (spotted by valgrind)
2006-05-03 18:54:04 +00:00
Pierangelo Masarati
e01743193d
more coverity issues
2006-04-14 00:17:27 +00:00
Hallvard Furuseth
d60b89c148
meta_back_db_config: lutil_atou(version,) -> lutil_atoi
2006-04-13 22:23:03 +00:00
Pierangelo Masarati
bd8514fb1e
address protocol version issues (ITS#4488)
2006-04-13 16:20:00 +00:00
Pierangelo Masarati
8c1b8d3f7b
actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero
2006-04-07 01:28:56 +00:00
Pierangelo Masarati
0f1023b6c7
pedantic cleanup
2006-04-06 23:55:09 +00:00
Pierangelo Masarati
674c98fa7d
honor stop on error
2006-04-04 19:48:22 +00:00
Pierangelo Masarati
e21f57cf05
complete previous commit (protect binds)
2006-04-04 18:45:59 +00:00
Pierangelo Masarati
543396c804
make sure only on bind at a time occurs; release resources only when appropriate
2006-04-04 17:41:50 +00:00
Pierangelo Masarati
2e9f2995ec
only wait if no entry was returned
2006-04-04 17:41:13 +00:00
Pierangelo Masarati
79df3e9c3c
don't add unnecessary message
2006-04-03 22:06:12 +00:00
Pierangelo Masarati
14cbf4bc3e
make sure an invalid connection is always released as appropriate
2006-04-03 21:56:30 +00:00
Pierangelo Masarati
aecfb85793
immediately return sizelimitExceeded if appropriate
2006-04-03 21:14:14 +00:00
Pierangelo Masarati
c853ba1f0e
more on recovery (ITS#4429)
2006-04-03 00:32:59 +00:00
Pierangelo Masarati
46cb141185
seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout
2006-04-01 18:56:39 +00:00
Pierangelo Masarati
3160c03dab
cleanup previous commit
2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b
honor "chase-referrals no" (ITS#4447)
2006-03-23 21:01:19 +00:00
Pierangelo Masarati
a3f4f0b2db
map result codes as required (ITS#4419)
2006-03-02 00:35:12 +00:00
Pierangelo Masarati
41f963644c
be conservative in reading subtree-exclude
2006-02-16 23:37:42 +00:00
Pierangelo Masarati
af0d2b1d2a
add support for "subtree-exclude"
2006-02-16 01:26:39 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Pierangelo Masarati
53c40fac27
rework connection handling on multiple binds with the same connection
2006-02-11 17:40:28 +00:00
Pierangelo Masarati
6275c6ecdc
make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE)
2006-02-07 18:51:47 +00:00
Pierangelo Masarati
54aefe30f7
implement proxy long-lived connection TTL
2006-02-01 23:10:12 +00:00
Kurt Zeilenga
f5b9ff7940
unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
...
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Pierangelo Masarati
d168b49464
make back-meta conform with man page
2006-01-14 15:28:28 +00:00
Pierangelo Masarati
9795721f7a
improve back-meta retry capabilities (ITS#4328)
2006-01-11 19:33:44 +00:00
Pierangelo Masarati
543c588772
don't send error with back-meta
2006-01-09 15:13:29 +00:00
Pierangelo Masarati
6995603a3d
refine fix to ITS#4315; apply it to back-meta as well
2006-01-09 14:20:37 +00:00
Pierangelo Masarati
090945b89e
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet...
2006-01-06 17:08:06 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
8d4418b044
fix handling of bind-timeout
2005-12-21 17:28:27 +00:00
Pierangelo Masarati
8346de462b
silence warning
2005-12-20 20:36:05 +00:00
Pierangelo Masarati
fcda57e90f
use macros instead of numbers...
2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de
add (and document) customizable bind-timeout
2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b
minor cleanup
2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6
more about sizelimit disclose issue in back-meta (ITS#4213)
2005-12-11 23:39:09 +00:00
Pierangelo Masarati
1b42fde372
implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap
2005-12-07 17:35:02 +00:00
Pierangelo Masarati
5f8f4554ff
cleanup
2005-12-05 15:21:49 +00:00
Kurt Zeilenga
48cb85865d
Remove some unnecessary #ifdefs
2005-11-26 07:38:18 +00:00
Pierangelo Masarati
b3c8a976ec
use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings
2005-11-25 22:17:24 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Pierangelo Masarati
ce367bcc25
use friendly form for timeouts
2005-11-24 21:21:27 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
0fd295a321
first round of number/time parsing fixes
2005-11-23 17:29:16 +00:00
Pierangelo Masarati
e83f0f900b
set the berval length\! (ITS#4196)
2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65
don't return matchedDN in the case described in ITS#4195
2005-11-22 11:13:14 +00:00
Pierangelo Masarati
4852bf8a58
don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL
2005-11-20 01:59:26 +00:00
Pierangelo Masarati
7fa4b159bf
fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta
2005-11-19 15:00:50 +00:00
Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +00:00
Pierangelo Masarati
1145840994
remove from AVL before freeing...
2005-11-09 03:28:55 +00:00
Pierangelo Masarati
4cab386d13
backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings
2005-11-06 23:29:10 +00:00
Pierangelo Masarati
852e4e3109
allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150)
2005-11-05 14:44:43 +00:00
Pierangelo Masarati
acb17be789
fix size/time limit (ITS#4145)
2005-11-04 12:42:39 +00:00
Pierangelo Masarati
0207dcd3f9
import leak plug from slapo-rwm
2005-11-03 15:20:33 +00:00
Pierangelo Masarati
ac6b3e1415
don't leak massaged referral DN
2005-11-03 14:06:26 +00:00
Pierangelo Masarati
3cb2bc0c56
various cleanup
2005-11-01 16:36:17 +00:00
Pierangelo Masarati
cedb88c373
eat up values of removed attrs
2005-11-01 13:42:51 +00:00
Pierangelo Masarati
d3f33d8139
better fix: in case of error during bind, just bail out (very conservative, though)
2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24
fix incorrect bind error (ITS#4129)
2005-11-01 09:47:30 +00:00
Pierangelo Masarati
67397c46be
do not return success; frontend already does (ITS#4122)
2005-10-29 12:49:57 +00:00
Pierangelo Masarati
cfa2eefe3c
fix previous commit
2005-10-25 14:50:05 +00:00
Pierangelo Masarati
8a5a1ab39f
fix handling of invalid DN-valued attrs (ITS#4107)
2005-10-24 20:22:08 +00:00
Pierangelo Masarati
a16521ed4e
fix error message for invalid "uri" args
2005-10-15 12:33:04 +00:00
Pierangelo Masarati
b48ace2dfe
more about ITS#4086: fix back-meta as well
2005-10-14 00:43:23 +00:00
Pierangelo Masarati
644d9000f9
fix ITS#4073
2005-10-10 14:54:14 +00:00
Pierangelo Masarati
97614859be
fix ITS#4071
2005-10-08 19:39:56 +00:00
Pierangelo Masarati
ada7954667
deal with the case a pseudorootn is not defined
2005-10-01 18:31:14 +00:00
Pierangelo Masarati
01bb0fa1ea
plug selected leaks resulting from ITS#4056 & ITS#4057 implementation; may need further cleanup and reworking to streamline a bit
2005-10-01 18:07:00 +00:00
Hallvard Furuseth
05f5c7525b
Fix snprintf() format
2005-09-26 04:39:51 +00:00
Pierangelo Masarati
112be0118e
cleanup states/timeout handling in back-ldap/meta; add connection pooling and defer of pseudoroot bind to back-meta
2005-09-24 18:39:26 +00:00
Pierangelo Masarati
e2c9c843e1
fix previous commit; cleanup few 64 bit issues
2005-09-24 17:09:19 +00:00
Pierangelo Masarati
ae0b39e3cc
use result of validation (ITS#4028)
2005-09-19 09:06:29 +00:00
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Pierangelo Masarati
a1ff59f436
pretty the DN as well
2005-09-06 17:19:36 +00:00
Pierangelo Masarati
85e56eb653
don't lookup rootdn if the password is incorrect (ITS#4004)
2005-09-06 12:35:37 +00:00
Pierangelo Masarati
4ba83103d9
fix test before releasing resources (ITS#3990)
2005-08-31 15:11:25 +00:00
Pierangelo Masarati
a2ea1edb48
save target errors for later evaluation
2005-08-31 01:55:34 +00:00
Pierangelo Masarati
093994cfd5
further refine previous commit
2005-08-30 23:55:15 +00:00
Pierangelo Masarati
6ff4357427
fix previous commit
2005-08-30 21:21:32 +00:00
Pierangelo Masarati
b86467e0f8
cleanup previous commit (thanks to Hallvard)
2005-08-30 10:36:24 +00:00
Pierangelo Masarati
7a85e25402
prettify matchedDN
2005-08-28 14:50:41 +00:00
Pierangelo Masarati
39998dfe8d
prettify matchedDN; fix memory handling
2005-08-27 19:21:43 +00:00
Howard Chu
4cc7efdadc
Revert ITS#3577 patch, breaks Windows build and not needed in RE23.
2005-08-26 02:20:45 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Pierangelo Masarati
b90daf83f9
honor onerr on bind
2005-08-25 08:55:55 +00:00
Pierangelo Masarati
075220dd7e
need some minimal timeout otherwise strange issues occur
2005-08-22 18:14:41 +00:00
Pierangelo Masarati
ec1042b19e
allow a minimal timeout in compares
2005-08-22 09:42:26 +00:00
Pierangelo Masarati
e5d302e84f
normalize/pretty attributes when possible
2005-08-20 11:31:07 +00:00
Pierangelo Masarati
9c02a32b7c
more about matchedDN in back-meta (ITS#3944)
2005-08-18 14:55:28 +00:00
Pierangelo Masarati
11211d0dae
strip entryDN from search entries; frontend will reattach it :(
2005-08-18 11:26:29 +00:00
Pierangelo Masarati
557f5eb2ca
allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add)
2005-08-17 19:40:02 +00:00
Pierangelo Masarati
99ea177e05
implement overlapping targets enhancement (ITS#3711)
2005-08-17 08:34:49 +00:00
Pierangelo Masarati
76f52279ef
fix "matched" return and return code (ITS#3944)
2005-08-17 08:25:48 +00:00
Pierangelo Masarati
24befe380c
fix resources release issue
2005-08-17 08:25:10 +00:00
Pierangelo Masarati
c4ab7b1af2
in some cases, back-meta needs to propagate pseudo-root identity even if it's not the authorizing backend
2005-08-17 08:19:37 +00:00
Pierangelo Masarati
8fdfe1fcd0
plug yet another one-time leak
2005-08-07 16:45:13 +00:00
Pierangelo Masarati
fa27310d77
use trylock only where necessary
2005-08-07 00:35:11 +00:00
Pierangelo Masarati
fe2492309a
improve messages
2005-07-21 08:54:04 +00:00
Pierangelo Masarati
ac590d6b55
fix previous commit
2005-07-19 18:03:06 +00:00
Pierangelo Masarati
c5c0c3e4f5
fix previous commit (ITS#3871)
2005-07-19 14:25:10 +00:00
Pierangelo Masarati
882f43bf01
more about rewrite leaks
2005-07-19 14:24:26 +00:00
Pierangelo Masarati
efe74fbae0
fix yet another leak
2005-07-19 11:16:24 +00:00
Pierangelo Masarati
54a0c02c3d
implement per-target, per-operation timeouts
2005-07-19 00:43:38 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Pierangelo Masarati
03b6a692aa
trim (long ago) unused files
2005-07-16 16:06:34 +00:00
Pierangelo Masarati
5cb994ad36
fix memory leak (ITS#3862)
2005-07-15 01:08:34 +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
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
297c7933b1
add "onerr" flag
2005-06-25 15:13:44 +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
7fdcd2ec60
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:19:11 +00:00
Pierangelo Masarati
e12c4ca230
preemptive time limit check in proxy backends
2005-06-13 19:14:40 +00:00
Pierangelo Masarati
be53e82650
fix entry DN free
2005-05-21 14:53:05 +00:00
Pierangelo Masarati
46387a12a9
fix sizelimit interaction with glue overlay (ITS#3724)
2005-05-13 13:10:33 +00:00
Pierangelo Masarati
96773427db
don't bother about slap_dummy_bv
2005-05-13 09:06:28 +00:00
Pierangelo Masarati
c4cfe03619
fix sizelimit bug (ITS#3720)
2005-05-12 22:37:56 +00:00
Howard Chu
376537f3d7
ITS#3577 Make librewrite shared - > liblrewrite.la
2005-05-11 10:18:27 +00:00
Pierangelo Masarati
1c8a9fdbeb
remove cruft
2005-05-11 08:41:35 +00:00
Pierangelo Masarati
f9e17b539a
remove obsolete tests
2005-05-11 08:39:39 +00:00
Pierangelo Masarati
e6e80d00f1
don't leave consts around
2005-05-07 10:52:05 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Pierangelo Masarati
5ad7133202
add support for "subordinate" scope
2005-05-06 10:21:00 +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
f0122ce3fc
move discover function to frontend
2005-05-05 00:22:43 +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
642b788fb2
fix printing a NULL value (ITS#3698)
2005-05-03 23:42:28 +00:00
Pierangelo Masarati
137e46059c
don't return client API error if the server is down...
2005-04-30 17:54:35 +00:00
Pierangelo Masarati
58a358e7b2
more cleanup in handling timeouts in ldap_result()
2005-04-26 21:48:43 +00:00
Pierangelo Masarati
bb21f09d1f
use safe(r) default
2005-04-26 20:10:15 +00:00
Pierangelo Masarati
6076695eb8
handle the null lud_dn case...
2005-04-26 10:34:37 +00:00
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
06eef0c78d
reset candidates when intentionally abandoning; consistently handle referrals
2005-04-25 23:54:51 +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
410638fda1
fix memory leak (ITS#3669)
2005-04-19 14:31:07 +00:00
Pierangelo Masarati
623615e2f1
protect macro
2005-04-16 03:13:37 +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