Commit Graph

8884 Commits

Author SHA1 Message Date
Howard Chu
ee0026ec1e Don't bother setting up threads if there are no indexed attrs (unlikely...) 2006-11-15 01:20:34 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Ralf Haferkamp
cdb9b2e2aa Add calls to PERL_SET_CONTEXT, as the active thread might not be the one
that created the PerlInterpreter object (ITS#4751)
2006-11-14 15:18:50 +00:00
Howard Chu
510c2b881e ITS#4746 additional leaks 2006-11-13 02:57:05 +00:00
Howard Chu
c9da788f78 ITS#4746 plug leaks 2006-11-13 02:44:45 +00:00
Howard Chu
bd95f8ab1c ITS#4738 provisional fix, still needs confirmation 2006-11-13 00:24:59 +00:00
Howard Chu
c6bf6672aa Add valx arg to config_parse_add - indicate which value in the current
operation is executing (as opposed to c->valx which indicates which
value in the target is being changed)
2006-11-12 02:22:23 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00
Howard Chu
7a92d4af1f Short-circuit the mapping search if more than 1 entry is found 2006-11-12 00:54:37 +00:00
Howard Chu
4df4d4f46c Tweak prev commit, use LDAP_UNAVAILABLE to force early termination 2006-11-11 23:38:01 +00:00
Howard Chu
161574b00d ITS#4744 authzTo/authzFrom patterns are supposed to allow multiple targets.
Partially revert rev 1.126.
2006-11-11 22:55:09 +00:00
Howard Chu
b42d93f24f ITS#3755 silence strict-aliasing warnings 2006-11-10 10:39:54 +00:00
Howard Chu
47793aa3c9 Fix typo in prev commit 2006-11-09 06:47:47 +00:00
Howard Chu
64a2dbf9d4 ITS#4741 fix error check from external password quality module 2006-11-09 04:06:37 +00:00
Howard Chu
6ac62a7573 Fix - failed Binds could leave a closing connection open. 2006-11-09 01:42:21 +00:00
Howard Chu
d3dc069a62 ITS#4704 use an old CSN while purging log. 2006-11-07 02:12:29 +00:00
Pierangelo Masarati
efb04832bd rework compare
fix several minor issues with using dangling pointers and uninitialized data
fix caching of privileged connections
fix issues with unresponsive target failures during search
2006-11-05 12:05:47 +00:00
Pierangelo Masarati
6f1d78b3ce s/fprintf/Debug/; improve logging 2006-11-05 09:24:51 +00:00
Pierangelo Masarati
2f861c56a6 cleanup variables scope; re-sort conditions 2006-11-05 09:24:01 +00:00
Pierangelo Masarati
c148b2381e improve previous commit (ITS#4729) 2006-11-03 08:35:51 +00:00
Pierangelo Masarati
3a2277cdf8 fix dynlist dynamic build (ITS#4729) 2006-11-03 00:29:19 +00:00
Howard Chu
1b1a0ebf18 Tweak prev commit:
Preserve delete/replace indication from original request
2006-11-02 19:26:04 +00:00
Howard Chu
730d8e5bd3 ITS#4728 mod/Replace can have no values also 2006-11-02 18:57:55 +00:00
Pierangelo Masarati
71bcd4a4b6 s/ldap_int_discard/ldap_pvt_discard/ 2006-10-28 18:13:12 +00:00
Pierangelo Masarati
07abb0eb3a fix concurrency issue when binding before a search; rework and cleanup data structures (remove unused members) 2006-10-28 16:20:59 +00:00
Pierangelo Masarati
45156c6d7a need ldap-int.h for ldap_int_discard() declaration (ITS#4717) 2006-10-28 16:19:53 +00:00
Kurt Zeilenga
dbaf7c5c25 More ldapbis cleanup 2006-10-28 04:47:58 +00:00
Kurt Zeilenga
99b954e2c3 LDAPBIS cleanup 2006-10-28 03:53:02 +00:00
Kurt Zeilenga
672f8ef3f3 RFC 4511 calls for unavailableCriticalExtension to returned when
a server is unwilling to make use of a known critical control.
2006-10-28 03:52:53 +00:00
Pierangelo Masarati
051cbd3990 missing CVS header 2006-10-26 22:48:34 +00:00
Howard Chu
44475373db Fix prev commit again (ITS#4722) 2006-10-26 22:10:12 +00:00
Pierangelo Masarati
ca3451504c fix building without threads (don't publish any thread-related monitor info...) 2006-10-26 21:44:10 +00:00
Howard Chu
b009b1820e ITS#4720 release csn mutex before checkpointing. 2006-10-26 15:34:40 +00:00
Pierangelo Masarati
6416d83372 add ldap_int_discard(); use it in proxies (ITS#4717) 2006-10-22 20:31:41 +00:00
Pierangelo Masarati
0aebe8af08 rework timeout strategy a little bit 2006-10-21 18:57:27 +00:00
Kurt Zeilenga
857e74bbed Remove extraneous SLAP_RELAX macro 2006-10-21 03:37:35 +00:00
Howard Chu
9a3138cb55 Fix typo in prev commit 2006-10-17 19:45:55 +00:00
Howard Chu
eb16636abe Tweak prev commit, add more notes (re ITS#4667) 2006-10-17 19:37:10 +00:00
Howard Chu
354e90a0d9 From rev 1.373, releasing the mutex means connection_close() may get called
from another thread. Drop the assert, just return instead.
2006-10-17 19:31:42 +00:00
Pierangelo Masarati
40a893a07e temporarily change umask only if required 2006-10-15 18:28:22 +00:00
Pierangelo Masarati
8567ce8eed fix previous commit 2006-10-15 18:24:30 +00:00
Pierangelo Masarati
b6525c14d9 missing decl 2006-10-15 18:03:25 +00:00
Pierangelo Masarati
c0be820648 fix format; silence warning 2006-10-15 18:01:27 +00:00
Pierangelo Masarati
cbf05fd777 log messages related to blocking failures at "none" level as well, so they make it through slaptest 2006-10-15 15:03:02 +00:00
Pierangelo Masarati
59e60483fa create IPC sockets with wide-open permissions (0222 might suffice; ITS#4709) 2006-10-14 17:35:50 +00:00
Pierangelo Masarati
f449ee6500 cleanup and streamline response handling 2006-10-14 17:12:05 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Pierangelo Masarati
b1a2be99c6 don't mix return codes (ITS#4711) 2006-10-14 09:26:22 +00:00
Pierangelo Masarati
fb2d3926ce only abort update if failed pre/post read control is critical: the only thing RFC 4527 says about failure is that in case of failure of the read, no control is appended to the result message; maybe no failure should ever occur (please review) 2006-10-14 01:08:41 +00:00
Pierangelo Masarati
117caa9aeb read entry should allow special attributes in request (*, +, 1.1) 2006-10-14 00:59:55 +00:00