Commit Graph

105 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
eae46d35d2 ITS#7030 fix overlay_insert() with specific index 2011-08-25 20:51:30 -07: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
Ralf Haferkamp
41352ea34d Fixed the overlay delete code to allow removing
cn=config overlays again.
2011-02-04 16:10:11 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Ralf Haferkamp
beb536298d use be_ctrls[cid] for counting the number of overlay instances that have
registered the control for a specific BackendDB to make sure that
the control is unregistered only after the last instance calls
overlay_unregister_control().
2010-07-02 11:31:34 +00:00
Ralf Haferkamp
7f70a7aad6 New call to unregister controls registered form overlays 2010-07-01 11:28:47 +00:00
Ralf Haferkamp
21bac1cbed Disallow removing global and cn=config overlays for now.
Those require some special handling.
2010-06-29 16:23:31 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +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
ca07957697 Revert 1.91, breaks #5346. (ITS#5724) 2009-02-20 00:56:50 +00:00
Pierangelo Masarati
a83d10e4ac more about ITS#5940 2009-02-13 00:02:11 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
c2a317415c Fix r1.86 (LDAP_DEVEL:SLAP_CONFIG_DELETE): No declarations after code. 2008-10-13 05:31:52 +00:00
Pierangelo Masarati
bc09f6e8ad open database using the real structure (partial fix to ITS#5724) 2008-10-05 21:11:13 +00:00
Pierangelo Masarati
dc414747a7 silence warnings 2008-09-16 14:44:24 +00:00
Pierangelo Masarati
1447d7fe17 don't risk using uninitialized vars 2008-09-08 00:05:15 +00:00
Howard Chu
f73ce85027 ITS#5649 fix overlay_register_control 2008-08-09 10:11:41 +00:00
Pierangelo Masarati
e6446d3113 make sure rwm_op_cleanup() is called also in case of bind (in partial fulfillment of ITS#5601) 2008-07-12 11:53:49 +00:00
Ralf Haferkamp
3a0037cc53 Experimental code for delete support in back-config. Only overlays
supported currently.
2008-06-12 11:46:57 +00:00
Ralf Haferkamp
9d72509d05 pass ConfigReply into overlay_config() to allow progating error messages
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
75eecdc539 ITS#5346 overlay_db_open needs to preserve the original *be. 2008-04-23 10:31:22 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
096ce6f741 pass ConfigReply to overlays; don't complain unless once-only overlays are instantiated multiple times 2007-12-27 17:36:39 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Howard Chu
df3da23811 ITS#4848 better config context tracking 2007-02-24 17:24:48 +00:00
Howard Chu
9381fc42a5 Add overlay hooks for entry_get_rw / entry_release_rw 2007-02-06 04:18:14 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
6020a6d81d ITS#4337 implement modrdn for back-config 2006-12-24 00:56:37 +00:00
Howard Chu
1f35a953a1 Remainder of fix for ITS#4615 - stop processing overlay stack at glue
boundary
2006-12-13 03:03:47 +00:00
Pierangelo Masarati
2947c098ce oi_list might be null if overlay initialization failed for any reason 2006-08-18 10:12:21 +00:00
Howard Chu
4ccf65d9bc ITS#4614 - complain if glue/subordinate are attempted on the same backend
cleanup overlay list if overlay db_init fails.
2006-07-15 00:18:44 +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
Pierangelo Masarati
a029490fe8 let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case 2006-01-14 18:02:35 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Pierangelo Masarati
fed3c18e88 allow dynlist to take over dyngroup 2005-11-29 10:02:05 +00:00
Pierangelo Masarati
22f05c6785 add support for backend/overlay obsolete names... 2005-11-28 14:13:54 +00:00
Howard Chu
b831ebba7d ITS#4218 streamline frontend/overlay access_allowed. Probably need to
do the same for acl_group and acl_attribute.
2005-11-26 07:53:07 +00:00
Pierangelo Masarati
51ebb4ee99 prepare log line 2005-11-23 01:13:39 +00:00
Pierangelo Masarati
3bea8f5836 remove pointless test & var 2005-11-20 09:23:43 +00:00
Howard Chu
62f7c85be4 Add slap_overinfo oi_origdb field to point to original BackendDB 2005-10-02 01:23:09 +00:00
Howard Chu
98a13edc39 ITS#4047 fix nested overlay configuration 2005-09-28 08:30:14 +00:00
Hallvard Furuseth
100634c920 Remove unused variables. 2005-07-22 13:18:28 +00:00
Luke Howard
6ae5ce5b66 Cleaner version of previous patch (keep operational attr code in backend.c) 2005-07-22 03:44:04 +00:00
Luke Howard
ed80d1011f add over_acl_group/over_acl_attribute 2005-07-22 03:05:41 +00:00
Pierangelo Masarati
3df0f16292 cleanup 2005-07-21 14:27:31 +00:00
Pierangelo Masarati
ca8a734b92 make sure we notice if this gets out of sync with slap_operation_e 2005-07-21 14:13:57 +00:00
Luke Howard
772b95e588 Add overlay_op_walk() 2005-07-21 13:35:32 +00:00