Commit Graph

836 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
756a6b8683 ITS#8261 change sl_mem_detach to sl_mem_setctx 2015-10-01 23:55:10 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
09137b6646 Consolidate LDAP_TXN precheck
This commit was accidentally omitted from previous push
2014-09-16 00:09:10 +01:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Hallvard Furuseth
7bb8b706c5 ITS#6758 Add SLAP_OP() &co, contrib:wrap_slap_ops.
Add framework for debug macros SLAP_OP(), slap_be_op(),
slap_bi_op() around LDAP-operation backend calls.

contrib/slapd-tools/wrap_slap_ops converts code to use them.

Code compiles as before by default.  #define USE_RS_ASSERT
enables debugging, $NO_RS_ASSERT tweaks it. See slapd/result.c.
2013-12-11 14:40:45 +01:00
Howard Chu
ed09222963 Fix slap_reparse_sync_cookie prototype 2013-11-02 14:20:15 -07:00
Howard Chu
0645878d5d ITS#7735 plug memleak
Introduced in commit 48cdd54d9a
2013-11-01 11:07:51 -07:00
Quanah Gibson-Mount
1a712bf18e Enable features that were hidden behind LDAP_DEVEL 2013-09-19 09:50:52 -07:00
Howard Chu
88d22a1ca3 Simplify write waiter handling
Writer threads do their own wait using select/poll instead of
asking the listener thread. Eliminates one mutex+one condvar
per conn plus multiple wakeups of the listener thread. Also
fixes writetimeout to wait an exact time, instead of the
approximation used in the listener thread.
2013-09-07 14:53:02 -07:00
Howard Chu
34f832faee Multiple queues per threadpool 2013-08-16 19:04:49 -07:00
Howard Chu
8e28696f31 ITS#7654 fix implicit declaration warnings 2013-08-02 04:03:05 -07:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
bbfe587246 Add support for 64 bit index hashing 2012-12-03 18:14:28 -08:00
Howard Chu
a766cdf268 Revert "ITS#7292 plug memleak in control values"
This reverts commit 9e3af2356b.
2012-06-08 04:11:29 -07:00
Howard Chu
9e3af2356b ITS#7292 plug memleak in control values 2012-06-07 13:18:31 -07:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
f8dc749c2d Add AttributeDescription counter 2011-09-05 19:51:54 -07:00
Howard Chu
6da3e3473c ITS#6716 use sorted CSNs, fix sessionlog
track a CSN per SID in the log->sl_mincsn
2011-06-22 00:30:13 -07:00
Howard Chu
249422aa28 ITS#6716 Keep CSN lists sorted by SID 2011-06-21 22:35:14 -07:00
Howard Chu
9e00b6cc6c Add strictrefresh syncrepl option
Only affects delta-syncrepl - stop listening to clients while
refresh is running.
2011-04-15 11:13:38 -07:00
Howard Chu
028c176c85 ITS#6815 delimited verbstring parsing 2011-02-23 03:44:54 +00:00
Hallvard Furuseth
824ea93d84 Fix ITS#6814: Restore filter2bv_x() prototype.
It was removed in proto-slap.h 1.814, but the function is still in use.
2011-02-04 21:12:48 +00:00
Ralf Haferkamp
41352ea34d Fixed the overlay delete code to allow removing
cn=config overlays again.
2011-02-04 16:10:11 +00:00
Pierangelo Masarati
e4fcc294fa ignore attrs in search request that do not conform to RFC 4511 4.5.1.8. or standard track extensions (ITS#6819) 2011-02-01 23:13:58 +00:00
Pierangelo Masarati
b996c17eb2 handle undefined filters in back-ldap (more about ITS#6814) 2011-01-29 12:29:20 +00:00
Hallvard Furuseth
42cb7f06f1 cleanup: Rename rs_ensure_entry_modifiable().
The name rs_entry2modifiable() is more reasonably sized.
For now, leave behind a macro rs_ensure_entry_modifiable in proto-slap.h.
2011-01-28 16:33:55 +00:00
Hallvard Furuseth
fb6aa52870 Support $NO_RS_ASSERT. Add comments.
Use a private rs_assert_() helper function instead of libc assert.
2011-01-21 11:41:45 +00:00
Hallvard Furuseth
2396759291 ITS#6758 Support rs_reinit(rs, rs->sr_type).
rs_reinit() looks like a function call, so it should act like one.
2011-01-21 11:23:00 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
1a56a1934a quick fix for vc: allow custom controls tag 2011-01-04 00:09:10 +00:00
Hallvard Furuseth
cb15a4c687 ITS#6758 rs_reinit() += slap_reply_t parameter 2010-12-31 09:45:16 +00:00
Hallvard Furuseth
5c3f806fca ITS#6758 Add rs_reinit(), rs_flush_entry() 2010-12-30 23:32:07 +00:00
Hallvard Furuseth
ea2b675dca ITS#6758 Add rs_assert*, RS_ASSERT, USE_RS_ASSERT 2010-12-30 23:29:46 +00:00
Howard Chu
149313fd25 ITS#6573 export compare_entry as slap_compare_entry() 2010-12-23 21:36:57 +00:00
Pierangelo Masarati
dc156d7f6e allow to set LDIF max line width (ITS#6645) 2010-12-07 10:14:51 +00:00
Howard Chu
8cddd34852 Add support for multiple listener threads. Lightly tested on Linux,
Winsock needs a couple more tweaks
2010-08-06 03:24:24 +00:00
Ralf Haferkamp
7f70a7aad6 New call to unregister controls registered form overlays 2010-07-01 11:28:47 +00:00
Ralf Haferkamp
b435efa694 new call unregister_supported_control(), will be
needed for cn=config delete support
2010-06-30 12:38:01 +00:00
Pierangelo Masarati
14fcbf4cfc implement unload_extop for symmetry (needs test) 2010-06-30 00:22:01 +00:00
Pierangelo Masarati
467a1da79f add support for don't use copy in SASL auxprops lookup/store (ITS#6475; TODO: document new directives) 2010-04-15 18:13:53 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
0cf528630f implement support for selective iteration in slaptools (ITS#6442) 2010-01-18 15:00:40 +00:00
Hallvard Furuseth
1a7b18bcca ITS#5340: REP_ENTRY_MUSTFLUSH, rs_replace_entry(), rs_ensure_entry_modifiable() 2009-12-10 00:07:34 +00:00
Howard Chu
a48e329fc8 ITS#6373 revert 2009/03/10 commit, resurrect sync subentry code 2009-11-11 03:01:48 +00:00
Pierangelo Masarati
4b4db7b529 keep compatibility with slapd's gmtime_mutex (ITS#6262) 2009-09-08 23:21:21 +00:00
Howard Chu
7427622625 s/new/anew/ avoid C++ keyword 2009-08-19 09:25:25 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
f0a0e9fa32 Revert prev commit, use ldap_pvt_ funcs 2009-08-18 08:53:41 +00:00
Howard Chu
7442e58dc2 For ITS#6152 add slapd_str2scope(), slapd_scope2bv() 2009-08-18 02:47:28 +00:00