Commit graph

8446 commits

Author SHA1 Message Date
Hallvard Furuseth
c044d32262 slap_loglevel_get() prototype 2006-04-13 22:16:17 +00:00
Howard Chu
f5b815b1b3 ITS#4489 fix slap_tls_ld cleanup 2006-04-13 21:49:25 +00:00
Pierangelo Masarati
bd8514fb1e address protocol version issues (ITS#4488) 2006-04-13 16:20:00 +00:00
Pierangelo Masarati
423a2c73f4 fix *entry_get() behavior 2006-04-13 16:09:06 +00:00
Pierangelo Masarati
a2a9298080 cleanup 2006-04-13 14:46:16 +00:00
Pierangelo Masarati
ec849bd981 no TLS no party 2006-04-13 12:09:34 +00:00
Pierangelo Masarati
c08f05f0c0 group SlapReply search flags 2006-04-12 14:02:15 +00:00
Kurt Zeilenga
eb9a3c1876 unifdef -DSLAP_ACL_HONOR_DISCLOSE
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
444ec670e3 really fix it 2006-04-11 22:27:41 +00:00
Kurt Zeilenga
809331582b Fix bad edit - like cause of ITS#4484 2006-04-11 22:26:52 +00:00
Kurt Zeilenga
cc2ad31bba remove more LDBM cruft 2006-04-11 18:56:11 +00:00
Kurt Zeilenga
2e2d036490 remove LDAP_DEVEL around lightweight dispatcher code
(presently in 2.4)
2006-04-11 18:34:09 +00:00
Pierangelo Masarati
dfc8e7f6b8 better fix for ITS#4483 2006-04-09 22:29:42 +00:00
Pierangelo Masarati
666e0677ca re-fix previous commit 2006-04-08 15:59:59 +00:00
Pierangelo Masarati
3d13b08a44 fix network-timeout commit 2006-04-08 14:45:45 +00:00
Pierangelo Masarati
cc8109db06 fix previous commit 2006-04-08 14:45:19 +00:00
Pierangelo Masarati
0500576056 add support for old proxyAuthz encoding; allow to workaround buggy implementations of the new version (now RFC4370) 2006-04-08 11:12:30 +00:00
Kurt Zeilenga
037d513aee Move LDBM to the attic 2006-04-08 04:24:48 +00:00
Kurt Zeilenga
c48338233e s/LDBM/BDB/ 2006-04-08 04:24:12 +00:00
Kurt Zeilenga
fd2d6bcca3 s/ldbm/hdb/ 2006-04-08 04:21:03 +00:00
Pierangelo Masarati
6a293c65b3 line up network-timeout with back-meta 2006-04-07 09:08:37 +00:00
Howard Chu
c1019fbfbd More for ITS#4323 fix 2006-04-07 04:17:44 +00:00
Howard Chu
4c754ec249 Fix typo 2006-04-07 03:08:43 +00:00
Howard Chu
c6d0edc3b7 Use TLS context stuff in syncrepl 2006-04-07 02:57:39 +00:00
Howard Chu
7a5d12cc51 Add TLS options to bindconf struct 2006-04-07 01:49:19 +00:00
Pierangelo Masarati
8c1b8d3f7b actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero 2006-04-07 01:28:56 +00:00
Howard Chu
76bf5d4c76 Use new TLS SSL_CTX support 2006-04-07 01:25:46 +00:00
Pierangelo Masarati
0f1023b6c7 pedantic cleanup 2006-04-06 23:55:09 +00:00
Pierangelo Masarati
267486bfad fix ITS#4479 2006-04-06 23:48:55 +00:00
Kurt Zeilenga
8fb8b17c04 Code which doesn't hanlding allocation failure should use
ch_ routines, not SLAP_ macros
2006-04-06 21:44:05 +00:00
Kurt Zeilenga
1b9d68d6ba cleanup 2006-04-06 21:29:38 +00:00
Pierangelo Masarati
b03d8abcde don't leak if realloc fails (ITS#4477) 2006-04-06 19:13:41 +00:00
Pierangelo Masarati
c6ab0790d1 don't leak if realloc fails (ITS#4477); s/new/newptr/ 2006-04-06 19:07:48 +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
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
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
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
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
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
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
Hallvard Furuseth
909f5e6ae9 Cast %ld format arg to long 2006-04-02 16:38:46 +00:00
Hallvard Furuseth
b90c3d6fd3 Add missing snprintf args in debug output 2006-04-02 16:37:52 +00:00
Hallvard Furuseth
6c772f2057 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2006-04-01 23:52:42 +00:00
Hallvard Furuseth
581c1ff6c7 Cast ctype.h char arguments to unsigned char 2006-04-01 23:44:42 +00:00
Hallvard Furuseth
7ead463927 Remove suspicious whitespace from makefile 2006-04-01 23:29:41 +00:00
Pierangelo Masarati
44a75a03c0 allow overlays to inject an abandon without returning SLAPD_ABANDON 2006-04-01 18:59:26 +00:00
Pierangelo Masarati
46cb141185 seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout 2006-04-01 18:56:39 +00:00
Pierangelo Masarati
e21ec88c88 fix previous commit (ITS#4465) 2006-04-01 15:31:35 +00:00
Pierangelo Masarati
3aac54f089 fix bound check (ITS#4449) 2006-04-01 15:22:13 +00:00
Pierangelo Masarati
fc89650cce add a cleanup handler for binds (ITS#4465) 2006-04-01 15:21:00 +00:00
Pierangelo Masarati
7cba7d0b39 don't use uninitialized mutexes 2006-03-31 23:07:48 +00:00
Pierangelo Masarati
2f366c3a52 initialize the connection_pool in server mode only 2006-03-31 23:04:13 +00:00
Howard Chu
c002351982 cleanup 2006-03-31 22:24:39 +00:00
Howard Chu
65079f768e Cleanup NULL check 2006-03-31 22:05:01 +00:00
Howard Chu
8c990ff2e9 plug leaks 2006-03-31 21:59:39 +00:00
Kurt Zeilenga
28191d7642 don't call cache_return_entry_rw with e of NULL 2006-03-31 21:03:51 +00:00
Howard Chu
c41a151d1e Cleanup 2006-03-31 12:53:32 +00:00
Howard Chu
0af1940f3f plug leaks 2006-03-31 12:20:04 +00:00
Howard Chu
90c8a53db4 plug leaks 2006-03-31 11:15:26 +00:00
Howard Chu
8cbd5ecc13 Cleanup 2006-03-31 10:45:23 +00:00
Howard Chu
bb9d5b1100 Plug leaks, fix coverity errors 2006-03-31 09:33:46 +00:00
Pierangelo Masarati
ac8c1f2a26 fix multiple response messages; add overall sleep time 2006-03-30 23:49:51 +00:00
Kurt Zeilenga
5487575086 Add link to FAQ entry on BDB tuning 2006-03-30 17:56:56 +00:00
Pierangelo Masarati
02966c3d1c fix handling of expired connections (ITS#4429; need to look at back-meta as well) 2006-03-29 01:26:42 +00:00
Pierangelo Masarati
bacd1f170f leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457) 2006-03-28 21:45:54 +00:00
Pierangelo Masarati
e673b4d9ad propagate pretty DN (ITS#4456) 2006-03-28 19:20:01 +00:00
Pierangelo Masarati
0a465343fb cleanup 2006-03-27 00:31:38 +00:00
Pierangelo Masarati
51e1ab59cd streamline handling of simple bind by global overlays (ITS#4454) 2006-03-26 23:03:43 +00:00
Pierangelo Masarati
1418b2c5b1 fix previous commit: actually free the connection in case of failed bind 2006-03-25 01:12:27 +00:00
Pierangelo Masarati
fd5208c18f destroy bind connection after failed bind (ITS#4428) 2006-03-25 00:33:42 +00:00
Pierangelo Masarati
00073c8cac fix operational attrs return with chain overlay (ITS#4431); misc cleanup 2006-03-24 22:49:51 +00:00
Pierangelo Masarati
3160c03dab cleanup previous commit 2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b honor "chase-referrals no" (ITS#4447) 2006-03-23 21:01:19 +00:00
Pierangelo Masarati
324431062b refuse illegal values for "threads" (ITS#4433) 2006-03-20 12:12:28 +00:00
Pierangelo Masarati
9019ea74ee fix leak 2006-03-19 23:26:12 +00:00
Luke Howard
486721d531 Fix build if LDAP_X_TXN is undefined 2006-03-10 02:44:32 +00:00
Kurt Zeilenga
ffee887d71 Update certificate schema to use IANA assigned OIDs 2006-03-08 20:07:25 +00:00