Howard Chu
edf359795c
ITS#8039 cleanup
2015-01-31 12:52:56 +00:00
Howard Chu
c8d40af0d2
ITS#8039 fix prev commit
...
Don't overload ri_csn with cookie, use a separate berval
2015-01-31 00:12:29 +00:00
Howard Chu
a2d4ed146d
ITS#8039 plug syncprov memleak
...
Rewrote the psearch result handling to keep track of which
queues are using which results.
2015-01-30 08:55:47 +00:00
Howard Chu
c32e74763f
ITS#8027 require non-empty AttributeList
2015-01-20 11:35:40 +00:00
Howard Chu
fccca0ead9
Minor cleanup (coverity)
2015-01-14 16:59:54 +00:00
Howard Chu
0e5f63ae6d
Minor cleanup (coverity)
2015-01-14 11:08:51 +00:00
Leo Yuriev
7c2951819f
ITS#5452,#8012: fix syncprov syncops freeing
...
Detaching a syncops record from op-list conditionally,
only when it was freed by syncprov_free_syncop.
The syncprov_free_syncop() and syncprov_drop_psearch() now
returns a flag, which is nonzero if the given syncops was freed.
2015-01-04 07:27:29 +00:00
Howard Chu
0b2438fbec
ITS#8013 fix syncprov_matchops test_filter usage
2015-01-04 07:20:41 +00:00
Howard Chu
2930a68808
ITS#7780,#7781 fix prev commit
2014-12-18 19:35:09 +00:00
Ondřej Kuzník
8958d2b7cb
ITS#7780,ITS#7781 Fix slapo-constraint with 0 count
2014-12-18 19:34:55 +00:00
Ondřej Kuzník
508f4158bc
ITS#7797 Fix segfault in slapo-collect
2014-12-12 01:35:30 +00:00
Quanah Gibson-Mount
db564ab516
Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy
2014-10-03 15:35:39 -05:00
Howard Chu
3d52e63366
ITS#7929 don't log internal searches
2014-09-08 15:40:28 +01:00
Howard Chu
4ea2fe90e8
ITS#7934 add missing normalization of attrs
2014-09-08 14:57:57 +01:00
Howard Chu
92c7a89130
ITS#7928 fix syncprov abandon cleanup
2014-08-29 02:19:35 +01:00
Howard Chu
be02e8ddd0
ITS#7906,#7923 Don't free configinfo in _db_close
2014-08-20 13:49:37 -07:00
Howard Chu
10b6c9f0f2
ITS#7919 fix cache DB config
...
Don't accept config directives for cache DB until the cache backend type
has been set.
2014-08-13 19:22:17 -07:00
Howard Chu
d8e280e87c
ITS#7906 more cleanup
...
db_open/close were not symmetric with init/destroy
2014-08-11 13:48:29 -07:00
Howard Chu
8b89b45615
ITS#7906 minor cleanup
...
rename ppolicy_close -> ppolicy_db_close for consistency
2014-08-05 19:37:28 -07:00
Howard Chu
08792a77fd
ITS#7906 better fix
...
don't free pwcons unless we're actually destroying this DB
2014-08-05 19:36:30 -07:00
Howard Chu
7f7a82c0f5
ITS#7915 fix translucent_modify
...
Go directly to local backend when fetching local entry
2014-08-04 13:42:35 -07:00
Howard Chu
e5dae640f2
ITS#7909 fix slap_callback init
2014-07-30 06:55:36 -07:00
Quanah Gibson-Mount
e091e0bb63
ITS#7908
...
Add olcSssVlvMaxPerConn to the olcSssVlvConfig objectClass
2014-07-28 13:04:43 -05:00
Howard Chu
05402c396d
ITS#7906 fix ppolicy_connection_destroy
...
It can still run after ppolicy_close has freed the connection table
2014-07-24 17:04:56 -07:00
Howard Chu
03d927485e
ITS#7249 partial fix for memberof on frontendDB
2014-07-21 08:44:42 -07:00
Howard Chu
1f168a0b8f
ITS#7893 ( #6508 ) fix a_numvals
2014-07-09 13:07:53 -07:00
Paul B. Henson
85d467aca6
ITS#7161 ppolicy pwdFailureTime resolution should be better than 1 second
2014-06-15 13:42:46 -07:00
Howard Chu
e4e265c153
ITS#7873 check for pauses
2014-06-04 14:24:20 -07:00
Howard Chu
33e12f4de3
Don't do any merging if manageDSAit was used
...
Just passthru search to local DB
2014-05-27 18:12:49 -07:00
Howard Chu
052aef5960
ITS#7587 fix double-free
...
Related to bb3e14ddba
(ITS#6254)
2014-03-18 11:47:31 -07:00
Kurt Zeilenga
5c878c1bf2
Happy new year (belated)
2014-01-25 05:21:25 -08:00
Pierangelo Masarati
3be02f83df
handle softadd/softdel (internal modifications; ITS#7773)
2013-12-28 16:20:08 +01:00
Hallvard Furuseth
5415e1e6de
ITS#6758 Rewrite code for contrib:wrap_slap_ops.
...
Tweak slapd code so wrap_slap_ops can process it: Use pointers
BackendInfo *bi instead of array "func" = &bi->bi_op_bind. In
slapo-chain, keep a slap_operation_t instead of a function ptr.
2013-12-11 14:40:45 +01:00
Howard Chu
ac9ac0094e
ITS#7749 more for prev commit
2013-11-21 11:18:24 -08:00
Howard Chu
06e384d55b
ITS#7749 propagate op->o_extra in syncprov_findbase
2013-11-14 19:16:57 -08:00
Howard Chu
6711876a35
Fix CONFIG_DELETE crash
...
Closing a connection can abandon its ops without going thru the threadpool,
so make sure to lock the si_ops_mutex before walking the list.
2013-11-05 12:59:56 -08:00
Howard Chu
d47524d8f9
ITS#7692 no-op if target entry doesn't exist
2013-10-12 15:35:05 -07:00
Ted C. Cheng
a2e1b9b545
ITS#7699 fixed one dds start-up assertion failure
2013-10-12 15:23:19 -07:00
Howard Chu
63314e9c4a
ITS#7710 fix typo
2013-10-10 04:04:44 -07:00
Howard Chu
c350b51a63
ITS#7710 fix for non-replicated internal ops
...
Their completion was making slap_graduate_commit_csn() cleanup
their parent op's CSN, thus preventing that CSN from propagating
to any consumers.
2013-10-09 04:58:37 -07:00
Quanah Gibson-Mount
1a712bf18e
Enable features that were hidden behind LDAP_DEVEL
2013-09-19 09:50:52 -07:00
Howard Chu
f27236b0c0
ITS#7588 plug memleak
2013-05-27 11:17:05 -07:00
Howard Chu
1748f03041
ITS#7588 fix possible NULL-deref in prev commit
2013-05-24 08:23:44 -07:00
Howard Chu
68cb9ae250
ITS#7588 fix double-free for sorted paged search
2013-05-13 08:12:40 -07:00
Howard Chu
3fe88a3cef
ITS#7552 fix for templates with * / +
2013-03-25 11:14:01 -07:00
Pierangelo Masarati
f6cd91aadb
more about ITS#7487
2013-01-08 17:50:13 +01:00
Pierangelo Masarati
02f8963f74
handle SLAP_MOD_SOFTDEL (ITS#7487) and other internal modification specifiers
2013-01-08 17:40:39 +01:00
Pierangelo Masarati
021799aca4
fix slapd.conf name (ITS#7478)
2013-01-06 17:15:51 +01:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Howard Chu
6001417f30
ITS#7459 fix config schema
2012-12-03 06:55:12 -08:00
Jan Synacek
3c19681372
ITS#7431 fix constraint_check_restrict segfault
2012-11-26 13:49:53 -08:00
Ralf Haferkamp
be781ab808
ITS#7445 fix deref control exposure
...
do not expose control until deref overlay is actually instantiated at least
once (see also ITS#6647)
2012-11-19 16:09:59 +01:00
Ralf Haferkamp
f86e0cd8dc
ITS#7436 slapo-deref: call overlay_register_control in db_open
2012-11-09 15:48:02 +01:00
Howard Chu
b4126863a4
ITS#7426 ignore syncrepl ops
2012-11-01 17:56:52 -07:00
Jan Synacek
2991111f82
ITS#7418 Fix slapo-constraint: handle uri and restrict correctly
2012-10-30 16:07:26 -07:00
Howard Chu
d42c7c4937
ITS#7414 fix slapo-rwm modrdn cleanup
...
newSup is NULL if it was specified, but same as old Sup.
2012-10-11 07:59:06 -07:00
Jan Synacek
057949785f
ITS#7340 Fix handling of sets when checking for count constraint
2012-08-21 11:57:59 -07:00
Howard Chu
babfce7d0f
ITS#7172 don't reference ops in syncprov locks
...
When a client performs a write and then closes the connection without
sending an Unbind request, the connection cleanup can race with the
op cleanup.
2012-08-15 14:36:35 -07:00
Emily Backes
c453a236fc
Update name information
2012-07-22 07:08:35 -07:00
Howard Chu
73b631b814
ITS#7168 cleanup prev commit
2012-06-25 12:45:32 -07:00
Jan Synacek
bb8112c382
ITS#7168 Fix count constraint when using multiple modifications
...
Constraint overlay doesn't take into account multiple modifications when using
count.
Red Hat Bugzilla: #742163
2012-06-25 12:33:01 -07:00
Howard Chu
c73ec15022
ITS#7292 more accesslog,syncprov leaks
2012-06-08 07:33:59 -07:00
Howard Chu
a8d1783550
ITS#7292 more syncprov control leaks
2012-06-08 05:09:45 -07:00
Howard Chu
96876a171a
ITS#7292 more syncprov leaks
2012-06-07 16:02:45 -07:00
Howard Chu
4dba1f6963
ITS#7292 plug memleaks in accesslog,syncprov
2012-06-07 11:33:20 -07:00
Howard Chu
1d89901e73
ITS#7253 add a note about Criticality and RFC4510
2012-04-20 07:24:03 -07:00
Pierangelo Masarati
e92704309a
more on ITS#6656
2012-04-17 21:51:02 +02:00
Pierangelo Masarati
5bbfd85a83
ITS#7088 fix deadlock on write operations that do not need to be logged (please check)
2012-04-12 18:04:39 +02:00
Pierangelo Masarati
a47ef8d2b7
ITS#6656 keep loginfo mutex-protected
2012-04-11 00:16:45 +02:00
Pierangelo Masarati
3d99878d0b
ITS#6656 make reqEntryUUID searchable
2012-04-10 23:13:55 +02:00
Pierangelo Masarati
f65ee5ddc1
ITS#6656 add reqEntryUUID to logs of write ops
2012-04-10 22:39:35 +02:00
Howard Chu
9e6245f87e
ITS#7235 prevent sop from being freed during init
2012-04-07 10:22:56 -07:00
Hallvard Furuseth
19905a390f
ITS#7234 Fix syncprov entry leak: Set op->o_tag
2012-04-07 14:13:50 +02:00
Pierangelo Masarati
ce54dabb1b
fix uninit'ed parameters to monitor_back_register_entry_attrs()
2012-04-04 15:09:50 +02:00
HIRABAYASHI Satoshi
92d439a0dd
ITS#7218 fix sessionlog usability check
2012-03-28 02:48:03 -07:00
Howard Chu
3792e9ec59
ITS#7178 fix uninit'd op->ors_deref
2012-02-23 01:16:39 -08:00
Howard Chu
d4b3c2af6a
Partial revert of f30269f5d2
...
ITS#6024 patch breaks MMR loop detection
2012-02-12 15:54:11 -08:00
Howard Chu
430256fafb
ITS#7143 add FIXME comment, note that current patch is not ideal
2012-02-03 11:58:00 -08:00
Howard Chu
ef2f5263de
ITS#7143 don't leave empty slots in normalized attr values
2012-02-03 11:43:40 -08:00
Howard Chu
5584e5b98d
ITS#7150 fix check for already abandoned op
2012-02-03 09:35:13 -08:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
5b7c44a136
ITS#7099 fix dds db_open
...
Should not do anything in tool mode.
2011-11-29 05:57:36 -08:00
Howard Chu
7be5837dc0
Cleanup syncprov_db_close/CONFIG_DELETE code
...
No mutex needed since config ops are single-threaded.
Don't send Unavailable message if we're shutting down.
2011-11-18 01:22:52 -08:00
Howard Chu
278322ee5f
ITS#7025 fix syncprov crash
...
init fop.o_extra, copying from s_op is not guaranteed.
2011-11-18 00:31:20 -08:00
Howard Chu
a4df185adf
ITS#7019 fix dsa-specific attr check for Persist updates
2011-11-07 15:25:07 -08:00
Howard Chu
e438122448
ITS#7081 fix prev commit
2011-11-04 11:32:38 -07:00
Howard Chu
bc54aa1078
ITS#6981 pcache: don't reference rs->sr_entry in op_cleanup
2011-11-02 09:26:50 -07:00
Howard Chu
4045cd1dc0
ITS#7061 only return requested attrs in sssvlv response
...
Replaces commit 8eecc9a017
2011-11-01 11:23:59 -07:00
Howard Chu
da210f40e1
ITS#7040 don't complain about other server's CSNs
...
Only worry if consumer has newer state for our SID. Fixes breakage
caused by ITS#6606.
2011-09-30 03:04:10 -07:00
Hallvard Furuseth
ef7f5f5e32
Cleanup ISO C compatibility for recent commits
2011-09-19 10:31:12 +02:00
Howard Chu
8d74f717ff
For test063
...
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:16:39 -07:00
Howard Chu
4f5d087b4f
Don't replicate refint repair ops
2011-08-22 14:05:58 -07:00
Pierangelo Masarati
bdbdae3e5f
according to draft-behera, this attribute only affects password modifies by self (ITS#7021)
2011-08-20 18:52:54 -06:00
Pierangelo Masarati
17cfffdd29
fix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com)
2011-08-17 12:57:56 -06:00
Howard Chu
20a8da0b7c
Revert "More for ITS#6892"
...
This reverts commit 3cb2ca8bbd
.
Patch has no benefit
2011-08-16 13:49:27 -07:00
Howard Chu
3cb2ca8bbd
More for ITS#6892
2011-08-15 15:40:46 -07:00
Pierangelo Masarati
0d0d64518f
host part of unique URI must be empty (ITS#7018)
2011-08-13 23:34:31 +02:00
Howard Chu
8eecc9a017
Only return requested attrs in sssvlv response
2011-07-18 12:53:23 -07:00
Howard Chu
db106f89e6
ITS#6985 fix sssvlv target offset, ordering match
2011-07-18 12:41:51 -07:00
Pierangelo Masarati
c0b669e14f
fix config emit (ITS#6986)
2011-07-07 08:16:23 +02:00
Howard Chu
ebf07016ef
ITS#6872 fix test058 breakage from prev patch
2011-06-27 04:46:43 -07:00
Howard Chu
6da3e3473c
ITS#6716 use sorted CSNs, fix sessionlog
...
track a CSN per SID in the log->sl_mincsn
2011-06-22 00:30:13 -07:00
Howard Chu
ae24a1a6ac
ITS#6973 need limits_check if overlay is global
2011-06-21 02:40:38 -07:00
Howard Chu
329e7937e6
ITS#6892 shortcut for non-replicated ops
2011-06-10 01:44:30 -07:00
cmikk@qwest.net
fa64b07cfc
ITS#6872
...
Perform the internal FIND_CSN search based at the backend's suffix with the
privileges of the backend's root DN.
2011-06-09 01:36:06 -07:00
Howard Chu
0a78997f97
ITS#6936 add connID and peername to auditlog
...
From ksmith @ ycp.edu, with fixes by hyc
2011-06-09 01:01:06 -07:00
Howard Chu
cbb6fe15b9
ITS#6901 fix filter with zero-length values
2011-06-08 19:17:50 -07:00
Ondrej Kuznik
c0aec23bde
ITS#6641 Bypass checks on ops with managedsait
...
Document the uniqueness changes
Fix whitespace in original patch -- hyc
2011-06-08 16:10:50 -07:00
Howard Chu
3fb9d604ef
ITS#6831 don't push stack unless needed
2011-06-03 22:22:48 -07:00
Howard Chu
8b90f05b59
ITS#6831 additional filter cmp fixes
2011-06-03 21:40:27 -07:00
Howard Chu
aaac401dc8
ITS#6831 fix filter comparison
2011-06-03 19:13:24 -07:00
Ralf Haferkamp
ea22849514
ITS#6954 fix consistency checker prematurely deleting cached queries
2011-05-26 15:26:55 +02:00
Ralf Haferkamp
9e80eab803
fix uninitialized bindref_time (found with valgrind)
2011-05-26 14:07:37 +02:00
Ralf Haferkamp
200af921f4
ITS#6953 do not use the cache db when refreshing
2011-05-26 10:53:27 +02:00
Howard Chu
78e1dd9b2f
ITS#6915 Don't replicate internal operations
2011-05-24 11:15:25 -07:00
Howard Chu
53b4baec8b
Revert "update entryCSN (and operational attrs in general) when changing memberOf (ITS#6329)"
...
This reverts commit 716eaf0e8b
.
2011-05-24 11:06:56 -07:00
Howard Chu
d6e414db66
Revert "force the generation of a new CSN (ITS#6766)"
...
This reverts commit 53343b421c
.
2011-05-24 11:06:26 -07:00
Howard Chu
637b625047
Revert "ITS#6915 fix op timestamps"
...
This reverts commit 81687b321c
.
2011-05-24 11:06:11 -07:00
Ralf Haferkamp
5402fef6d7
ITS#6951 Fix two buffersize issue in "pcacheBind" config processing
...
Found with valgrind
2011-05-24 15:36:15 +02:00
Ralf Haferkamp
aa8615b8a2
ITS#6950 Fix '1.1', '+' and '*' in pcacheAttrSets
2011-05-24 14:35:03 +02:00
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
Hallvard Furuseth
42a0f5efc2
ITS#6752 Fix dynlist Compare callback
...
Replace dynlist_sc_save_entry() with dynlist_sc_compare_entry() which
compares instead of saves the entry. Check rs->sr_type == REP_SEARCH.
2010-12-20 10:20:38 +00:00
Hallvard Furuseth
abbf57fd79
ITS#6752 dynlist: Do less work, simplify a bit.
...
Rearrange dynlist_compare(), tweak dynlist_response().
2010-12-20 10:19:21 +00:00
Hallvard Furuseth
2a9c5154ef
ITS#6748 Drop possibly-broken memberof log message
2010-12-14 15:26:42 +00:00
Hallvard Furuseth
0aa8c028b3
ITS#6746: Preserve error code, plug entry leak
2010-12-14 13:35:42 +00:00
Rein Tollevik
b4aa8dc68c
ITS#6716: Keep sessionlog sorted by csn, compare mincsn with head.
2010-12-12 18:12:05 +00:00
Hallvard Furuseth
6be3671985
Fix rev 1.132 (ITS#6632): Initialize all of roc in rwm_callback_get()
2010-12-03 10:08:59 +00:00
Hallvard Furuseth
50b1c4e1b1
ITS#6620: Don't delete absent pwdChangedTime.
...
Based on patch by Martin Evans.
2010-12-02 12:19:31 +00:00
Hallvard Furuseth
3d48d5a360
ITS#6730: Only update modifiersName once per entry
2010-12-01 11:21:29 +00:00
Hallvard Furuseth
a36512660f
ITS#6730: Fix missing refint updates with subtrees/subordinates
2010-12-01 11:19:17 +00:00
Hallvard Furuseth
9a9302a2f5
ITS#6663: Fix refint_nothing.
...
Also move callback trace output out of inner loop in callback.
2010-12-01 10:48:43 +00:00
Pierangelo Masarati
fa4dbb871b
fix double free related to ITS#6720
2010-11-29 16:03:43 +00:00
Hallvard Furuseth
0ab060091e
Silence gcc -Wsign-compare (no real change)
2010-11-22 13:45:11 +00:00
Hallvard Furuseth
b39e9d151d
For ITS#5421: Remove ldap-int.h dependencies.
...
LDAP_FREE() -> ber_memfree(), msg->lm_ber -> ldap_get_message_ber(msg).
2010-11-22 12:51:44 +00:00
Rein Tollevik
d3cddce244
ITS#6718: Send NEW_COOKIE messages to all consumers.
2010-11-21 19:00:38 +00:00
Rein Tollevik
990d8f562f
ITS#6710: Force clients to refresh if context is dirty.
2010-11-21 17:56:09 +00:00
Rein Tollevik
877fc0ab37
ITS#6709: Wait for active mods to finish before initiating new consumers.
2010-11-21 15:31:38 +00:00
Rein Tollevik
ba86259aa0
ITS#6708: Mutex protect fixing the filter.
2010-11-15 15:42:06 +00:00
Ralf Haferkamp
e1c2a67517
Unregister VLV control as well when last overlay instance
...
is removed (additional fix for ITS#6647)
2010-11-04 12:13:26 +00:00
Howard Chu
de6dbc981e
ITS#6685 fix result code tag
2010-10-26 00:59:10 +00:00
Ralf Haferkamp
76c611ad42
Removed unused variables
2010-10-19 10:48:21 +00:00
Ralf Haferkamp
02753d1555
ITS#6677 moved one more #endif, addtional fix for previous commit
2010-10-19 10:47:41 +00:00
Howard Chu
2cd0b96158
ITS#6677 move #endif
2010-10-17 01:36:47 +00:00
Pierangelo Masarati
85369497aa
do not expose control until sssvlv overlay is actually instantiated at least once (ITS#6647)
2010-10-06 08:24:45 +00:00
Pierangelo Masarati
dc78654c0b
make sure so is correctly initialized (spotted by valgrind, possibly related to ITS#6649)
2010-09-18 18:27:28 +00:00
Pierangelo Masarati
79d4e4cf6a
add support for ADD_IF_NOT_PRESENT and SOFTDEL internal modification types (ITS#6561)
2010-09-07 13:21:20 +00:00
Pierangelo Masarati
c405143a0a
ignore undefined attrs (ITS#6600, based on patch by Jonathan CLARKE)
2010-09-07 02:03:23 +00:00
Pierangelo Masarati
c78014bc5d
make sure callback is freed (ITS#6640)
2010-09-07 02:01:35 +00:00
Pierangelo Masarati
df2573b4a9
hacks ITS#6632
2010-08-29 08:08:42 +00:00
Howard Chu
a8ffb63331
Better fix - avoid allocating callback for non-logged mod ops
2010-08-04 08:50:29 +00:00
Howard Chu
21d299e370
More for ITS#6608 - don't replicate ppolicy state changes on replicas
2010-08-04 08:14:59 +00:00