Commit Graph

19178 Commits

Author SHA1 Message Date
Pierangelo Masarati
dc156d7f6e allow to set LDIF max line width (ITS#6645) 2010-12-07 10:14:51 +00:00
Pierangelo Masarati
d5f101f836 typo in comment 2010-12-07 10:11:06 +00:00
Hallvard Furuseth
16b7df8397 ITS#6625 Remove some LDAP_R_COMPILEs 2010-12-06 11:31:58 +00:00
Hallvard Furuseth
5ecd624f50 Fix ITS#6625: mutex-protect ldap_free_connection() 2010-12-06 10:51:55 +00:00
Hallvard Furuseth
285eee8904 ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE 2010-12-06 10:48:29 +00:00
Hallvard Furuseth
7cb9c496bf ITS#6625 concurrency patch cleanup 2010-12-06 10:41:41 +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
5c186dff4d Silence valgrind's ptrcheck (no real change).
Also removes a bit unnecessary code.
2010-12-06 08:19:40 +00:00
Hallvard Furuseth
a5d1029f53 ITS#6736: Delay destruction of slap_listeners[] 2010-12-06 08:17:00 +00:00
Hallvard Furuseth
042fa7ff9a ITS#6735 Fix uninitialized filter in slapd-tester 2010-12-04 18:58:20 +00:00
Hallvard Furuseth
e0adc1aa69 Fix rev 1.270: free def_urlpre correctly. Also free urlpre. 2010-12-04 18:53:04 +00:00
Hallvard Furuseth
a55d333107 ITS#6733: Fix LDAP_MEMORY_DEBUG issues.
ber_memcalloc_x overflow check.  Silence some compiler warnings.
2010-12-03 11:44:22 +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
a7771fc35a ITS#6732: Clean up ber_errno handling.
Set it after ber_mem(c)alloc_x failure.  Don't set it when not needed.
2010-12-02 13:18:32 +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
adee44c56c ITS#6364: Document that refint needs rootdn 2010-12-01 12:20:04 +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
Pierangelo Masarati
603eec5758 remove #ifdef EAGAIN, EWOULDBLOCK (ITS#6603) 2010-11-24 14:47:46 +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
bc38ec228b For ITS#5421: Remove unnecessary #include "ldap_log.h" 2010-11-23 15:25:49 +00:00
Hallvard Furuseth
7c29e2c7c5 ITS#6723: Handle EOF in test programs 2010-11-23 12:12:54 +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
5dd8cc1015 Warning cleanup
Avoid "cast pointer to int of different size" warning by passing
the int arg to new threads as an offset into rtid/rwtid.
2010-11-22 15:44:11 +00:00
Hallvard Furuseth
c62b0553ad Some cleanup 2010-11-22 15:26:17 +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
18e348a379 Fix last commit (ITS#6622): Remove non-C90 // comment 2010-11-22 12:28:34 +00:00
Hallvard Furuseth
6dff367fce Fix typo $backend -> $BACKEND in message 2010-11-22 12:21:08 +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
5bf532520f Support back-null 2010-11-19 15:20:53 +00:00
Hallvard Furuseth
b83d619d87 Support statically linked syncprov 2010-11-19 14:33:22 +00:00
Hallvard Furuseth
77b87520f6 Support configure --disable-monitor 2010-11-19 13:32:33 +00:00
Hallvard Furuseth
b75b769471 Fix cyrus.c rev 1.159 for --without-cyrus-sasl:
It modified ldap_int_sasl_bind()'s prototype with but not without SASL.
2010-11-19 12:32:05 +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