Commit Graph

422 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
Pierangelo Masarati
2f861c56a6 cleanup variables scope; re-sort conditions 2006-11-05 09:24:01 +00:00
Kurt Zeilenga
672f8ef3f3 RFC 4511 calls for unavailableCriticalExtension to returned when
a server is unwilling to make use of a known critical control.
2006-10-28 03:52:53 +00:00
Pierangelo Masarati
4add034d5d destroy exactly what needs to 2006-09-14 23:53:23 +00:00
Pierangelo Masarati
fdddeb1d8f minor cleanup 2006-09-09 16:20:11 +00:00
Pierangelo Masarati
7cffbbad26 append global access rules also when be != NULL in backend_startup() (ITS#4654) 2006-08-28 13:31:16 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Howard Chu
d2b27b156e Add "hidden" database config, allow hidden DBs with redundant suffixes 2006-05-29 06:03:43 +00:00
Howard Chu
c636f654a4 Make be_shadow_update more specific for syncrepl ops, since mirrormode
lets normal users write to a syncrepl database
2006-04-20 22:20:25 +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
00073c8cac fix operational attrs return with chain overlay (ITS#4431); misc cleanup 2006-03-24 22:49:51 +00:00
Kurt Zeilenga
815c178edc control/TXN cleanup 2006-03-07 22:05:57 +00:00
Pierangelo Masarati
f9a104bf4d allow backend_attribute to check access to "entry" and "children" pseudo-attributes 2006-01-06 16:24:07 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
9e3a22bf4a always provide a NULL o_private to be_entry_get (ITS#4184) 2005-12-16 18:35:25 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Kurt Zeilenga
c106f49029 Primitive handling of dontUseCopy (always error). 2005-11-26 07:09:59 +00:00
Howard Chu
c5b44f3660 ITS#4128 use backend_db_init to init the private backend 2005-11-03 20:31:11 +00:00
Howard Chu
da1a1f9133 ITS#4027 select_backend should ignore manageDSAit when glue is in use. 2005-10-03 03:12:32 +00:00
Howard Chu
d89cfddcde ITS#4003 frontend->be_replogfile can legitimately be set. 2005-09-05 02:42:24 +00:00
Pierangelo Masarati
596f21340e cleanup 2005-09-04 20:00:40 +00:00
Luke Howard
2ff5c27f63 Check for NULL in be_match()
Use be_match() in backend.c operational processing
2005-08-18 04:34:04 +00:00
Pierangelo Masarati
ef7421b87d more on manage access level 2005-08-18 02:25:10 +00:00
Pierangelo Masarati
0db4013fb0 temporarily fix SLAPD_OVERLAY_ACCESS conflict 2005-08-10 18:53:21 +00:00
Pierangelo Masarati
f8407435cc cleanup 2005-08-10 10:25:24 +00:00
Pierangelo Masarati
a6d4a82782 more about freeing replica resources 2005-08-07 15:20:14 +00:00
Pierangelo Masarati
e549e4463a free replica info as appropriate 2005-08-07 15:01:13 +00:00
Pierangelo Masarati
f423e65d58 fix operational attributes collection (ITS#3882) 2005-07-25 21:57:20 +00:00
Pierangelo Masarati
0de20c028f destroy limits at exit 2005-07-25 20:50:03 +00:00
Luke Howard
cdefacccc6 Fix ITS#3882 2005-07-25 13:19:38 +00:00
Pierangelo Masarati
9cb512bc03 exit the loop at some point (ITS#3878) 2005-07-22 16:37:20 +00:00
Luke Howard
6da978d5a0 Support for global ACL overlays, corresponding SLAPI support 2005-07-22 05:01:09 +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
27adb43cbf Move backend_operational() implementation into frontend so global
overlays can be called
2005-07-22 03:40:06 +00:00
Howard Chu
ddf6c7b298 Plug more memleaks 2005-07-21 23:26:40 +00:00
Luke Howard
ffe20229dc Move most of SLAPI frontend into overlay 2005-07-21 16:35:20 +00:00
Luke Howard
0bf8a366a5 SLAPI cleanups 2005-07-21 08:39:37 +00:00
Luke Howard
0acd5d97bd Check op->o_bd != NULL 2005-07-19 08:40:26 +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
Howard Chu
5d2ba11ad9 ITS#3847 silence warnings 2005-07-11 12:11:15 +00:00
Pierangelo Masarati
f7541b5e8d cleanup 2005-06-19 22:43:45 +00:00
Howard Chu
f84fc983fd ITS#3774 delete backend/overlay structures after a failed add 2005-06-13 22:49:01 +00:00
Kurt Zeilenga
31727f0f4d Additional manageDIT changes.
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Kurt Zeilenga
cfb3f81582 Control cleanup 2005-05-13 02:34:16 +00:00
Howard Chu
55585110bf ITS#3608 - ignore unavailable non-critical controls 2005-05-13 01:35:20 +00:00
Howard Chu
6a2d53f396 In backend_group, return LDAP_COMPARE_FALSE if attr exists but value is
not matched, instead of LDAP_NO_SUCH_ATTRIBUTE
2005-05-04 06:28:27 +00:00
Howard Chu
b5ef8ea6f4 More modify support. ACL editing works. 2005-04-19 16:39:48 +00:00
Pierangelo Masarati
f6d136a99a fix overlay access control; cleanup 2005-04-18 09:16:26 +00:00
Pierangelo Masarati
a6f8cd07f6 partially revert previous commit (ITS#3652) 2005-04-13 01:03:46 +00:00
Pierangelo Masarati
a85603c10b more on ITS#3652 2005-04-12 22:38:54 +00:00
Pierangelo Masarati
15016154b6 add ACL hook to overlays 2005-04-12 00:24:04 +00:00
Pierangelo Masarati
f43f7b1bfb cleanup listener permissions 2005-04-04 10:42:50 +00:00
Howard Chu
5a66d7de66 Fix prev commit 2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00
Howard Chu
b06eea3d99 Delete unused syncrepl_pool 2005-02-11 10:20:16 +00:00
Pierangelo Masarati
d503b5a5b7 make frontend-generated attrs available to backend's hook 2005-01-31 00:14:00 +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
ff89b2c14c looks a little better (but test033 doesn't work any more; disabling) 2005-01-29 19:04:06 +00:00
Pierangelo Masarati
cd797f8089 avoid cycling twice in the control list 2005-01-29 18:16:38 +00:00
Pierangelo Masarati
d0b804c439 use direct access instead of string comparison to check supported controls 2005-01-29 17:58:48 +00:00
Kurt Zeilenga
1ff692274a Removed control old kludge code 2005-01-27 23:06:57 +00:00
Pierangelo Masarati
4d5068630c cleanup 2005-01-27 08:55:13 +00:00
Kurt Zeilenga
e826914a88 Less kludgy willing-to-perform check for recognized and appropriate
global controls
2005-01-27 06:45:20 +00:00
Pierangelo Masarati
362766b316 move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper 2005-01-26 23:19:48 +00:00
Kurt Zeilenga
ab455a5ec7 Place control availability kludge behind
#ifdef SLAP_CONTROL_AVAILABILITY_KLUDGE
for now.  Me think its still needed (at least for FRONTEND controls).
2005-01-26 19:46:12 +00:00
Pierangelo Masarati
5ec9684894 controls can be added in two passes (e.g. by backends that actually inherit their controls from someone else) 2005-01-26 10:28:37 +00:00
Pierangelo Masarati
9e6d64a0ad move supported controls listing at backend startup; allow supported controls to be set/mucked in between 2005-01-26 09:53:29 +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
Kurt Zeilenga
0bd2dafd53 More proper criticality handling. Implementation is a kludge. 2005-01-25 18:30:55 +00:00
Kurt Zeilenga
d68041ce50 Revert part of last (two) commits. Need additional infrastructure first. 2005-01-25 18:09:59 +00:00
Kurt Zeilenga
82d5ca4d4e Remove redundant note. 2005-01-25 17:40:39 +00:00
Kurt Zeilenga
dd75979100 Prelim unavailableCriticalExtension v. unwillingToPerform fix (ITS#3308) 2005-01-25 16:52:16 +00:00
Pierangelo Masarati
066829a870 fix previous commit 2005-01-22 12:27:45 +00:00
Pierangelo Masarati
f0943f79ec fix previous commit 2005-01-21 15:05:15 +00:00
Pierangelo Masarati
4f23e2e470 cleanup 2005-01-19 23:52:51 +00:00
Pierangelo Masarati
7d306eaadb try to collect operational attributes as well 2005-01-19 22:58:56 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +00:00
Howard Chu
bf27ba977b Deleted syncrepl updatedn 2005-01-13 18:51:29 +00:00
Kurt Zeilenga
7dc0b02fc9 Replace backend.h with backends.c, generated by config.status. 2005-01-09 08:42:44 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
b3dfae907f Remove obsolete comment 2004-12-17 10:24:54 +00:00
Howard Chu
fc9b1b7aca Delete unused be_context_csn, cleanup pending csn entry 2004-12-06 23:17:58 +00:00
Howard Chu
30a6f4d24d Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
5c8fd8bf11 Rename syncrepl_rq to slapd_rq, move to daemon.c 2004-12-03 16:49:23 +00:00
Howard Chu
f83b55b2a2 Avoid segfault if backend_destroy is called before frontendDB is created 2004-12-02 08:59:02 +00:00
Howard Chu
d3ced75fe7 Add SLAP_DBFLAG_OVERLAY 2004-11-27 11:45:54 +00:00
Howard Chu
584d5355b8 Fix overlay aux_operational, add contextCSN as operational attribute
of suffix entry
2004-11-27 08:30:44 +00:00
Pierangelo Masarati
91f2a8bc46 remove backed-out code from previous commit 2004-11-11 09:43:15 +00:00
Pierangelo Masarati
79f744f30b rework static backend initialization 2004-11-11 00:39:19 +00:00
Pierangelo Masarati
0e83717e80 fix return code; fix test (please review) 2004-11-11 00:32:47 +00:00
Howard Chu
0c9c90a3e9 ITS#3365 - fix leaking bdb locks when evaluating dynamic groups 2004-10-27 14:52:18 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Pierangelo Masarati
c2c27c6839 fix csne destroy 2004-09-27 08:11:04 +00:00
Jong Hyuk Choi
292c568f36 a fix to prev commit 2004-09-25 03:21:30 +00:00
Jong Hyuk Choi
e4d199d7bb A follow-on commit to the previous @oc support change to use anlist 2004-09-23 19:23:17 +00:00