Commit Graph

1209 Commits

Author SHA1 Message Date
Howard Chu
c45fca65fc Init uninit'd vlv flag 2010-05-18 07:35:12 +00:00
Ralf Haferkamp
5743591419 Reset BackendInfo to original value after checkpoint. Plugs a memory leak
when deleting the syncprov overlay from a database (when compiled with
-DSLAP_CONFIG_DELETE)
2010-04-29 15:47:27 +00:00
Pierangelo Masarati
71a11b44e8 fix memory handling in rewrite parsing (ITS#6526) 2010-04-17 16:29:34 +00:00
Pierangelo Masarati
9d2e03f052 allow to specify a per-database list of attributes that need to be always collected, even if not explicitly requested by clients (addresses ITS#6513) 2010-04-15 05:26:21 +00:00
Pierangelo Masarati
a3a603eca6 malloc as much as possible on slab 2010-04-15 05:11:23 +00:00
Howard Chu
68ce33cd77 ITS#6519 don't replicate purge deletes 2010-04-13 23:28:35 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
5564ee0173 don't free before use 2010-04-12 16:24:01 +00:00
Pierangelo Masarati
a6298f97fc keep attrs count consistent (ITS#6508) 2010-04-08 17:24:44 +00:00
Pierangelo Masarati
063c844b2a increment counter (ITS#6497) 2010-03-23 20:33:06 +00:00
Pierangelo Masarati
7ca6247395 check for NULL backend (ITS#6490) 2010-03-22 21:48:25 +00:00
Howard Chu
7cec659d74 Fix prev commit 2010-03-13 21:41:51 +00:00
Howard Chu
968663d6e4 Fix for CB_TAIL with cached results 2010-03-10 22:25:42 +00:00
Howard Chu
e85ca5d49a ITS#6484 don't bypass other overlays' entry_release handler 2010-03-03 23:36:29 +00:00
Howard Chu
f992b66f05 ITS#6484 - cache DB needs to release its own entries 2010-03-02 21:29:32 +00:00
Pierangelo Masarati
3cd65c0a5d reduce code duplication 2010-02-12 08:55:34 +00:00
Ralf Haferkamp
837320eaac plugged one time memory leak (found with valgrind) 2010-01-22 18:01:25 +00:00
Ralf Haferkamp
9e3517595d Plugged memory leak. Syncentry wasn't free'd when sending
LDAP_SYNC_NEW_COOKIE intermediate results. (ITS#6459)
2010-01-21 13:33:21 +00:00
Howard Chu
0c195fc013 ITS#6438 check for redundant syncops_free() ? 2010-01-05 03:50:10 +00:00
Pierangelo Masarati
ade09a57da allow direct insert/delete of olcRwmMap (ITS#6436) 2009-12-21 18:58:21 +00:00
Pierangelo Masarati
0329d982a2 better fix to ITS#6434 (olcRwmMap needs work to allow atomic mods) 2009-12-21 17:32:05 +00:00
Pierangelo Masarati
8ddb160ae8 fix in-database configuration of olcRwmMap (no ITS# yet) 2009-12-20 18:31:08 +00:00
Pierangelo Masarati
85621c882a guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (related to ITS#6423) 2009-12-08 20:53:39 +00:00
Pierangelo Masarati
173873172c guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (ITS#6423) 2009-12-08 19:36:10 +00:00
Pierangelo Masarati
40065adb4d remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423) 2009-12-08 18:47:17 +00:00
Pierangelo Masarati
2c1c200662 log about invalid URI (more about ITS#6421) 2009-12-08 01:34:22 +00:00
Pierangelo Masarati
db852e4378 handle simple filters with no brackets (ITS#6421) 2009-12-08 00:17:25 +00:00
Howard Chu
111b27cfd4 ITS#6270, refix patch from ITS#5511 2009-11-30 06:07:22 +00:00
Hallvard Furuseth
492b2cda2b ITS#6403: reset 'entry' output argument to overlay_entry_get_ov() 2009-11-29 19:53:01 +00:00
Howard Chu
3b2380254a ITS#6400 clarify... 2009-11-24 03:41:24 +00:00
Howard Chu
fae4df1ed6 more for #6397 2009-11-23 22:17:25 +00:00
Howard Chu
e72e0507f8 ITS#6397 cleanup psearch if cookie is stale 2009-11-23 22:13:42 +00:00
Hallvard Furuseth
da747ed63a Fix rev 1.200 commit: C90 forbids mixed declarations and code 2009-11-23 16:04:00 +00:00
Howard Chu
faddd86f54 Revert prev commit, simpler fix... 2009-11-22 17:43:48 +00:00
Pierangelo Masarati
1970251bb7 check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391) 2009-11-22 11:57:17 +00:00
Howard Chu
993fbf4514 Short-circuit backend_operational; sent entry's e_private doesn't belong
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e ITS#6368 use dup'd entries in response queue 2009-11-22 04:42:00 +00:00
Howard Chu
650ebba22b Fix prev commit 2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9 in op_response, rearrange contextCSN update checks 2009-11-21 11:43:01 +00:00
Howard Chu
af0d762c1c Mostly revert prev commit, broke test054 2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db Always log outgoing cookie, just use op->o_csn instead of commit_csn since
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
198cbd6ea8 ITS#6368 partially revert 1.273, always check for skips, not just on
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10 ITS#6387 plug leaks 2009-11-18 23:58:39 +00:00
Pierangelo Masarati
1ec443df53 trim unnecessary test 2009-11-16 10:02:47 +00:00
Howard Chu
ff98f4abc5 Use fake_init2 in db_open/db_close since they can execute from a
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Howard Chu
67edd75e48 Cleanup for #6373 2009-11-14 21:53:06 +00:00
Howard Chu
dd2f158b52 Fix prev commit 2009-11-14 09:35:23 +00:00
Howard Chu
fe911c5960 ITS#6376 plug potential leak 2009-11-14 09:34:29 +00:00
Howard Chu
3f9e8eeeec ITS#6373 more for subentry creation 2009-11-11 04:03:27 +00:00
Howard Chu
9ad558b78c ITS#6373 create subentry if missing 2009-11-11 03:36:46 +00:00