Commit Graph

1299 Commits

Author SHA1 Message Date
Pierangelo Masarati
052da7f8a2 check sat_equality before using it (ITS#6943) 2011-05-23 00:22:12 +02:00
Hallvard Furuseth
fac36dcba7 ITS#6932: Clean up strange asserts & nearby code.
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Howard Chu
81687b321c ITS#6915 fix op timestamps
This has always been broken since memberof was first written
2011-04-23 20:56:11 -07:00
Howard Chu
7a66c84783 More for ITS#6815, Unbind and Abandon 2011-04-20 12:31:27 -07:00
Howard Chu
84361763f1 ITS#6850 from Raphael Ouazana @ Linagora 2011-03-04 23:02:23 +00:00
Howard Chu
28f0f11c6c Fix uninit'd var 2011-02-25 05:32:05 +00:00
Howard Chu
eeb7603de6 Fix prev commit 2011-02-24 13:22:57 +00:00
Howard Chu
2063cc9db7 ITS#6815 add logbase option, to only log requests matching a given suffix 2011-02-23 02:47:19 +00:00
Hallvard Furuseth
1e76343406 Unlock new_cached_query->rwlock before destroying it.
Fixes rev 1.210 (new since last OpenLDAP release).
2011-02-11 11:43:18 +00:00
Ralf Haferkamp
6a6626b49d removed some used vars 2011-02-08 17:20:44 +00:00
Pierangelo Masarati
4e3eac93f7 prefix undef attrs with undef: (ITS#6823) 2011-02-02 21:45:34 +00:00
Pierangelo Masarati
15c8ad1f46 make sure data is reset 2011-02-01 22:58:41 +00:00
Pierangelo Masarati
75e3a1931d ignore empty attrs in search requests (ITS#6819; see also ITS#6652) 2011-02-01 13:09:11 +00:00
Pierangelo Masarati
67a9ef8c33 give the caller a chance to use undefined filters (more about ITS#6814) 2011-01-31 21:53:56 +00:00
Howard Chu
3f28eeb797 ITS#6812 cleanup error codes 2011-01-29 03:30:22 +00:00
Hallvard Furuseth
42cb7f06f1 cleanup: Rename rs_ensure_entry_modifiable().
The name rs_entry2modifiable() is more reasonably sized.
For now, leave behind a macro rs_ensure_entry_modifiable in proto-slap.h.
2011-01-28 16:33:55 +00:00
Pierangelo Masarati
2a513ad623 cleanup monitor unregister (ITS#6808) 2011-01-27 22:27:22 +00:00
Pierangelo Masarati
d829953dd0 empty query UUID means negative caching (ITS#6796) 2011-01-18 20:44:45 +00:00
Pierangelo Masarati
c4bdb76de0 count attr values; don't free dangling pointers (ITS#6797) 2011-01-18 20:33:12 +00:00
Howard Chu
4c1464f3cd ITS#6795 plug sr_ctrls memleak 2011-01-18 02:24:35 +00:00
Pierangelo Masarati
85ba0b81ed fix previous commit 2011-01-17 15:06:11 +00:00
Pierangelo Masarati
3c82ea09c7 make sure rwm_response returns SLAP_CB_CONTINUE (ITS#6792, as indicated by Hallvard) 2011-01-17 13:15:28 +00:00
Howard Chu
e3f344bcbd ITS#6717 refine mincsn check for MMR 2011-01-13 22:45:59 +00:00
Howard Chu
7da903a11d ITS#6716 partial revert, initialize sl_mincsn at db_open 2011-01-13 22:23:05 +00:00
Hallvard Furuseth
1ecaeb3b18 noop change: Silence signed vs unsigned warnings 2011-01-12 14:44:03 +00:00
Howard Chu
5ece155e14 More for #6503 2011-01-06 22:46:08 +00:00
Howard Chu
d4523d3142 ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases 2011-01-06 22:37:23 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
53343b421c force the generation of a new CSN (ITS#6766) 2011-01-03 00:04:53 +00:00
Pierangelo Masarati
ab4eb5e673 skip operations when internal 2011-01-02 23:36:30 +00:00
Pierangelo Masarati
d562608e40 memberof handling of rename (ITS#6700) 2011-01-02 23:03:13 +00:00
Pierangelo Masarati
7c77d9b801 fix control value generation (ITS#6652) 2011-01-02 17:19:14 +00:00
Pierangelo Masarati
0a12ea91df hex digits need to be in pairs (ITS#6652) 2011-01-02 15:58:48 +00:00
Pierangelo Masarati
cddaeff565 fix reqControls validator (partially addresses ITS#6652) 2011-01-02 15:50:00 +00:00
Hallvard Furuseth
f4a3304477 ITS#6758 Use rs_*() to manage SlapReply entries.
Some noop changes + fixes entry leaks and REP_ENTRY_MODIFIABLE flag leaks.
2010-12-31 17:55:36 +00:00
Hallvard Furuseth
713886ec07 ITS#6758, pcache.c: Avoid SlapReply reuse.
refresh_merge(): Do not reuse Search SlapReply parameter for a Modify,
use a local one and copy its sr_err to the parameter.  The parameter is
from refresh_query().  Move its SlapReply parameter to a local variable.
2010-12-31 13:46:48 +00:00
Hallvard Furuseth
6d7c1880a8 ITS#6758 Avoid SlapReply reuse.
Caller provides a SlapReply and reads the result after the operation,
then reuses it.  Reinitialize before reuse, or move declaration inwards.
2010-12-31 13:08:11 +00:00
Hallvard Furuseth
04f8fa5619 ITS#6760: Fix rwm entry handling 2010-12-31 12:01:03 +00:00
Hallvard Furuseth
13f52646b2 ITS#6758 Avoid SlapReply reuse, simple cases.
Caller provides and reuses a SlapReply it does not read after
initialization.  So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Howard Chu
089cf2d421 ITS#6670 partial fix - ignore member/memberof pointing to same entry 2010-12-31 01:38:24 +00:00
Hallvard Furuseth
d2b024be4a ITS#6758 Reset some SlapReply flags & data.
Reset data more consistenlty.  When resetting sr_entry after sending
data, reset sr_flag as well.  Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
2010-12-30 23:55:07 +00:00
Hallvard Furuseth
f7a77545ad noop commit for ITS#6758: simplify future commits 2010-12-30 23:48:41 +00:00
Hallvard Furuseth
98966abeef noop commit for ITS#6758: Remove no-effect code.
Unused variable resets, unused SlapReply parameters to some functions.
2010-12-30 23:43:12 +00:00
Hallvard Furuseth
cd6e9156e7 Remove lint (unused vars/labels/funcs/default:s) 2010-12-30 23:34:55 +00:00
Hallvard Furuseth
027b6812ee ITS#6686 Fix last commit (declaration after code) 2010-12-28 15:59:48 +00:00
Howard Chu
e907ba219b ITS#6686 add multiple sorts per connection, from Raphael Ouazana @ Linagora 2010-12-23 22:29:57 +00:00
Hallvard Furuseth
720aa4b77e Plug mutex/rwlock leaks (destroy them) 2010-12-20 10:57:06 +00:00
Hallvard Furuseth
78a0be6a42 Plug memory leaks 2010-12-20 10:51:14 +00:00
Hallvard Furuseth
9e6331f14f ITS#6752 Remove OpenLDAP 2.[23] dynlist code 2010-12-20 10:25:11 +00:00
Hallvard Furuseth
e7df2ef95f ITS#6752 Handle REP_ENTRY_* flags correctly 2010-12-20 10:22:19 +00:00