Commit Graph

11303 Commits

Author SHA1 Message Date
Howard Chu
f0cae31b0e Fix send_ldap* macros 2004-11-25 14:41:00 +00:00
Howard Chu
dca809ff8d Revert previous commit, it breaks everything. 2004-11-25 07:03:43 +00:00
Kurt Zeilenga
f0dff0fc9a Fix typo 2004-11-24 22:22:27 +00:00
Howard Chu
bf97a1f865 Cleanup, add some more descriptive comments.
Still needs: error checking, queuing results when refresh is in progress
2004-11-24 20:34:28 +00:00
Jong Hyuk Choi
0e41932ae7 removed test.schema from the test slapd.conf 2004-11-24 18:01:20 +00:00
Jong Hyuk Choi
7fa860ef16 Add the omitted part from the original buddy allocator commit 2004-11-24 17:46:47 +00:00
Jong Hyuk Choi
83fd442ded Omitted from the original buddy allocator commit 2004-11-24 17:27:25 +00:00
Howard Chu
a6d2bfe9a4 Persist passes test018 2004-11-24 17:07:14 +00:00
Howard Chu
fe4095ebc3 Use normalized UUID... 2004-11-24 16:13:20 +00:00
Howard Chu
4e530bf54d First pass at persist, not working 2004-11-24 15:58:38 +00:00
Howard Chu
02e171e886 Use BackendInfo instead of direct references to back-ldap functions 2004-11-24 11:31:43 +00:00
Howard Chu
a057ff5bee ITS#3401 avoid empty make target when SLAPD_DYNAMIC_BACKENDS is empty 2004-11-24 06:41:21 +00:00
Howard Chu
6170a2bbb4 Fix ITS#3400, move ebadf declaration 2004-11-24 05:27:59 +00:00
Pierangelo Masarati
dceaa05c0e should fix compile when SLAPD_ACI_ENABLED is undefined 2004-11-23 21:20:13 +00:00
Jong Hyuk Choi
7891097a79 remove schema which was used for component match testing 2004-11-23 17:10:38 +00:00
Howard Chu
dbe5e00929 Use SLAP_CONTROL_* constants 2004-11-23 16:02:07 +00:00
Jong Hyuk Choi
994edd5500 buddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimization for higher perf. 2004-11-23 15:37:06 +00:00
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