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
Howard Chu
9434a7d676
ITS#6608 don't update mod opattrs on single-master slaves
2010-07-28 02:43:21 +00:00
Howard Chu
7e7f24f13f
ITS#6606 send error if consumer is newer than provider
2010-07-28 02:21:27 +00:00
Howard Chu
c7305c4133
Check for SLAP_SYNTAX_DN flag instead of distinguishedName syntax
2010-07-12 03:20:57 +00:00
Ralf Haferkamp
c4f0c2cc2b
unregister controls when removing syncprov, ppolicy, valsort, chain or
...
sssvlv overlay
2010-07-01 11:51:43 +00:00
Ralf Haferkamp
7b2dc4c059
Send error to active psearches upon overlay removal
2010-06-23 16:34:25 +00:00
Howard Chu
9a0e94b4dc
More for ITS#6572, fix copy/paste error
2010-06-17 22:05:33 +00:00
Howard Chu
28072167c7
ITS#6572 zero out freed DN vals. from mbackes@symas.com
2010-06-13 18:47:21 +00:00
Howard Chu
c8c3847103
ITS#6566 use Debug, not fprintf(stderr)
2010-06-02 00:18:32 +00:00
Howard Chu
a07d3630cb
Quit send loops if slapd is shutting down
2010-05-21 17:47:17 +00:00
Ralf Haferkamp
a06696a1ef
During the refresh phase the sync filter needs to be adjusted (skipping
...
the "(entrycsn>=cookie)" part that was inserted) when checking whether a
change needs to be replicated, otherwise we lose DELETES that happen during
the refresh phase (ITS#6555).
2010-05-20 17:08:28 +00:00
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