Commit Graph

127 Commits

Author SHA1 Message Date
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
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Pierangelo Masarati
9f2faed566 add support for connection_init/destroy 2005-06-19 22:41:49 +00:00
Howard Chu
f84fc983fd ITS#3774 delete backend/overlay structures after a failed add 2005-06-13 22:49:01 +00:00
Pierangelo Masarati
950c9a78a1 try to propagate cf info; required, e.g. by translucent overlay and more (please review) 2005-05-23 07:20:49 +00:00
Howard Chu
1d283c2154 More fixes for overlay support. Converted pcache to config table. 2005-05-09 10:33:43 +00:00
Howard Chu
048a36a60f Fix prev commit, trim unused cfOC vars 2005-05-09 05:02:23 +00:00
Pierangelo Masarati
f6d136a99a fix overlay access control; cleanup 2005-04-18 09:16:26 +00:00
Pierangelo Masarati
a85603c10b more on ITS#3652 2005-04-12 22:38:54 +00:00
Pierangelo Masarati
42dda802ba add comment (see ITS#3652) 2005-04-12 17:01:31 +00:00
Pierangelo Masarati
d2dd3a616c hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv 2005-04-12 01:07:30 +00:00
Pierangelo Masarati
15016154b6 add ACL hook to overlays 2005-04-12 00:24:04 +00:00
Howard Chu
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +00:00
Howard Chu
4e5407a096 Check for db_init failures 2005-03-16 21:44:05 +00:00
Howard Chu
b120d92bd6 ITS#3596 - fix overlay cleanup processing 2005-03-14 01:23:38 +00:00
Pierangelo Masarati
7cd731ec56 "ultimate" fix of glued databases controls checking; other minor fixes 2005-01-30 22:02:37 +00:00
Pierangelo Masarati
4f9b916b61 now works 2005-01-29 22:04:34 +00:00
Pierangelo Masarati
d0b804c439 use direct access instead of string comparison to check supported controls 2005-01-29 17:58:48 +00:00
Pierangelo Masarati
e2fe9e394a fix controls run-time registered by global overlays (kludge non longer required?) 2005-01-26 08:04:19 +00:00
Pierangelo Masarati
5b193c218f fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now 2005-01-25 19:39:56 +00:00
Howard Chu
56e45fc1ae Fix ITS#3490, set proper overlay context 2005-01-16 18:23:13 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
b498a9222a better fix to ITS#3433 2004-12-11 15:41:50 +00:00
Pierangelo Masarati
0fe40e4ebd temporarily work around ITS#3433; need to understand why it happens and how to fix it correctly 2004-12-11 14:06:21 +00:00
Howard Chu
8ac15e9069 Delete backglue.c in favor of glue overlay 2004-12-04 19:41:58 +00:00
Howard Chu
916e931065 Always exclude subordinates from top-level ops so glue overlay can
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
7129b27810 Fix db_close 2004-11-29 14:17:16 +00:00
Howard Chu
30333b989c Let the overlay run before the backend in bi_db_close 2004-11-27 14:43:07 +00:00
Howard Chu
d3ced75fe7 Add SLAP_DBFLAG_OVERLAY 2004-11-27 11:45:54 +00:00
Pierangelo Masarati
ee4c10d5d0 allow backends to automatically install overlays; issue warnings in case of duplicates (fixes ITS#3395 for cases (1.a), (1.b) and (2) simultaneously) 2004-11-15 10:28:33 +00:00
Pierangelo Masarati
db4f223c66 improve overlay helpers 2004-11-13 17:20:24 +00:00
Pierangelo Masarati
b94d5e17e2 rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
Howard Chu
356d862974 unifdef old code 2004-07-02 12:06:03 +00:00
Howard Chu
b8273cba9b Fix pointer conflict with backglue 2004-07-02 11:59:05 +00:00
Pierangelo Masarati
7b4b144e7e revert unnecessary change 2004-04-06 13:30:52 +00:00
Pierangelo Masarati
88c6f2ed38 initialize overlays 2004-04-06 13:19:12 +00:00
Pierangelo Masarati
2808fb2cb7 fix addition of chk_referrals to overlay stack 2004-04-06 09:33:14 +00:00
Pierangelo Masarati
873be21a22 add referral check to functions elaborated by overlays 2004-04-05 17:28:13 +00:00
Howard Chu
e9188de738 Replaced slap_overinfo.oi_bd with oi_orig. 2004-03-20 12:56:31 +00:00
Howard Chu
829bc9969d Fix passing of state info to over_back_response 2004-03-17 17:59:47 +00:00
Pierangelo Masarati
9f5f75c7b0 init 'oi' also when the backend already has overlays... 2004-03-16 21:55:45 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
171e934bf0 Execute overlays in reverse of config order. 2003-12-23 14:18:47 +00:00
Howard Chu
be1a728c5b Added sc_next and sc_cleanup to slap_callback 2003-12-07 08:51:23 +00:00
Howard Chu
0690f79a5a Cleanup unknown config directive handling. 2003-12-07 07:07:00 +00:00
Kurt Zeilenga
4e15a84452 Updated notices 2003-11-27 01:17:14 +00:00
Howard Chu
5cd2c68a2b ITS#2751 additional fix 2003-10-11 02:52:48 +00:00
Howard Chu
1e89a1daee ITS#2751 reset op->o_callback before returning 2003-10-11 02:41:37 +00:00
Howard Chu
0bb0551381 Initialization fixes 2003-09-29 05:04:43 +00:00
Howard Chu
2ff82a82c5 Tweaks to callback processing; callbacks can return SLAP_CB_CONTINUE to
fall into the regular send_ldap_* functionality instead of calling into
those functions explicitly. Nested callbacks still aren't handled as
cleanly as they might be.
2003-08-19 03:22:07 +00:00
Pierangelo Masarati
d0a7d4a9fd clear list pointer in instatiated copy 2003-08-09 17:48:02 +00:00
Howard Chu
4c5de987cd Fix config, chaining 2003-06-11 06:32:24 +00:00
Howard Chu
09d05a57c2 More overlay tweaks. Added LDAP chaining overlay. 2003-06-11 04:36:35 +00:00
Howard Chu
2a29233c72 Fix response callbacks 2003-06-11 02:45:50 +00:00
Howard Chu
62da6969dc Preliminary backend overlay support, based on backglue, not tested... 2003-06-11 02:27:51 +00:00