Commit Graph

10909 Commits

Author SHA1 Message Date
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
5feeec67d7 ITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings 2010-12-14 15:06:32 +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
Pierangelo Masarati
351bc07fcc re-fix ITS#6645 commit 2010-12-07 11:58:38 +00:00
Pierangelo Masarati
615d1c7703 fix ITS#6645 commit 2010-12-07 11:55:27 +00:00
Pierangelo Masarati
15f1e7bdb7 move ctxcsn and schema check code in helpers; also apply to slapmodify (ITS#6737) 2010-12-07 10:50:54 +00:00
Pierangelo Masarati
dc156d7f6e allow to set LDIF max line width (ITS#6645) 2010-12-07 10:14:51 +00:00
Hallvard Furuseth
87a9ee9e83 For ITS#6739: Fix last commit (private debuging) 2010-12-06 09:27:30 +00:00
Hallvard Furuseth
5fc18b9d66 For ITS#6739: Move variables into do_syncrep2 loop 2010-12-06 09:23:44 +00:00
Hallvard Furuseth
a5d1029f53 ITS#6736: Delay destruction of slap_listeners[] 2010-12-06 08:17:00 +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
4ed4c3a28f ITS#6731: Fix scrambled back-ldif error strings.
* Move apply_modify_to_entry():textbuf[] into caller.
* Reset rs->sr_text at end of functions that can set it to textbuf.
2010-12-02 10:24:19 +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
bce526a8cf test slap_dontUseCopy_propnames (ITS#6729) 2010-12-01 10:41:05 +00:00
Pierangelo Masarati
fa4dbb871b fix double free related to ITS#6720 2010-11-29 16:03:43 +00:00
Hallvard Furuseth
c9a63dc01a Fix a comment 2010-11-28 18:20:54 +00:00
Hallvard Furuseth
f23fb051d5 Add/fix comments. No other change. 2010-11-28 18:04:22 +00:00
Hallvard Furuseth
5f2af361ba ITS#6532 Support extensible match=...OrderingMatch
Handles:  caseExactOrderingMatch, generalizedTimeOrderingMatch,
         caseIgnoreOrderingMatch,         integerOrderingMatch,
        octetStringOrderingMatch,   numericStringOrderingMatch.
Based on patch from Daniel Pluta.
2010-11-24 13:10:29 +00:00
Hallvard Furuseth
def5d26f13 ITS#6722: Fix some matching rules to ensure strict ordering
booleanMatch, octetStringMatch, octetStringOrderingMatch, uniqueMemberMatch
2010-11-23 11:17:40 +00:00
Hallvard Furuseth
4484781b0d ITS#6721: Fix uninitialized tv_usec from ITS#6282 2010-11-23 10:10:45 +00:00
Hallvard Furuseth
0ab060091e Silence gcc -Wsign-compare (no real change) 2010-11-22 13:45:11 +00:00
Hallvard Furuseth
e1469fff44 For ITS#5421: Also LBER_FREE() -> ber_memfree() 2010-11-22 13:14:29 +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
Hallvard Furuseth
92986c3434 ITS#6715 cleanup: Handle attr_valfind(0 values) when SLAP_ATTR_SORTED_VALS 2010-11-22 12:16:08 +00:00
Pierangelo Masarati
b68703031b initialize rc in syncrepl_add_glue_ancestors (ITS#6719) 2010-11-22 12:09:45 +00:00
Hallvard Furuseth
2a9cbcc5b5 No-op change for ITS#6715: help compiler a bit in attr_valfind() 2010-11-22 12:09:43 +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
Hallvard Furuseth
efcb0ad5a3 ITS#6715: Fix slap_sort_vals(attr with 1 value)
Also rearrange slightly to silence gcc -Wuninitialized, get a single
exit point, and skip the unnecessary sorting of the single value.
2010-11-19 12:21:34 +00:00
Pierangelo Masarati
9c1eae14a7 fix previous commit (ITS#6712) 2010-11-18 11:54:23 +00:00
Pierangelo Masarati
67f21784fd do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-monitor) 2010-11-18 11:53:59 +00:00
Pierangelo Masarati
3dcc62503a do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-sql) 2010-11-18 11:51:15 +00:00
Pierangelo Masarati
41858b7047 do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-ndb) 2010-11-18 11:46:18 +00:00
Pierangelo Masarati
40831ba54f do not add hasSubordinates if already present (fixes ITS#6712 for back-bdb/hdb, other backends may need work) 2010-11-18 11:33:47 +00:00
Ralf Haferkamp
66fa1f6198 ITS#6693 value dependent ACL didn't work when they were the first ACL 2010-11-15 16:27:56 +00:00
Rein Tollevik
ba86259aa0 ITS#6708: Mutex protect fixing the filter. 2010-11-15 15:42:06 +00:00
Rein Tollevik
e1dfe6e911 ITS#6707: Free the presentlist (if any) before connecting. 2010-11-15 14:15:46 +00:00
Pierangelo Masarati
001b30ebc6 fix slapo-chain startup issue when using back-config, related to ITS#6540 2010-11-14 23:53:54 +00:00
Howard Chu
1e18b823a0 ITS#6699 search references must turn onelevel scope to base 2010-11-12 04:35:49 +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
Ralf Haferkamp
ccd5b3d52d Added -VVV to usage output 2010-11-01 15:20:39 +00:00
Ralf Haferkamp
c4d6e40ee1 List static overlays/backends when started with -VVV 2010-11-01 14:51:23 +00:00