Commit Graph

286 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
f5b809b2e9 Fix ce9bbd2 missing success return 2011-06-03 21:56:01 -07:00
Howard Chu
ce9bbd2df2 More for ITS#6961 - deadlock checking 2011-06-01 11:29:39 -07:00
Howard Chu
f5cb879aed Fix for sparse ranges, get next ID from DB
Instead of iterating thru potentially many nonexistent IDs
2011-06-01 01:44:51 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
abf7f2efce ITS#6758 back-bdb: Delay setting sr->sr_entry until we know it will be used 2010-12-31 00:04:38 +00:00
Hallvard Furuseth
d2b024be4a ITS#6758 Reset some SlapReply flags & data.
Reset data more consistenlty.  When resetting sr_entry after sending
data, reset sr_flag as well.  Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
2010-12-30 23:55:07 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
81469d0ff1 more on ITS#6507 2010-04-08 19:51:18 +00:00
Pierangelo Masarati
b928fa97d8 silence warning 2009-08-19 13:02:54 +00:00
Howard Chu
29be892cc1 Revert 1.274 2009-05-11 22:26:12 +00:00
Howard Chu
7ab16ae6c2 ITS#6103 send response on abandon 2009-05-11 04:30:36 +00:00
Howard Chu
64dc274655 ITS#6095 experimental fix: avoid purging other cases of in-use EntryInfos,
avoid using purged EntryInfos that have not yet been fully unlinked.
2009-05-06 08:33:26 +00:00
Howard Chu
cfb12f536b ITS#6056 pagedresults stacked control is not overlay-friendly, add
slap_add_ctrls() function
2009-04-15 10:34:24 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
bbe6e77876 fix indentation 2008-10-17 00:03:53 +00:00
Howard Chu
faadcf3908 ITS#5730, patch for #5728 broke referrals 2008-10-08 21:33:45 +00:00
Howard Chu
599d83c7cd ITS#5728 release entries before send_ldap_ber() 2008-10-07 00:29:54 +00:00
Howard Chu
aa2fecc1fc More deadlock propagation fixes 2008-10-01 21:28:03 +00:00
Howard Chu
9f808bd4b6 Propagate deadlock results for internal searches on write ops 2008-09-25 13:39:53 +00:00
Howard Chu
ece2a4daa6 Use read-only txn's instead of read lockers. Support BDB 4.4-4.7 2008-08-27 01:45:35 +00:00
Howard Chu
aeedb72e91 Fix prev commit 2008-05-01 13:25:15 +00:00
Howard Chu
c91704d811 Use o_extra instead of o_private 2008-05-01 12:49:35 +00:00
Howard Chu
f0bb1739a7 ITS#5409 must reset pagedresults state if no cookie is provided 2008-04-09 03:08:38 +00:00
Hallvard Furuseth
cd63a0c43b Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key() 2008-01-11 06:07:43 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Howard Chu
e6568f61b5 ITS#5232 report and fail on internal errors 2007-11-18 21:49:04 +00:00
Howard Chu
74f54320cd Fix pagedresults resume 2007-11-12 11:45:12 +00:00
Howard Chu
b4bcc325ee Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
2007-11-12 11:16:30 +00:00
Howard Chu
8bc46e741a ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
2007-11-01 15:11:22 +00:00
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Pierangelo Masarati
7c66952714 check for shutdown (need to add to other backends?) 2007-08-26 15:38:51 +00:00
Howard Chu
4c7d288eb7 More for BDB 4.6 compatibility 2007-08-17 20:33:46 +00:00
Howard Chu
2d3c48ccd5 ITS#4838 fix fake root handling broken by prev commit 2007-02-09 17:23:00 +00:00
Howard Chu
0c25783cee use dn2id index for extended filters using entryDN 2007-02-08 06:43:28 +00:00
Howard Chu
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
b8309b4cf8 Cleanup db_lock/unlock parameters 2006-12-31 23:37:06 +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
Howard Chu
a4a85e03c1 ITS#3950 delete gratuitous yield()s 2006-01-15 13:33:29 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
1c523e3548 anticipate sr_err/sr_ref cross-check, so that the right error gets logged 2005-12-16 11:33:11 +00:00
Kurt Zeilenga
0d56ddda04 unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES 2005-11-27 01:03:03 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Howard Chu
dd21d3a29f ITS#4030 fix alias deref for Finding, fix alias error code propagation. 2005-09-22 21:12:04 +00:00
Pierangelo Masarati
40c0d3bfa3 harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open 2005-08-23 17:38:50 +00:00
Luke Howard
f68a2b1663 Make sure we release entry lock before sending paged response 2005-08-15 11:27:42 +00:00
Pierangelo Masarati
e93c8f18d4 minor cleanup 2005-08-11 23:53:52 +00:00