Commit Graph

435 Commits

Author SHA1 Message Date
Ondřej Kuzník
97a310b312 ITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci 2019-02-15 16:51:53 +00:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Thorsten Glaser
e0a7049ee5 ITS#8890 fix benign typos
No functional impact
2018-12-18 22:56:18 +00:00
Howard Chu
1e30640037 ITS#8923 fix dyngroup NO_SUCH_OBJECT error handling 2018-10-03 21:58:32 +01:00
Quanah Gibson-Mount
59e9ff6243 Happy New Year 2018-03-22 15:35:24 +00:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06: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
1d252a9236 Disable databases & overlays (experimental)
Do not use. backend/overlay code needs to be fixed accordingly.
In particular, code which currently frees configuration in _db_close()
must be changed to free only in _db_destroy().

After restructuring, it must be possible to call _db_close()/_db_open()
multiple times in succession without requiring _db_config() in between.
2013-05-28 13:09:44 -07:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Hallvard Furuseth
fac36dcba7 ITS#6932: Clean up strange asserts & nearby code.
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Hallvard Furuseth
1ecaeb3b18 noop change: Silence signed vs unsigned warnings 2011-01-12 14:44:03 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
eae5e37ebd Set sr_type=REP_SEARCH before be_operational 2011-01-04 15:12:45 +00:00
Hallvard Furuseth
98966abeef noop commit for ITS#6758: Remove no-effect code.
Unused variable resets, unused SlapReply parameters to some functions.
2010-12-30 23:43:12 +00:00
Hallvard Furuseth
720aa4b77e Plug mutex/rwlock leaks (destroy them) 2010-12-20 10:57:06 +00:00
Pierangelo Masarati
9d2e03f052 allow to specify a per-database list of attributes that need to be always collected, even if not explicitly requested by clients (addresses ITS#6513) 2010-04-15 05:26:21 +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
Pierangelo Masarati
39f0d79485 use macros for fake connid 2009-11-21 21:02:49 +00:00
Howard Chu
4105ee462d ITS#6393 syncrepl internal connids are now <= -1000 2009-11-21 20:22:18 +00:00
Pierangelo Masarati
10a61120ca tell what database initialization failed based on the suffix 2009-08-21 17:07:12 +00:00
Howard Chu
01b0ca7603 ITS#6109 fix readonly restriction 2009-05-17 22:23:33 +00:00
Howard Chu
8c464dbedb ITS#5857 always combine frontend and backend: restrict, requires, ssf 2009-01-28 01:45:40 +00:00
Howard Chu
9c34d6c8c7 Dynamically added databases did not have controls init'd 2009-01-25 04:07:58 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
753a6d0008 C89 rejects ITS#5784 non-constant array init (backend.c 1.402,-controls.c 1.201) 2008-11-16 03:10:15 +00:00
Howard Chu
6932652551 ITS#5572 cleanup unneeded code 2008-11-11 21:40:39 +00:00
Quanah Gibson-Mount
e701d9b885 ITS#5572 from Rein 2008-11-11 21:09:28 +00:00
Howard Chu
4e22081e02 ITS#5745 report errors in shutdown processing 2008-11-03 13:23:05 +00:00
Howard Chu
a8658c742e be->be_pcl_mutexp superseded by be->bd_self 2008-11-02 07:58:50 +00:00
Pierangelo Masarati
7ad03166b6 add "What Failed?" LDAP control (ITS#5784) 2008-11-01 15:15:57 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Howard Chu
c0f5fad0f8 For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13) 2008-04-23 10:23:00 +00:00
Howard Chu
e1f518ef1c ITS#5419 only Hidden DBs get special treatment 2008-04-03 10:04:56 +00:00
Howard Chu
294da7ed11 ITS#5435 ConfigReply arg must be non-NULL 2008-03-20 01:24:33 +00:00
Howard Chu
4097d261bb Use <ldap_queue.h> macros for prev commit 2008-03-14 16:49:53 +00:00
Howard Chu
bff19c4ac4 More for prev commit 2008-03-13 14:37:07 +00:00
Howard Chu
a55123477a ITS#5419 introduce OpExtra / op->o_extra to supersede op->o_private 2008-03-13 13:14:52 +00:00
Hallvard Furuseth
5b526d2544 ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) 2008-02-11 21:07:25 +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
Hallvard Furuseth
0dab27bb1e Fix comment for be_rootdn_bind() 2008-01-07 23:23:12 +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
Hallvard Furuseth
d0a379ed45 ITS#5309: Use ldap_pvt_thread_pool_setkey_x() in slap_passwd_check() and
be_rootdn_bind() - push/pop any old value instead of resetting it.
2008-01-07 20:08:22 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
a3547e2758 More for a_numvals 2007-09-23 04:40:16 +00:00