Commit Graph

6038 Commits

Author SHA1 Message Date
Howard Chu
50ed4465fb slap_known_controls is now an array. (control.c r1.117) 2004-11-23 14:45:36 +00:00
Howard Chu
6bbca5e368 Now that we have a fixed number of slots for controls, don't bother
realloc'ing slap_known_controls.
2004-11-23 14:42:04 +00:00
Howard Chu
155387428a Add comment for spare bits in ctrlflags 2004-11-23 14:12:13 +00:00
Howard Chu
47dd8d8732 Dynamic control management 2004-11-23 13:08:45 +00:00
Howard Chu
99ee94a3de Tweak findcsn conditions for validating cookie csn 2004-11-22 03:56:27 +00:00
Howard Chu
09e2035c39 Passes test017 2004-11-22 03:24:59 +00:00
Howard Chu
c5006f4b87 Fix modtail initialization in loop 2004-11-22 02:11:15 +00:00
Howard Chu
e49c13b874 More refresh working... 2004-11-21 18:25:02 +00:00
Howard Chu
884ab2e0c7 Getting refresh working 2004-11-21 17:59:21 +00:00
Howard Chu
8632d8cd04 BDB 4.3 compatibility - errcall prototype 2004-11-21 16:50:24 +00:00
Howard Chu
70d3e8f102 Don't bother including <sys/epoll.h> if we're not using epoll. 2004-11-21 02:18:26 +00:00
Pierangelo Masarati
f93d4a31e8 allow a "users" type in ACI 2004-11-20 14:07:07 +00:00
Pierangelo Masarati
cc0353610f more cleanup and ITS number 2004-11-20 12:12:57 +00:00
Pierangelo Masarati
c75386a279 cleanup fix to ITS#3303 2004-11-20 12:07:39 +00:00
Pierangelo Masarati
40762c524a fix ITS#3303 2004-11-20 11:55:46 +00:00
Pierangelo Masarati
1e650374c2 add more semantics to the "type" field; fix a bug in anonymous operations; treat children aci_mask() as internal searches 2004-11-20 11:45:05 +00:00
Pierangelo Masarati
e79fbb88cf move ACIs under a dynamic infrastructure that allows run-time loadable custom access control logic (needs work) 2004-11-20 01:27:03 +00:00
Howard Chu
2a50cbffd1 Use avl_find2, not avl_find 2004-11-20 00:55:58 +00:00
Howard Chu
87c74c2d52 Cleanup, delete test define 2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9 Use exop_is_write() macro 2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd Overlay for serializing modifications of a specific entry without
using backend-specific locks
2004-11-19 23:22:49 +00:00
Howard Chu
c8f49d0337 Add SLAP_EXOP_WRITES flag, expose flags in Operation,
add exop_is_write() macro for detecting exops that modify a target entry
2004-11-19 22:19:13 +00:00
Howard Chu
c7a8625da7 Fix waking test 2004-11-19 00:13:00 +00:00
Howard Chu
f0372748e8 Fix prev commit 2004-11-18 23:08:57 +00:00
Howard Chu
f825367acf Check for sys/epoll.h 2004-11-18 22:07:37 +00:00
Howard Chu
fb7a5d7a55 shutdown on failure in epoll_ctl when adding a socket... 2004-11-18 19:29:24 +00:00
Howard Chu
bf0d729454 Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded 2004-11-18 19:15:21 +00:00
Howard Chu
495ea2c13c epoll support works 2004-11-18 19:06:14 +00:00
Howard Chu
b4e10e194d Fix epoll compilation 2004-11-18 17:27:43 +00:00
Howard Chu
b7d4e1a5f1 First pass at macro-izing event handling method. Still only supports
select(). If you think this is too ugly, feel free to revert...
2004-11-18 16:41:04 +00:00
Howard Chu
0464155205 Allow a small number of waking events to be outstanding, not just 1
(chose 5 arbitrarily)
2004-11-18 15:40:49 +00:00
Howard Chu
69dc60e5ca Count writers, don't pass w fd_set if there are none
Deleted broken/unused FD_MANUAL_COPY code
2004-11-18 00:19:52 +00:00
Pierangelo Masarati
f1187e4165 the caching database may need to inherit ACLs and limits from the proxy 2004-11-17 21:38:14 +00:00
Howard Chu
ecf5581f0d Fix include path for backend.h when using separate object directory 2004-11-17 20:22:46 +00:00
Pierangelo Masarati
6ff5fce743 FIXME: needs work/cleanup 2004-11-17 19:42:19 +00:00
Pierangelo Masarati
6eec000889 improve diagnostics 2004-11-17 17:55:44 +00:00
Pierangelo Masarati
dd18c8b2a4 revert last commit 2004-11-17 15:56:25 +00:00
Howard Chu
f1ae2e63c1 Fix BDB 4.3 fasttool, flag must be set before opening environment 2004-11-17 15:12:31 +00:00
Pierangelo Masarati
262df940f1 cleanup previous commit 2004-11-17 15:05:59 +00:00
Pierangelo Masarati
bc478dee46 log the right function names 2004-11-17 14:53:03 +00:00
Pierangelo Masarati
437bd421bb test "entry" as default attribute 2004-11-17 13:43:04 +00:00
Pierangelo Masarati
c7d2cf91fd cleanup and line up with code 2004-11-16 22:14:21 +00:00
Howard Chu
2415f5085d Avoid filling the wake_sds when massive numbers of connections close at once. 2004-11-16 20:26:50 +00:00
Pierangelo Masarati
184fc4878a more on ITS#3396: note that the filter is mandatory, and that the protocol must be ldap:// 2004-11-16 18:57:40 +00:00
Pierangelo Masarati
227961178e fix ITS#3396 (filter in URI replacement must be present) 2004-11-16 18:43:48 +00:00
Pierangelo Masarati
947268c5ee partially revert previous commit (the "creator" special DN pattern is redundant as "dnattr" is more expressive 2004-11-15 22:57:03 +00:00
Pierangelo Masarati
064eb88ef8 move special dn patterns to style enum; add creator special dn pattern 2004-11-15 22:15:28 +00:00
Pierangelo Masarati
78ddb88960 minor cleanup 2004-11-15 22:10:10 +00:00
Pierangelo Masarati
b29bf83e7e remove back-*/external.h 2004-11-15 19:45:49 +00:00
Pierangelo Masarati
fcf89c9a3d add directory in labeledURI for back-bdb/hdb; put overlays in database entry's children 2004-11-15 15:46:56 +00:00