Commit Graph

5944 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
2d5ec082dd cleanup 2004-11-15 14:17:08 +00:00
Pierangelo Masarati
5a91da6624 don't list multiple occurrences of the same overlay 2004-11-15 14:13:54 +00:00
Pierangelo Masarati
ee4c10d5d0 allow backends to automatically install overlays; issue warnings in case of duplicates (fixes ITS#3395 for cases (1.a), (1.b) and (2) simultaneously) 2004-11-15 10:28:33 +00:00
Howard Chu
04b078d6eb Fix prev commit. I wonder if we should convert the fdset bitvector into
an array like winsock does. That would speed up response time for small
number of connections with large FD_SETSIZE, but probably equalize out
as the number of active connections goes up. ??
2004-11-15 04:05:32 +00:00
Howard Chu
a59243ceee Slight tweak for select descriptor checking 2004-11-14 21:27:53 +00:00
Sang Seok Lim
a90e63fde0 ComponentFilterMatch support for userCertificate 2004-11-14 20:11:38 +00:00
Pierangelo Masarati
9c550e7235 first step towards removing back-*/external.h 2004-11-13 18:52:44 +00:00
Pierangelo Masarati
cd35386935 fix ITS#3391 2004-11-13 18:40:16 +00:00
Pierangelo Masarati
9cff3e39d8 inherit from back-ldap 2004-11-13 18:36:02 +00:00
Pierangelo Masarati
158067a46e sanity check 2004-11-13 17:27:15 +00:00
Pierangelo Masarati
db4f223c66 improve overlay helpers 2004-11-13 17:20:24 +00:00
Pierangelo Masarati
7ff445d8ae further cleanup 2004-11-13 15:10:47 +00:00
Pierangelo Masarati
f036fff9e5 further cleanup 2004-11-13 14:57:39 +00:00
Pierangelo Masarati
363fdcd951 no longer required (moved to rwm overlay) 2004-11-13 14:50:34 +00:00
Pierangelo Masarati
253266ef07 import stuff removed from back-ldap 2004-11-13 14:45:18 +00:00
Pierangelo Masarati
f176935a58 remove rewrite stuff -- now delegted to rwm overlay 2004-11-13 14:43:30 +00:00
Howard Chu
3cfbe2ec29 fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE 2004-11-13 13:23:33 +00:00
Howard Chu
ab25b43364 Update BDB 4.3 errcall prototype again to silence warnings 2004-11-13 13:22:48 +00:00
Pierangelo Masarati
d7bdb8cb24 disable referral rewrite in default suffix massage 2004-11-13 12:15:40 +00:00
Pierangelo Masarati
34478b3ca6 more on monitor customization 2004-11-12 12:54:42 +00:00
Pierangelo Masarati
5d99b9d747 cleanup 2004-11-12 12:53:19 +00:00
Pierangelo Masarati
f41f1aaac0 initialize var 2004-11-12 12:52:42 +00:00
Pierangelo Masarati
166f9afa34 check validity of naming context 2004-11-12 12:51:53 +00:00
Pierangelo Masarati
018526ff14 fix spurius noSuchObject when base=suffix 2004-11-12 12:51:16 +00:00
Pierangelo Masarati
5b67eecb45 don't hijack members of op for temporaries... 2004-11-12 12:49:43 +00:00
Pierangelo Masarati
7bee593572 cleanup 2004-11-12 12:46:30 +00:00
Pierangelo Masarati
ab94342cc6 silence warnings 2004-11-12 12:45:40 +00:00
Pierangelo Masarati
dd367a2b78 make sure we're comparing the same database 2004-11-11 13:12:34 +00:00
Pierangelo Masarati
91f2a8bc46 remove backed-out code from previous commit 2004-11-11 09:43:15 +00:00
Pierangelo Masarati
79f744f30b rework static backend initialization 2004-11-11 00:39:19 +00:00
Pierangelo Masarati
be32dce97f rework static backend initialization 2004-11-11 00:38:11 +00:00
Pierangelo Masarati
0e83717e80 fix return code; fix test (please review) 2004-11-11 00:32:47 +00:00
Jong Hyuk Choi
62febe5dff fix slap_sl_free() calls in pre / post read controls 2004-11-10 21:38:41 +00:00
Howard Chu
616d7962ef Fix bind_anon keyword 2004-11-10 18:20:49 +00:00
Pierangelo Masarati
f06f2a6aec fix ITS#3350 (rewrite/remap will be replaced by the rwm overlay) 2004-11-10 09:56:55 +00:00
Pierangelo Masarati
b349604352 fix ITS#3387 2004-11-10 09:45:02 +00:00
Jong Hyuk Choi
71ac7140b6 fix suspicious capitalization to make subentries control work properly 2004-11-10 03:52:42 +00:00
Jong Hyuk Choi
b6f77e2936 ldapsync fix for recursive deletion (ITS#3385) 2004-11-10 03:52:12 +00:00
Howard Chu
73a666778e Delete incorrect comments 2004-11-10 01:29:51 +00:00
Howard Chu
e0726c2b55 A bit more... 2004-11-09 03:12:03 +00:00
Pierangelo Masarati
70884b8860 allow to register entries and entry callbacks; radical namespace cleanup 2004-11-08 18:52:27 +00:00
Pierangelo Masarati
c8fd4a203b allow creation of subsystems whatever order the databases appear 2004-11-08 11:33:53 +00:00
Pierangelo Masarati
3743579870 fix typo in rww; general cleanup 2004-11-08 10:55:33 +00:00
Pierangelo Masarati
b3ec75d032 rework subsystem initialization (can be added dynamically...) 2004-11-08 10:10:15 +00:00
Howard Chu
9dd58533ca Better cache counting, partially revert 1.85 2004-11-08 07:18:33 +00:00
Howard Chu
504d7ea261 Assist in cache debugging 2004-11-08 04:23:37 +00:00
Ralf Haferkamp
c7a2f95493 Plugged memory leak 2004-11-05 15:29:59 +00:00
Howard Chu
e4c231fe0c Only use libltdl #if SLAPD_MODULES is defined, otherwise ignore
external pwdCheckModules.
2004-11-05 08:57:05 +00:00
Howard Chu
4e56d4b75f ITS#3376 fix subordinate keyword 2004-11-05 07:51:33 +00:00
Kurt Zeilenga
b29e311ae7 unifdef -DBDB_ALIASES
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
1d35c8f8ec ITS#3376 Fix prev commit, handling of replogfile 2004-11-05 07:10:44 +00:00
Howard Chu
db8debbfc8 ITS#3376 table-driven config engine 2004-11-05 06:22:04 +00:00
Howard Chu
9ebcc83796 Minor cleanup of prev commit 2004-11-04 03:10:03 +00:00
Howard Chu
3d23a4d2c5 Consolidate redundant code 2004-11-04 02:59:34 +00:00
Ralf Haferkamp
93cec8b694 - Added autoconf test for CRL capable OpenSSL Version
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Howard Chu
aa7ed3d8c8 Incomplete skeleton 2004-11-02 04:51:06 +00:00
Sang Seok Lim
55b4021183 Misc cleanup 2004-11-01 19:10:54 +00:00
Sang Seok Lim
2ed313e7f2 Bug fix: return value check 2004-11-01 18:59:33 +00:00