Commit Graph

10595 Commits

Author SHA1 Message Date
Howard Chu
acd888b9de child DB should have ordering prefix 2009-08-19 23:46:37 +00:00
Pierangelo Masarati
9f13a2ae02 more cleanup of attr renaming 2009-08-19 23:13:13 +00:00
Pierangelo Masarati
afec8d12ad more cache monitoring (ITS#5178) 2009-08-19 23:09:52 +00:00
Pierangelo Masarati
a688867cae more about previous commit 2009-08-19 22:41:06 +00:00
Hallvard Furuseth
4b6f2de8ab Silence warning (bv_len >= 0 is always true) 2009-08-19 18:59:33 +00:00
Hallvard Furuseth
c0e0a64799 Silence warning (missing braces ininitializer) 2009-08-19 18:58:28 +00:00
Hallvard Furuseth
b6f79805be Fix Debug() format (%x -> %lx) since rev 1.385 2009-08-19 18:57:04 +00:00
Pierangelo Masarati
69878f43c8 refactor connection handling 2009-08-19 16:45:15 +00:00
Pierangelo Masarati
bdec7702d7 better logging of privileged connections (more to come; might be unstable for a bit) 2009-08-19 15:00:59 +00:00
Pierangelo Masarati
148cc2f2fc silence warnings 2009-08-19 13:20:11 +00:00
Pierangelo Masarati
b928fa97d8 silence warning 2009-08-19 13:02:54 +00:00
Pierangelo Masarati
8da69a9249 silence warnings 2009-08-19 12:55:15 +00:00
Howard Chu
0caea881a5 Only free the req_dn / ndn we created. Someone may have rewritten it... 2009-08-19 11:27:49 +00:00
Hallvard Furuseth
eea6678234 More ITS#6234: // comment from rev 1.384 -> /**/ 2009-08-19 09:54:03 +00:00
Howard Chu
7427622625 s/new/anew/ avoid C++ keyword 2009-08-19 09:25:25 +00:00
Howard Chu
924fdaaf84 Bind caching works 2009-08-19 08:14:07 +00:00
Howard Chu
99341bb367 Look for our callback to pop, don't just do it blindly 2009-08-19 08:05:18 +00:00
Howard Chu
3de89b4201 Bind caching, work in progress 2009-08-19 03:00:33 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
52cd360680 Fix prev commit, attr_find args 2009-08-18 20:35:02 +00:00
Howard Chu
f0a0e9fa32 Revert prev commit, use ldap_pvt_ funcs 2009-08-18 08:53:41 +00:00
Pierangelo Masarati
87321c3fae update cachedQueryURL only when requested 2009-08-18 08:38:42 +00:00
Howard Chu
7442e58dc2 For ITS#6152 add slapd_str2scope(), slapd_scope2bv() 2009-08-18 02:47:28 +00:00
Pierangelo Masarati
ef7569fdc0 expose cachedQueryURL in overlay's monitor entry (partial fulfilment of ITS#5178; needs new register_overlay() code in back-monitor) 2009-08-17 23:23:21 +00:00
Pierangelo Masarati
d4f88422fd allow to register overlay-specific stuff 2009-08-17 23:08:40 +00:00
Pierangelo Masarati
5c62c82e00 more about ITS#6243 2009-08-17 23:05:48 +00:00
Pierangelo Masarati
7c15998121 silence warning 2009-08-17 23:02:50 +00:00
Pierangelo Masarati
b7a9a4a65f add support for TCP buffer configuration (ITS#6234) 2009-08-17 22:53:15 +00:00
Pierangelo Masarati
613b00065a use UINT where appropriate (silence warnings) 2009-08-17 22:48:34 +00:00
Howard Chu
c670264951 For refresh_purge, only delete entry if ours is the last queryid on it.
Otherwise just remove our queryid.
2009-08-17 22:24:26 +00:00
Howard Chu
8cd909db3f Plug leaks in prev commit 2009-08-17 14:38:28 +00:00
Howard Chu
cd0681c4e1 ITS#6152 restart consistency checker when going back online
reset refcnt when refreshing a query
2009-08-17 13:24:33 +00:00
Howard Chu
deb1fb6eb6 Fix refresh_merge, using mods from wrong entry 2009-08-17 13:11:05 +00:00
Howard Chu
73c46fa598 Cleanup prev commit 2009-08-17 12:51:44 +00:00
Howard Chu
a5cfab44d7 ITS#6152 preliminary refresh support, untested 2009-08-17 12:02:48 +00:00
Howard Chu
0132ea425d ITS#6152 add syncrepl_diff_entry() 2009-08-17 11:58:47 +00:00
Howard Chu
a975c61451 More for #6220, don't timeout idle connections when writetimeout is
set and idletimeout is not.
2009-08-17 11:28:25 +00:00
Howard Chu
31084affa6 ITS#6251 framework for TTR. refresh not yet implemented. 2009-08-17 03:03:50 +00:00
Howard Chu
7ad21d7dfd Fix typo in prev commit 2009-08-17 02:22:28 +00:00
Howard Chu
88c6cfa814 Deprecate previous config keywords. Add ttr parsing (no functionality yet) 2009-08-16 23:26:34 +00:00
Howard Chu
f918243a2f ITS#6256 from Jonathan Clarke 2009-08-15 14:05:47 +00:00
Pierangelo Masarati
dc12e58d38 allow to look-ahead entry DN without decoding the whole entry 2009-08-14 15:33:09 +00:00
Pierangelo Masarati
8ecfb077bf harmonize API: source to dest right to left 2009-08-14 14:18:04 +00:00
Pierangelo Masarati
bb3e14ddba honor requested attrs (ITS#6254), including operational 2009-08-14 01:18:23 +00:00
Pierangelo Masarati
f283f7ad47 improve previous commit; make sure returned entries match filter (ITS#6255); defer sizelimit exceeded detection 2009-08-14 00:49:48 +00:00
Pierangelo Masarati
b6cf5ca896 make sure filter is applied to final entry (ITS#6255) 2009-08-14 00:14:35 +00:00
Pierangelo Masarati
bea861dda5 honor sizelimit when filter needs to be split between local and remote (ITS#6253) 2009-08-14 00:03:10 +00:00
Pierangelo Masarati
60627ddf93 eliminate code duplication 2009-08-13 21:24:32 +00:00
Pierangelo Masarati
2d1d2f3008 remove misleading comment 2009-08-13 21:00:04 +00:00
Pierangelo Masarati
9f80d80dbd expose subordinate databases; add a link to the superior DN 2009-08-13 20:58:20 +00:00
Pierangelo Masarati
efabe1d279 honor per-target tls/chase referrals/rebind as user (ITS#6190) 2009-08-13 19:30:37 +00:00
Pierangelo Masarati
9ebc168a8a log in case of failure (FIXME: should those logs be at ANY level?) 2009-08-04 23:45:42 +00:00
Pierangelo Masarati
1f33edc08e use back-config if supported 2009-08-04 23:27:52 +00:00
Howard Chu
9bd09d7b0e Fully parse undefined substring filters so they can be logged 2009-08-04 22:41:59 +00:00
Pierangelo Masarati
3e2ac1f6c0 improve previous commit 2009-08-04 14:26:40 +00:00
Pierangelo Masarati
38fa7e0621 be liberal in accepting CL (ITS#6241) 2009-08-04 14:14:17 +00:00
Howard Chu
50688c960c In slap_mods_check, always compare ordering index first 2009-08-04 02:42:20 +00:00
Pierangelo Masarati
f2e1b78391 silence warnings; misc cleanup; test refresh as non-allowed user 2009-08-03 22:49:30 +00:00
Pierangelo Masarati
20371c3eae note about OpenSSL being more liberal than OpenLDAP when there is garbage past the end of a certificateList 2009-08-03 14:07:49 +00:00
Pierangelo Masarati
e153f41e90 add entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher) 2009-08-03 13:18:05 +00:00
Pierangelo Masarati
5139241ade blind fix to ITS#6163 2009-08-03 13:08:22 +00:00
Pierangelo Masarati
a1ed732822 count query answerability; allow configuration of private database 2009-08-02 22:00:01 +00:00
Howard Chu
dd88fdbcc3 ITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
assume some external process will tell us when network is on/offline
2009-08-02 01:20:03 +00:00
Howard Chu
076c1d23cf Fix attributeCertificateValidate 2009-08-01 01:11:15 +00:00
Howard Chu
e8d95fa072 Fix certificateListValidate parsing of CRL extensions 2009-08-01 00:39:41 +00:00
Hallvard Furuseth
ef0163c198 Fix last commit: C90 rejects declaration after code 2009-07-30 15:34:42 +00:00
Howard Chu
8a0284cf04 ITS#5946 always allow mirrormode to be set to FALSE 2009-07-29 09:21:50 +00:00
Howard Chu
bf69b8e065 ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Howard Chu
850e4ae0d3 Use distribution hints in searches 2009-07-29 00:58:46 +00:00
Howard Chu
016c518652 ITS#6230 fix typos 2009-07-27 18:54:56 +00:00
Howard Chu
82e95f8091 Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.
2009-07-26 00:14:15 +00:00
Howard Chu
25a06ddd43 ITS#6228 fix typo 2009-07-25 23:37:24 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Howard Chu
46feff08ca ITS#6222 need to support unsigned long args too 2009-07-25 06:47:00 +00:00
Howard Chu
addb1320a4 More cleanup 2009-07-25 00:09:56 +00:00
Howard Chu
48ffbcce3c Minor cleanup 2009-07-25 00:06:46 +00:00
Pierangelo Masarati
e9f1452624 test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails 2009-07-24 22:00:53 +00:00
Howard Chu
e08e89d6a7 ITS#6214 use the main thread's context so cleanup can occur 2009-07-22 04:39:57 +00:00
Howard Chu
553f0f2ffd ITS#6220 don't check write timeouts when global_writetimeout isn't set 2009-07-21 02:04:46 +00:00
Pierangelo Masarati
40f785f62a check the value of the olcSubordinate attribute 2009-07-16 15:41:05 +00:00
Pierangelo Masarati
7a553ddae8 subordinate needs a suffix (ITS#6216) 2009-07-16 15:28:22 +00:00
Howard Chu
d45c01c008 External vars need to be wrapped for Windows 2009-07-14 00:52:45 +00:00
Howard Chu
5f211a7dcc Fix handling for empty results 2009-07-13 15:22:46 +00:00
Howard Chu
eab5b9570a Fix result when no VLV match 2009-07-13 15:15:27 +00:00
Howard Chu
783dc77df7 Minor cleanup 2009-07-13 15:00:19 +00:00
Howard Chu
aa316f10fe Add sssvlv config 2009-07-13 14:20:31 +00:00
Howard Chu
2ca1c1d916 Add sssvlv to build system 2009-07-13 13:35:30 +00:00
Howard Chu
789dad4d00 ITS#6203 fix startup 2009-07-13 13:24:12 +00:00
Howard Chu
c401792c20 Fix prev commit 2009-07-13 13:14:07 +00:00
Howard Chu
2e4da3f9ee More VLV stuff 2009-07-13 12:40:35 +00:00
Howard Chu
d0bbd6d510 vlv implemented, untested 2009-07-13 10:59:09 +00:00
Howard Chu
dbc0fdba58 csnOrderingMatch should have a normalizer 2009-07-13 09:39:39 +00:00
Howard Chu
f11b45063d Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Will unifdef all relevant code later...
2009-07-13 08:43:06 +00:00
Howard Chu
5fbd344280 Server Side Sorting (also with PagedResults). VLV still in progress. 2009-07-13 08:39:22 +00:00
Howard Chu
dc86747a4d Fix typo in 1.250 fake sorted results control 2009-07-13 02:42:38 +00:00
Howard Chu
cc6dc57746 ITS#6195 must normalize cookies before comparing them 2009-07-08 00:55:27 +00:00
Hallvard Furuseth
d3e7717473 ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl() 2009-07-07 22:31:35 +00:00
Howard Chu
72e319bd02 ITS#5892 return -1 from ldif_read_record on error 2009-07-07 22:30:55 +00:00
Hallvard Furuseth
5b98495d5c ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect() 2009-07-07 22:30:28 +00:00
Howard Chu
4939a382c1 ITS#5892 make sure ldif error messages are displayed 2009-07-07 21:51:27 +00:00