Kurt Zeilenga
721e1c87a8
Have slapd-bind reuse LDAP session (no init).
2006-04-06 19:01:08 +00:00
Hallvard Furuseth
a070e6c05f
Avoid sprintf buffer overrun if huge hostname
2006-04-06 09:28:19 +00:00
Howard Chu
daec2febfb
ITS#4476 revert connection_write processing back into main thread
2006-04-06 04:34:37 +00:00
Pierangelo Masarati
8395383d2c
fix ITS#4435
2006-04-06 01:27:16 +00:00
Hallvard Furuseth
02cba98c0b
Protect from sprintf buffer overrun in ldapsearch -f file "(cn=%100000s)"
2006-04-05 20:48:15 +00:00
Hallvard Furuseth
b70d6dd8e6
LDAP_RDWR_DEBUG update:
...
- Avoid buffer overrun when too many readers.
- When remoinv reader ID, move one ID instead of all later IDs in array.
- assert(correct lock owner) before unlocking a write lock.
2006-04-05 20:08:34 +00:00
Hallvard Furuseth
ca4a4456e8
LDAP_THREAD_DEBUG revamping, cleanup, bug fixes.
...
Expand usage struct with magic numbers and state info.
Add options "noreinit", "nosync", "nomem", "threadID". Remove "dupinit".
Detect address changes. Turn off thread ID tracking by default.
2006-04-05 19:52:07 +00:00
Kurt Zeilenga
3462baf8bc
Use standard compliant filter strings
2006-04-05 18:57:46 +00:00
Pierangelo Masarati
7420472b42
warn in case of error
2006-04-05 18:20:00 +00:00
Pierangelo Masarati
ffc69eadde
add missing "break" to previous commit
2006-04-05 18:15:30 +00:00
Hallvard Furuseth
b4586b2f84
Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
2006-04-05 14:15:34 +00:00
Howard Chu
c76eb501ab
Revert cache-purge task, go back to purging inline
2006-04-05 07:17:11 +00:00
Howard Chu
0ad714d61e
Additional fix for ITS#4323, must propagate search result controls
2006-04-05 07:03:25 +00:00
Kurt Zeilenga
45d0479d37
Reverse last commit. Wrong tree.
2006-04-05 00:40:53 +00:00
Kurt Zeilenga
31d64d4642
No LogTest in re23
2006-04-05 00:39:46 +00:00
Howard Chu
2bf9afd828
ITS#4323 allow lower overlays to work on master database
2006-04-05 00:27:16 +00:00
Hallvard Furuseth
eca5f7bf2d
ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
...
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
04dae5a020
ITS#4442 just log refint failures, client only cares about main request
2006-04-04 22:16:24 +00:00
Pierangelo Masarati
582ee9675f
silence warning
2006-04-04 21:07:53 +00:00
Pierangelo Masarati
674c98fa7d
honor stop on error
2006-04-04 19:48:22 +00:00
Pierangelo Masarati
e21f57cf05
complete previous commit (protect binds)
2006-04-04 18:45:59 +00:00
Pierangelo Masarati
6d357288d6
allow time/size limit errors as soon as some data is returned; don't divide by zero if no entries were found
2006-04-04 17:55:27 +00:00
Pierangelo Masarati
543396c804
make sure only on bind at a time occurs; release resources only when appropriate
2006-04-04 17:41:50 +00:00
Pierangelo Masarati
2e9f2995ec
only wait if no entry was returned
2006-04-04 17:41:13 +00:00
Howard Chu
3bfe4a7f77
plug leaks
2006-04-04 10:58:08 +00:00
Howard Chu
abb01fa437
cleanup
2006-04-04 10:47:42 +00:00
Howard Chu
fc61aab12b
plug leak
2006-04-04 10:31:01 +00:00
Howard Chu
6a50826676
plug leaks
2006-04-04 10:27:28 +00:00
Howard Chu
548270776d
Plug leak
2006-04-04 10:12:55 +00:00
Howard Chu
272211fbcd
Same as ITS#4464, don't call cache_return_entry with NULL entry
2006-04-04 09:56:34 +00:00
Hallvard Furuseth
7c117e37da
tool_bind(): Do not use pointer to out-of-scope variable (ITS#4434, ppolicy)
2006-04-04 03:20:33 +00:00
Pierangelo Masarati
e45d11b42f
cleanup "matched" output
2006-04-04 00:04:39 +00:00
Kurt Zeilenga
4ce1deab46
update shtool to 2.0.5
2006-04-03 22:21:16 +00:00
Kurt Zeilenga
9a82a56779
update to v1.5.22
2006-04-03 22:16:47 +00:00
Pierangelo Masarati
79df3e9c3c
don't add unnecessary message
2006-04-03 22:06:12 +00:00
Pierangelo Masarati
14cbf4bc3e
make sure an invalid connection is always released as appropriate
2006-04-03 21:56:30 +00:00
Pierangelo Masarati
aecfb85793
immediately return sizelimitExceeded if appropriate
2006-04-03 21:14:14 +00:00
Pierangelo Masarati
e5f83e20b5
fix previous commit
2006-04-03 20:30:35 +00:00
Hallvard Furuseth
7057f8756c
thr_yield() returns void, so do not use its "return value" (ITS#4469)
2006-04-03 17:10:38 +00:00
Hallvard Furuseth
7a113f0759
Restore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch).
2006-04-03 12:49:30 +00:00
Pierangelo Masarati
8823f5cc87
fix ITS#4450?
2006-04-03 00:34:35 +00:00
Pierangelo Masarati
070c9d9f07
make sure rs->sr_err is fine
2006-04-03 00:33:34 +00:00
Pierangelo Masarati
c853ba1f0e
more on recovery (ITS#4429)
2006-04-03 00:32:59 +00:00
Hallvard Furuseth
19a0d82937
Init & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search
2006-04-02 23:49:57 +00:00
Hallvard Furuseth
b2f79aa42e
Initialize and destroy lc_lai.lai_mutex
2006-04-02 23:47:13 +00:00
Howard Chu
c63d1f04f8
plug leaks
2006-04-02 21:16:06 +00:00
Howard Chu
e1664b1f42
plug leak
2006-04-02 21:06:28 +00:00
Hallvard Furuseth
f67fecc7fb
Warning cleanup: destroy_actions() returns no value; use return type void
2006-04-02 19:55:05 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Hallvard Furuseth
c2f210a128
Return a value (0) from auditlog_db_close() and auditlog_db_destroy()
2006-04-02 16:40:39 +00:00