Hallvard Furuseth
0aa8c028b3
ITS#6746: Preserve error code, plug entry leak
2010-12-14 13:35:42 +00:00
Rein Tollevik
022deb749a
Reduced debug level, the default logs more than 1Gb.
2010-12-12 18:20:51 +00:00
Rein Tollevik
b4aa8dc68c
ITS#6716: Keep sessionlog sorted by csn, compare mincsn with head.
2010-12-12 18:12:05 +00:00
Howard Chu
439030a16d
ITS#6714 non-blocking support from Richard Megginson @ Red Hat
2010-12-11 04:57:10 +00:00
Howard Chu
0215833bcd
Cleanup prev commit
2010-12-11 04:51:21 +00:00
Howard Chu
a2053729f0
ITS#6744 - plug leak
2010-12-11 04:35:01 +00:00
Howard Chu
75bb972859
Partial fix for non-string types in cert DNs. (Need to add explicit support
...
for Bitstring, maybe a few others.)
2010-12-10 02:05:18 +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
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