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
2590e26bc7
Initialize TLS connection callback
2004-11-23 05:09:10 +00:00
Howard Chu
ae592801aa
Add callbacks for client TLS connection establishment:
...
LDAP_OPT_X_TLS_CONNECT_CB and LDAP_OPT_X_TLS_CONNECT_ARG
with int (LDAP_TLS_CONNECT_CB) (LDAP *ld, SSL *ssl, SSL_CTX *ctx, void *arg)
To be called whenever the client library allocates a new SSL* handle.
2004-11-23 03:48:09 +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
162f00f348
Don't BN_init allocated BIGNUMs, they're already initialized
2004-11-22 02:18:02 +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
Howard Chu
984276d849
Better test for epoll, make sure the syscall actually works
2004-11-20 14:20:29 +00:00
Howard Chu
c3d40a6e6e
Silence warning about cross-compile default
2004-11-20 14:18:44 +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
9fd1c81713
Add avl_find2 returning the Avlnode, allowing its data to be reset directly
...
instead of recycling thru avl_find/avl_delete/avl_insert
2004-11-19 23:33:46 +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
1666e4c083
Add check for epoll(), sys/epoll.h
2004-11-18 22:06:15 +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
Howard Chu
fad273c224
Avoid trashing client memory when socket is greater than FD_SETSIZE
2004-11-17 20:04:18 +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
Kurt Zeilenga
afffdeec68
Set OPENLDAP_FD_SETSIZE to 4096 (if not defined)
2004-11-17 04:07:14 +00:00