Commit Graph

8114 Commits

Author SHA1 Message Date
Howard Chu
5b7f102ad2 ITS#4259 don't try to alock_close if we never opened... 2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef Fix ITS#4267, don't bother with unique_search if no relevant attributes
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50 allow (and use) symbolic names for syslog levels 2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060 make the message one-line 2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0 fix syslog level parsing 2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4 do exactly what requested 2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557 slapdn calls shutdown without startup 2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3 cleanup error logging 2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a always provide a NULL o_private to be_entry_get (ITS#4184) 2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28 fix memory handling 2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3 remove support for control as the operation is now incompatible 2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5 restrict assertion control to appropriate requests 2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548 anticipate sr_err/sr_ref cross-check, so that the right error gets logged 2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b reset bi_attrs after reindexing (ITS#4260) 2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad __should__ fix ITS#4262; please review 2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380 first part of fix to ITS#4262 2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f ITS#4238 don't hide syncrepl control from rootDSE 2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85 Fix ITS#4263 2005-12-15 22:52:31 +00:00
Pierangelo Masarati
9df97ba114 use macros to handle retry 2005-12-15 19:14:54 +00:00
Pierangelo Masarati
76a089086b forgot binds 2005-12-15 17:54:13 +00:00
Pierangelo Masarati
d86a46cc33 shortcut to allow restricting all operations 2005-12-15 17:46:37 +00:00
Pierangelo Masarati
93e8395e30 log what is being modified 2005-12-15 17:45:31 +00:00
Pierangelo Masarati
4538422dc9 better handling of internal operations 2005-12-15 13:47:25 +00:00
Pierangelo Masarati
f0ee55c9df fix filter generation (back-ldap uses string form) 2005-12-15 13:07:56 +00:00
Pierangelo Masarati
62d4ae9058 a back-ldap consumer segfaults when accessing members of conn... 2005-12-15 11:55:46 +00:00
Pierangelo Masarati
430aff35bb assume operations with version set to 0 are internal, and use LDAPv3 2005-12-15 11:39:46 +00:00
Pierangelo Masarati
fcda57e90f use macros instead of numbers... 2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de add (and document) customizable bind-timeout 2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b minor cleanup 2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6 more about sizelimit disclose issue in back-meta (ITS#4213) 2005-12-11 23:39:09 +00:00
Pierangelo Masarati
8687dace5b allow per-replogfile pid/args file & replication interval (ITS#3523) 2005-12-10 12:25:27 +00:00
Pierangelo Masarati
b681c634c4 allow per-replogfile pid/args file (ITS#3523) 2005-12-10 11:52:44 +00:00
Pierangelo Masarati
d72b89b53a allow any base for debug level 2005-12-10 11:52:08 +00:00
Pierangelo Masarati
93d0ef91e6 allow parsing of numbers in whatever base (ITS#4257) 2005-12-09 18:11:07 +00:00
Pierangelo Masarati
da03eb0390 normalize value in "exact" attrval clause (ITS#4255) 2005-12-09 10:33:01 +00:00
Pierangelo Masarati
335633d9eb add comment 2005-12-09 10:31:41 +00:00
Howard Chu
3d4eeba5d1 Fix ITS#4133, reset subtree search req_dn 2005-12-09 02:08:08 +00:00
Howard Chu
b81ed2c106 Fix ITS#4084, onelevel searches cannot return NO_SUCH_OBJECT if the base
was already found.
2005-12-09 01:20:05 +00:00
Howard Chu
553b2884ab cache LRU concurrency improvements, reorder DB accesses for consistency 2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35 ITS#4254 fix lock ordering 2005-12-08 23:45:47 +00:00
Pierangelo Masarati
1b42fde372 implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap 2005-12-07 17:35:02 +00:00
Pierangelo Masarati
a4f800413d unlink pid/args files only if actually touched (ITS#4251) 2005-12-07 14:47:00 +00:00
Howard Chu
51f9ef7ab9 Improve previous commit 2005-12-07 12:09:00 +00:00
Howard Chu
32fe0ead9f Distinguish error message for frontendDB config 2005-12-07 11:34:16 +00:00
Pierangelo Masarati
47b4f99363 warn if "excessive" thread number is set (ITS#4249) 2005-12-07 09:58:54 +00:00
Pierangelo Masarati
447b065abd rework previous commit? 2005-12-07 09:51:12 +00:00
Howard Chu
2bb6555726 ITS#4250 bdb_idl_delete needs to check for Range 2005-12-07 01:54:50 +00:00
Pierangelo Masarati
24887642dc don't search max CSN if don't have a value; try the operational_attrs if entryCSN is not in attrs 2005-12-07 01:30:28 +00:00
Pierangelo Masarati
ed0bed72b9 plug leaks 2005-12-06 23:10:14 +00:00
Pierangelo Masarati
e0a28ee53f remove unused var 2005-12-06 23:06:55 +00:00
Pierangelo Masarati
6930e84f81 plug leaks... 2005-12-06 22:56:58 +00:00
Pierangelo Masarati
e9169c2b46 use helper to destroy modrdn modifications; plug leaks... 2005-12-06 22:56:36 +00:00
Pierangelo Masarati
0b0aed319a use helper to destroy modrdn modifications; send result after commit\!... 2005-12-06 22:56:07 +00:00
Pierangelo Masarati
f29447d9de use helper to destroy modrdn modifications... 2005-12-06 22:55:30 +00:00
Pierangelo Masarati
662cb94e06 helper to destroy modrdn modifications... 2005-12-06 22:54:51 +00:00
Pierangelo Masarati
c226563da4 fix various memory leaks and handling issues 2005-12-06 22:06:29 +00:00
Pierangelo Masarati
2ea72234aa return more appropriate error code 2005-12-06 20:04:52 +00:00
Pierangelo Masarati
64c1a3f1a6 relax the check on objectClass (may be equal) 2005-12-06 20:04:20 +00:00
Pierangelo Masarati
5909a4d636 don't return the dummy empty string 2005-12-05 22:41:25 +00:00
Pierangelo Masarati
5f8f4554ff cleanup 2005-12-05 15:21:49 +00:00
Howard Chu
bb1984eb3e Fix mod delete by ordered index 2005-12-05 11:46:56 +00:00
Howard Chu
10d8ae3c51 Tweak syncrepl messageID 2005-12-05 11:46:30 +00:00
Pierangelo Masarati
2422e6aaab fix compilation without debugging (ITS#4245) 2005-12-05 10:39:38 +00:00
Howard Chu
3165691cbf ITS#4241 write pid / args file before starting backends 2005-12-02 11:47:10 +00:00
Howard Chu
5e3820fd7a ITS#4237 don't update sc_prev after a callback has been freed. 2005-12-01 00:48:38 +00:00
Kurt Zeilenga
5218ddae7e ITS#4229: update DB_CONFIG for -q option 2005-11-29 20:28:02 +00:00
Howard Chu
a342ee4d88 ITS#4227 delta-sync should use subtree search 2005-11-29 11:44:43 +00:00
Howard Chu
dcaa6aa830 ITS#4226 must close cursor when limiting candidate check 2005-11-29 11:34:47 +00:00
Pierangelo Masarati
b2e673c37a add check on duplicate rules (may be too strict?)... 2005-11-29 10:34:59 +00:00
Pierangelo Masarati
fed3c18e88 allow dynlist to take over dyngroup 2005-11-29 10:02:05 +00:00
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Pierangelo Masarati
976d6b4b66 fix return code in case the asserted DN does not exist (ITS#4224) 2005-11-29 00:09:39 +00:00
Howard Chu
a0d9bd7890 ITS#4223 don't store negative results in IDL cache 2005-11-28 22:53:03 +00:00
Pierangelo Masarati
22f05c6785 add support for backend/overlay obsolete names... 2005-11-28 14:13:54 +00:00
Pierangelo Masarati
26d802ee53 add dyngroup compare functionality to dynlist 2005-11-28 11:34:46 +00:00
Pierangelo Masarati
6459cbb7ce allow comma-separated descriptive log levels, so that tests can be run, e.g., with "SLAPD_DEBUG=stats,stats2"; s/ldap_debug/slap_debug/ 2005-11-28 10:55:07 +00:00
Pierangelo Masarati
3a563c2fcb cleanup OID comments 2005-11-28 10:53:52 +00:00
Pierangelo Masarati
52a827466a fix previous commit 2005-11-28 10:38:01 +00:00
Howard Chu
1360f9fa80 More for prev commit - set entryCSN as well. 2005-11-28 05:27:42 +00:00
Pierangelo Masarati
4fe032e9be add very preliminary support for <draft-sermersheim-ldap-distproc> 2005-11-27 23:23:59 +00:00
Pierangelo Masarati
26a83119fd cleanup 2005-11-27 23:19:17 +00:00
Pierangelo Masarati
1e01082e10 s/chain-cache-uris/chain-cache-uri/ 2005-11-27 23:18:47 +00:00
Pierangelo Masarati
84bb488ec2 allow to register (and expose) a supported feature 2005-11-27 23:17:57 +00:00
Kurt Zeilenga
d24a5f6f0f Update description 2005-11-27 02:10:01 +00:00
Kurt Zeilenga
0d56ddda04 unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES 2005-11-27 01:03:03 +00:00
Howard Chu
21f91438b6 Drop monitor_back_db_config() 2005-11-26 23:35:45 +00:00
Howard Chu
475b35b847 ITS#4220 - add warnings for unsupported modules. Note that back-monitor
causes a warning due to its no-op bi_db_config entry point. Unimplemented
entry points are supposed to be NULL.
2005-11-26 21:32:11 +00:00
Pierangelo Masarati
ed098b4136 fix previous commit (overlay initializer prototypes were incorrect) 2005-11-26 17:04:51 +00:00
Howard Chu
b831ebba7d ITS#4218 streamline frontend/overlay access_allowed. Probably need to
do the same for acl_group and acl_attribute.
2005-11-26 07:53:07 +00:00
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Kurt Zeilenga
c106f49029 Primitive handling of dontUseCopy (always error). 2005-11-26 07:09:59 +00:00
Kurt Zeilenga
bfba08c103 Remove lint 2005-11-26 04:02:13 +00:00
Howard Chu
80143b5fc6 Fix ITS#3717 - set restriction on all backends
Fix ITS#4217 - gentleHUP is a normal shutdown condition
2005-11-25 23:16:10 +00:00
Howard Chu
d84ffb62a6 ITS#4210 don't setup indexing threads if no indexing is defined. 2005-11-25 22:50:25 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9 ITS#4198 initialize logdb contextCSN from main DB contextCSN 2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31 ITS#4209 release entry when it exists. 2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201 op->ors_slimit is always intact now. 2005-11-25 20:52:25 +00:00
Howard Chu
255f1e494f Don't touch op->ors_slimit. 2005-11-25 20:50:34 +00:00