Commit Graph

6278 Commits

Author SHA1 Message Date
Howard Chu
38b430be3c Fix prev commit 2004-11-27 11:50:54 +00:00
Howard Chu
d3ced75fe7 Add SLAP_DBFLAG_OVERLAY 2004-11-27 11:45:54 +00:00
Howard Chu
b4eceddb52 Add slap_find_control_id 2004-11-27 11:45:07 +00:00
Howard Chu
ed9925f6d9 Cleanup controls 2004-11-27 10:49:47 +00:00
Pierangelo Masarati
27529430a6 wait until syncprov freezes 2004-11-27 10:16:15 +00:00
Howard Chu
1bb93ae084 Fix modify serialization 2004-11-27 08:55:04 +00:00
Howard Chu
584d5355b8 Fix overlay aux_operational, add contextCSN as operational attribute
of suffix entry
2004-11-27 08:30:44 +00:00
Howard Chu
8866cc9c92 Force a refresh if the search base has changed 2004-11-27 07:47:24 +00:00
Howard Chu
ee20d206cd Cleanup 2004-11-27 07:29:10 +00:00
Howard Chu
08564beb6b Serialize multiple modifies of the same entry (ala seqmod.c) 2004-11-27 07:05:24 +00:00
Howard Chu
287d5be13c Fix op_cleanup 2004-11-27 07:04:52 +00:00
Howard Chu
8d9509d8d0 Fix abandon sequencing 2004-11-27 06:17:24 +00:00
Howard Chu
5dc1dd1441 Added abandon/cancel support 2004-11-27 01:26:12 +00:00
Howard Chu
5f99f7c991 More migration of syncrepl from frontend to syncprov overlay
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
a2400fc0f8 Self-contained detached operation 2004-11-26 23:10:48 +00:00
Howard Chu
2620b4084d Added response queuing for updates occurring during a refresh 2004-11-26 21:24:40 +00:00
Howard Chu
d413097d8b Fix prev commit 2004-11-26 17:32:36 +00:00
Howard Chu
e6dd9ec8a2 More Opheader fixes 2004-11-26 10:10:29 +00:00
Howard Chu
c2b339d456 More syncprov fixes. test019 now passes. 2004-11-26 09:40:22 +00:00
Howard Chu
3426a11983 More BDB_PSEARCH cleanup 2004-11-26 09:39:33 +00:00
Howard Chu
127a85b553 More Operation/Opheader fixes 2004-11-26 09:39:14 +00:00
Pierangelo Masarati
e891dbcdc4 fix dynacl compile 2004-11-26 00:34:48 +00:00
Howard Chu
90cc409325 Split Operation into Opheader and op 2004-11-25 22:59:00 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265 Merge op->o_sync_mode into op->o_sync 2004-11-25 18:31:31 +00:00
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
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
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
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
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
Howard Chu
14b0d4fdad Fix hdb cache kid counts 2004-10-31 22:07:15 +00:00
Howard Chu
7087ffa2ca ITS#3356 - when purging cache, free entryInfo if node has no children 2004-10-31 13:04:27 +00:00
Howard Chu
501f749c05 Don't access entry after commit; it may be gone if the cache is full 2004-10-30 23:48:26 +00:00
Pierangelo Masarati
3b46fd7cde silence warnings (some cleanup required) 2004-10-30 11:40:40 +00:00
Jong Hyuk Choi
42f8426b5b patch for ITS#3379 2004-10-28 21:40:42 +00:00
Ralf Haferkamp
5704a2ef6e CRL checking options for ldap.conf and slapd.conf 2004-10-28 18:50:38 +00:00
Jong Hyuk Choi
1d618e0964 move componentCertificate to test.schema for now 2004-10-27 22:01:19 +00:00
Kurt Zeilenga
33f8164c58 Remove 'componentCertificate', doesn't belong in 'core.schema'. 2004-10-27 21:37:40 +00:00
Sang Seok Lim
20965abe9c remove a componentCertificate attribute from the organizationalPerson objectclass 2004-10-27 20:14:29 +00:00
Sang Seok Lim
2353678647 Header file for component.c 2004-10-27 19:53:26 +00:00
Sang Seok Lim
71e78dd7f9 Component Matching module
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of  this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Howard Chu
02cf375603 ITS#3369 - be is seldom NULL, now test for be == frontendDB 2004-10-27 16:28:12 +00:00
Howard Chu
0c9c90a3e9 ITS#3365 - fix leaking bdb locks when evaluating dynamic groups 2004-10-27 14:52:18 +00:00
Howard Chu
e7ec96fc6d ITS#3358 - make bdb_cache_lru_add skip entries that are being deleted 2004-10-27 14:01:12 +00:00
Pierangelo Masarati
fbe8243b86 warn when using "replogfile" or "replica" inside monitor database 2004-10-27 11:34:27 +00:00
Kurt Zeilenga
30fdb0e0ca Fix LDAP Intermediate Response tag values.
with code to accept old values.
2004-10-20 21:47:40 +00:00
Kurt Zeilenga
a99731b001 Fix typo 2004-10-19 03:06:16 +00:00
Kurt Zeilenga
e983616d75 More NEW_LOGGING removal 2004-10-19 01:40:38 +00:00
Howard Chu
e6a12272cc BDB 4.3 compatibility 2004-10-16 22:10:32 +00:00
Howard Chu
84ce549016 define DB_VERSION_FULL to simplify version checks 2004-10-16 21:59:58 +00:00
Howard Chu
1d0e99858a Free old op->o_sync_csn before allocating new one. (Internal operations
using the same op structure, such as in refint overlay, cause a memleak
otherwise.) Probably should be using tmpmem for this.
2004-10-16 21:32:45 +00:00
Pierangelo Masarati
71035d3aa1 fix typo when string keys are used 2004-10-16 16:16:57 +00:00
Jong Hyuk Choi
6db389efd9 further cleanup of search data upon exit, abandon, cancel 2004-10-16 16:10:00 +00:00
Howard Chu
ca0bf91bba BDB 4.3 compatibility, if the reader TXN is deadlocked we must abort
and recreate it.
2004-10-16 13:07:01 +00:00
Jong Hyuk Choi
0af878ac3f syncrepl consistency patch: utilize BDB txn rollback 2004-10-12 17:53:50 +00:00
Kurt Zeilenga
38c7e86d67 ITS#3311: check sasl_auxprop_add_plugin return
cleanup
2004-10-11 20:52:31 +00:00
Jong Hyuk Choi
4efd705cc3 syncrepl consistency patch 2004-10-09 09:26:16 +00:00
Kurt Zeilenga
03712dcc3e Conditionally add SIGTRAP signal handler 2004-10-09 04:55:41 +00:00
Kurt Zeilenga
2ad0485ea5 ITS#3362: Fix typo in dNSDomain def'n. 2004-10-08 17:41:02 +00:00
Pierangelo Masarati
9eabe1365b improve memory allocation in sets 2004-10-08 15:07:22 +00:00
Pierangelo Masarati
56ee97ba1b further cleanup of sets 2004-10-08 00:54:19 +00:00
Pierangelo Masarati
2f6f6f6a07 "optimize" sets: since the attr part must be an attribute, use the AttributeDescription 2004-10-08 00:28:16 +00:00
Pierangelo Masarati
559cf8bfb1 revert previous commit 2004-10-08 00:27:26 +00:00
Pierangelo Masarati
58edfcca31 improve previous commit 2004-10-07 23:38:17 +00:00
Pierangelo Masarati
aa2e9413f1 fix previous commit 2004-10-07 22:31:36 +00:00
Pierangelo Masarati
e5ade14256 improve previous commit; now attrs in URI, if any, are added to that in the [<dn>]/<attr> form 2004-10-07 20:44:01 +00:00
Pierangelo Masarati
6a9bf9765e add URI search to sets; documentation to come... 2004-10-07 17:05:48 +00:00
Howard Chu
1df6d76269 Add ppolicy_hash_cleartext config keyword, hash Adds as well as Modifies.
Changed check_pw_quality callback to pass entry's Attributes in final arg.
2004-10-07 04:07:17 +00:00
Howard Chu
374cd32eb6 Add a retry for entry_get too. (oops) 2004-10-07 02:55:51 +00:00
Pierangelo Masarati
2b74930cb0 s/free/slap_sl_free/ 2004-10-06 23:53:30 +00:00
Pierangelo Masarati
4afaf4042a minor cleanup 2004-10-06 22:20:30 +00:00
Pierangelo Masarati
4204aee7b9 extend the availability of submatches to non-regex DN patterns 2004-10-06 22:03:33 +00:00
Howard Chu
95550f21a2 Fix prev commit 2004-10-06 07:26:35 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Pierangelo Masarati
02828499f0 cleanup & silence warnings 2004-10-05 21:41:41 +00:00
Jong Hyuk Choi
db4bc08d8c misc cleanup 2004-10-05 00:33:00 +00:00
Jong Hyuk Choi
4241325600 simplify attrs parsing and process objectClass differently 2004-10-05 00:30:15 +00:00
Pierangelo Masarati
2ccbe388b5 fix global configuration patch (ITS#3353) 2004-10-04 21:05:13 +00:00
Pierangelo Masarati
bf8e890ea7 fix global configuration patch (ITS#3353) 2004-10-04 20:57:14 +00:00
Pierangelo Masarati
0c1f1f959f minor cleanup 2004-10-04 20:55:09 +00:00
Pierangelo Masarati
6ef9689b3f fix string_expand error cases; cleanup 2004-10-04 20:52:58 +00:00
Pierangelo Masarati
e10186f1a5 add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well) 2004-10-04 01:19:53 +00:00
Pierangelo Masarati
87a63d3b5d improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE 2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657 add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views 2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38 cleanup naming; minor fixes 2004-10-02 12:05:42 +00:00
Sang Seok Lim
258d0d3da2 Bug fix : msiing SLAPD_GLOBAL 2004-10-02 01:01:00 +00:00
Howard Chu
bbe986b94e Add a retry for failed connections 2004-10-01 12:00:41 +00:00
Howard Chu
55f12a7eee Add a retry for failed connections 2004-10-01 11:16:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Pierangelo Masarati
60d4aaba54 fix, rework and optimize search base; allow orphaned entries addition 2004-09-28 23:27:39 +00:00
Howard Chu
62b6b32633 Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Howard Chu
e014144f98 Move time parsers from ppolicy.c to liblutil; preserve greater precision 2004-09-28 12:23:37 +00:00
Howard Chu
fc44ed4593 Tweak exact hashing in prev commit 2004-09-28 04:13:09 +00:00
Howard Chu
bf7c7a22d6 ITS#2661: configurable substring index lengths
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
39195e48a3 minor cleanup 2004-09-27 23:04:34 +00:00
Pierangelo Masarati
0fc89b6203 more cleanup 2004-09-27 22:16:21 +00:00
Pierangelo Masarati
b2cd66c0d8 fix ITS#3346 2004-09-27 22:04:20 +00:00
Jong Hyuk Choi
e8f30c8d0b preserve attrs="*" 2004-09-27 16:16:53 +00:00
Pierangelo Masarati
c2c27c6839 fix csne destroy 2004-09-27 08:11:04 +00:00
Pierangelo Masarati
d2c08ed8d3 misc syncrepl cleanup/fixes 2004-09-26 23:00:35 +00:00
Pierangelo Masarati
d026e2c9f7 preformat "conn=%lu op=%lu" 2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Pierangelo Masarati
2e9d64741c put overlays in alphabetical order 2004-09-26 22:53:54 +00:00
Pierangelo Masarati
b09663d784 consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers) 2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded add column size to SQLBindParameter when SQL_CHAR parameter type is used 2004-09-25 11:38:00 +00:00
Kurt Zeilenga
f0190506f1 ITS#3344: initialize threads early 2004-09-25 05:36:06 +00:00
Jong Hyuk Choi
292c568f36 a fix to prev commit 2004-09-25 03:21:30 +00:00
Kurt Zeilenga
31a6de16b0 ITS#3345: reorder includes to workaround Pth signal redefine problem 2004-09-25 01:47:02 +00:00
Jong Hyuk Choi
dda85fafe9 rework of slap_mods2entry dup 2004-09-24 08:19:50 +00:00
Jong Hyuk Choi
c7d4f2841e back out prev commit 2004-09-24 07:26:44 +00:00
Jong Hyuk Choi
e4d199d7bb A follow-on commit to the previous @oc support change to use anlist 2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Pierangelo Masarati
0055675bfc improve candidate selection when filtering by objectClass 2004-09-22 23:17:32 +00:00
Jong Hyuk Choi
a116c2fb5e a memory fix for slap_mods2entry(): don't trim mods array - trim it outside 2004-09-21 03:08:07 +00:00
Howard Chu
89b03a1c7e Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Jong Hyuk Choi
34280359b5 misc bug fix for @oc support 2004-09-20 19:44:05 +00:00
Luke Howard
0ac9b6889e Remove unused variable if not compiling with HAVE_TLS - NB slapd always
exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
2004-09-20 04:06:25 +00:00
Luke Howard
eb9720c802 Add register_certificate_map_function() native plugin API for registering
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Kurt Zeilenga
2647a615ce value_match cleanup 2004-09-18 06:04:57 +00:00
Kurt Zeilenga
7f773613f8 component cleanup 2004-09-18 02:32:06 +00:00
Jong Hyuk Choi
ffbb5d4ed2 *oc support in attr list 2004-09-18 02:07:41 +00:00
Kurt Zeilenga
d600afca9f cleanup 2004-09-18 02:05:01 +00:00
Kurt Zeilenga
9c9d1917ce ITS#3333 fix presence and substrings 2004-09-18 01:59:43 +00:00
Kurt Zeilenga
d4c7dfe847 cleanup 2004-09-18 01:19:07 +00:00
Kurt Zeilenga
ef1ebe0b2c descriptors are case insenstive (ITS#3334) 2004-09-18 00:21:29 +00:00
Kurt Zeilenga
a997b94f1f ITS#3333 fix for compare
filterentry cleanup
2004-09-17 22:07:29 +00:00
Kurt Zeilenga
9c5768cd8e Initial ITS#3333 fix
(needs to be applied to other filter cases)
2004-09-17 21:43:28 +00:00
Sang Seok Lim
452fc403dd Bug Fix : removing problematic counter increment 2004-09-17 16:49:38 +00:00
Jong Hyuk Choi
c60dca5c1e free default_referral 2004-09-14 01:04:28 +00:00
Jong Hyuk Choi
86aa3728b9 referral mem leak fix 2004-09-14 01:03:08 +00:00
Jong Hyuk Choi
7dc0487341 support for syncrepl attr list in file (both attrs and exattrs) 2004-09-14 01:02:18 +00:00
Pierangelo Masarati
55e251e6e8 lots of cleanup; few improvements; fix RDN selection bug when creating connection dynamic entries; rework entries ordering - now it's more intuitive and regular; optimize counters update 2004-09-12 22:12:58 +00:00