Commit Graph

6693 Commits

Author SHA1 Message Date
Kurt Zeilenga
c29c0c9bd8 Fix compile warning 2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef Silently ignore if back-ldif is not present 2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c More for loading config from database. Fix non-reentrant strtok_quote. 2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1 In aci_set_gather propagate op->o_private to subordinate search 2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c "disclose" implementation good enough for beta 2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a Read config tree from back-ldif 2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23 Fix enum_tree, return in lexical order 2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206 ITS#3542 - ignore timevals from deferred tasks 2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213 Revert prev commit, wrong fix 2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2 ITS#3542 if slapd processes too slowly, time diff can go negative 2005-03-17 04:44:21 +00:00
Howard Chu
f955f17076 ITS#3576 use actual backend (not glue instance) for restriction and
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
4e5407a096 Check for db_init failures 2005-03-16 21:44:05 +00:00
Howard Chu
cd23b2ddf4 Fix unterminated debug msgs 2005-03-16 21:29:32 +00:00
Howard Chu
5ffc2ce9f1 Fix ITS#3601 2005-03-16 21:03:51 +00:00
Howard Chu
585b4a02ef Fix prev commit, overlay config was broken 2005-03-16 20:31:49 +00:00
Howard Chu
49bf49de06 More cleanup. Still needs work. 2005-03-16 07:45:17 +00:00
Kurt Zeilenga
6ea6a72d5d remove non-ISO-C-isms
This code needs to be cleaned up!
2005-03-16 02:33:27 +00:00
Pierangelo Masarati
c90998e60d cure ITS#3602 2005-03-15 23:01:06 +00:00
Howard Chu
bc4564cac4 More back-config / back-ldif integration, added config_generic_wrapper,
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
f682ee0918 entry_schema_check - NULL out *text when returning Success 2005-03-15 08:29:42 +00:00
Kurt Zeilenga
f06ca8eb1f cleanup 2005-03-15 03:11:24 +00:00
Kurt Zeilenga
3b3c521083 slapi glue fix 2005-03-15 02:47:27 +00:00
Kurt Zeilenga
c19b745b64 cleanup 2005-03-14 23:21:35 +00:00
Howard Chu
a49215d4bf Move cn=config from namingContexts to configContext 2005-03-14 23:21:00 +00:00
Howard Chu
902494b432 Cleanup prev commit 2005-03-14 19:46:14 +00:00
Howard Chu
38cf26c95a Fix typo 2005-03-14 19:23:42 +00:00
Howard Chu
b120d92bd6 ITS#3596 - fix overlay cleanup processing 2005-03-14 01:23:38 +00:00
Howard Chu
b508cca217 ITS#3596 partial fix - fix sc_cleanup processing 2005-03-14 00:39:49 +00:00
Howard Chu
86ef29b5e7 ITS#3596 partial fix - allow abandoning a locked operation 2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f Ignore matches from the entry being modified 2005-03-13 23:18:49 +00:00
Howard Chu
699fa73c2b Added back-ldif 2005-03-10 06:19:18 +00:00
Howard Chu
8da7cce20d Added translucent overlay (sponsored by HP) 2005-03-10 03:13:24 +00:00
Howard Chu
36358007d4 Added dummy config_back_modify, using ldap_pvt_thread_pool_pause/resume 2005-03-07 21:03:04 +00:00
Howard Chu
90f356a9f9 Moved ACLs to their own entry 2005-03-07 18:14:13 +00:00
Kurt Zeilenga
b914aee946 Replace OpenLDAPtime with testTime (in test.schema).
Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:33:26 +00:00
Howard Chu
f7e158333e ITS#2919 move OpenLDAPtime to OpenLDAPperson 2005-03-04 11:35:37 +00:00
Howard Chu
b9b087384c Added config compatibility wrapper for overlays etc... 2005-03-04 10:32:51 +00:00
Howard Chu
50c3487e03 Fix backend config table fallthru 2005-03-04 10:01:31 +00:00
Howard Chu
0b9ffad770 Don't restrict cache sizes to non-zero 2005-03-04 09:45:08 +00:00
Howard Chu
8573640ff9 Fix schema init sequence 2005-03-04 09:26:50 +00:00
Howard Chu
5616daf9f8 ITS#2919 add a user modifiable generalizedTime attribute
(please assign an OID for this attribute)
2005-03-04 09:16:37 +00:00
Howard Chu
4e2dccf147 Fix prev commit, make sure to only send result once 2005-03-04 06:25:10 +00:00
Howard Chu
379a620217 Fix ITS#3537 (need to repeat this fix for the other operations too.) 2005-03-04 06:20:37 +00:00
Howard Chu
c160e0d349 ITS#3579 disable ldap_syslog earlier. 2005-03-04 04:32:43 +00:00
Howard Chu
a025ead532 ITS#3533 use LDAP_DEBUG_TRACE for version info 2005-03-04 00:10:01 +00:00
Howard Chu
74e38c0ad4 More verbmasks cleanup, added index unparsing 2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e Cleanup verb/mask processing 2005-03-02 14:49:54 +00:00
Howard Chu
1bc59be16d Fix initial config file info 2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902 Reorganized config/bconfig. Migrated back-bdb config. 2005-03-02 04:46:50 +00:00
Howard Chu
a2a9ae725f Drop "access " from acl_unparse 2005-03-01 23:17:54 +00:00
Howard Chu
b6a42fd1a2 Fix prev commit 2005-03-01 23:13:21 +00:00
Howard Chu
58865ccb38 Added general limits retrieval 2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36 Added limits_unparse_one 2005-03-01 21:25:32 +00:00
Howard Chu
5a2333573c Fix prev commit 2005-03-01 21:16:44 +00:00
Howard Chu
5acd0c574b Added authz-regexp, slapi plugin retrieval 2005-03-01 20:08:36 +00:00
Howard Chu
e509e81ecd Fix slapi plugin info 2005-03-01 20:05:20 +00:00
Pierangelo Masarati
70963520d4 fix ITS#3406 wrt/ dnattr; silence warning 2005-03-01 18:40:23 +00:00
Howard Chu
21aa0d0f9f Added oidm retrieval 2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +00:00
Howard Chu
05a4b7e234 Added moduleload/modulepath retrieval 2005-02-28 22:19:55 +00:00
Pierangelo Masarati
bb82f8ffd0 fix ITS#3570 (please review) 2005-02-27 20:02:13 +00:00
Pierangelo Masarati
f93aec341c (partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed 2005-02-27 18:05:22 +00:00
Pierangelo Masarati
d7a5355176 enable tls-related code only if available; import fix for asynchronous starttls from back-ldap 2005-02-27 17:20:04 +00:00
Kurt Zeilenga
f9b2a8a1d2 ITS#3557: {SSHA} not default due to missing include 2005-02-27 16:46:45 +00:00
Kurt Zeilenga
aefb272680 Fix compiler error and warnings. 2005-02-27 06:10:01 +00:00
Howard Chu
049a1dbca0 SASL/TLS fixes to prev commit 2005-02-24 09:07:40 +00:00
Kurt Zeilenga
2d98546d21 ITS#3583 2005-02-23 16:08:11 +00:00
Howard Chu
660c5de77b Added syncrepl retrieval 2005-02-23 14:58:53 +00:00
Howard Chu
c54cd8b7f1 Added replica retrieval 2005-02-23 12:03:14 +00:00
Howard Chu
5d46454d87 Fix prev, add security factors 2005-02-23 07:09:24 +00:00
Howard Chu
0383195cc0 Fix up memory usage 2005-02-23 04:25:24 +00:00
Pierangelo Masarati
4e8256f6ab improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped 2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8 honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response) 2005-02-22 20:16:31 +00:00
Pierangelo Masarati
91961faab6 missing successful return was causing erroneous failure detection 2005-02-22 15:01:14 +00:00
Howard Chu
b1a575899d Make replica directives visible/editable 2005-02-22 12:18:53 +00:00
Howard Chu
e0ca6e386e Added acl_unparse, slap_sasl_getpolicy 2005-02-22 12:02:34 +00:00
Howard Chu
b000d76f22 Added overlay objects 2005-02-21 18:04:37 +00:00
Howard Chu
367e4915ab Added includeFile objects 2005-02-21 17:38:27 +00:00
Howard Chu
39906c96e3 More schema fixes 2005-02-21 14:57:02 +00:00
Howard Chu
087b97c2c5 Use backend#0 for config, tools default to #1 2005-02-21 11:28:59 +00:00
Howard Chu
2b725a3dfe ITS#3559 fix hdb dn2idl idl_cache usage 2005-02-21 11:11:00 +00:00
Howard Chu
4295f398af Retrieve more values, bypass tool mode (for now) 2005-02-21 03:50:05 +00:00
Howard Chu
1895da7f52 Simple values retrievable 2005-02-21 02:21:29 +00:00
Howard Chu
c6f373bce1 Juggle ARG flags, needed some more bits 2005-02-21 01:10:23 +00:00
Pierangelo Masarati
49d2945e9a fix previous commit (please check) 2005-02-20 23:06:55 +00:00
Howard Chu
efc8c43b73 Adding back-config pieces 2005-02-20 18:33:40 +00:00
Howard Chu
a26148af99 Preliminary config attribute schema 2005-02-20 11:24:24 +00:00
Howard Chu
dfb6f870f6 Rearrange, merge sasl config back into main config 2005-02-20 06:47:54 +00:00
Howard Chu
df3d8f3e30 Cleanup unused variables 2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662 bdb_show_key is for hash keys, not IDs 2005-02-20 04:32:54 +00:00
Luke Howard
0cf2e8746e ITS#3556 (SLAPI does not work on 64-bit platforms) 2005-02-20 02:13:14 +00:00
Pierangelo Masarati
edfbbeb653 clarify comment 2005-02-19 16:55:14 +00:00
Pierangelo Masarati
f8b463d0bc use asynchronous StartTLS 2005-02-19 16:14:22 +00:00
Pierangelo Masarati
5d19659193 honor abandon/cancel (ITS#3551) 2005-02-19 12:25:55 +00:00
Howard Chu
5418a6bb0f Temporary placeholder, do not use. Will be hardcoded into config.c. 2005-02-19 12:22:47 +00:00
Howard Chu
d74a9f066a ITS#3551 return SLAPD_ABANDON on abandon... 2005-02-19 12:10:40 +00:00
Pierangelo Masarati
0f18e6ce24 fix ITS#3551 2005-02-19 11:07:02 +00:00
Howard Chu
94b3f430cf Fix cancel cleanup 2005-02-18 07:12:57 +00:00
Howard Chu
6cbe778c81 ITS#3549 allow one op to progress when a socket with writewaiters
becomes ready to write.
2005-02-18 04:21:59 +00:00
Howard Chu
beaeb5ed5c Fix if HAVE_TLS is missing 2005-02-18 04:20:56 +00:00
Howard Chu
2964bfc48b ITS#3549 acknowledge CANCEL requests 2005-02-18 01:08:47 +00:00
Howard Chu
5d8ece605e ITS#3549 cleanup abandon/cancel processing 2005-02-18 01:01:35 +00:00
Howard Chu
1b244bbacd Another abandon check 2005-02-18 00:50:17 +00:00
Howard Chu
ee42df4cea Always return SLAPD_ABANDON in response to op->o_abandon being set. 2005-02-18 00:37:40 +00:00
Howard Chu
554c667ec7 Revert use_thread option, it didn't gain anything. 2005-02-17 15:18:30 +00:00
Howard Chu
3b34a6f81c ITS#3546 fix consumer crash on interrupt (provider crash still unresolved) 2005-02-17 15:07:27 +00:00
Sang Seok Lim
583242c9a3 initialize AttributeAssertion before using 2005-02-16 17:00:11 +00:00
Sang Seok Lim
996e87298f Misc clean up 2005-02-15 16:55:00 +00:00
Sang Seok Lim
9d59266e25 Attribute Aliasing : equality matching support 2005-02-15 05:24:48 +00:00
Howard Chu
b06eea3d99 Delete unused syncrepl_pool 2005-02-11 10:20:16 +00:00
Pierangelo Masarati
b43fb2bdfc allow stacking of a default chaining control when chasing further referrals; fix referral return memory allocation on direct search 2005-02-06 22:12:02 +00:00
Pierangelo Masarati
046b40cbe3 provisions for configuring a desired chaining policy via the chaining behavior control 2005-02-05 18:21:14 +00:00
Pierangelo Masarati
e50092878d temporarily revert to synchronous start tls 2005-02-05 17:33:22 +00:00
Pierangelo Masarati
73ca57cfef import selected improvements from back-ldap: use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup 2005-02-05 15:55:27 +00:00
Pierangelo Masarati
43138aa500 use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup 2005-02-05 15:55:02 +00:00
Pierangelo Masarati
e3a19bfa32 import referral chaing options from back-ldap 2005-02-05 11:33:32 +00:00
Kurt Zeilenga
e106fb2449 Folks who wan MSAD schema should get it from MSAD 2005-02-04 03:48:50 +00:00
Luke Howard
fd0b7e75b1 ITS#3439 (NetBSD support for getpeereid()) 2005-02-03 09:36:25 +00:00
Howard Chu
1510265454 Init ors_limit to NULL 2005-02-01 15:11:33 +00:00
Howard Chu
0f185de2b0 Fix uninit'd search limits 2005-02-01 14:02:53 +00:00
Howard Chu
b6019af759 Fix off-by-one in octetStringSubstringsFilter 2005-02-01 13:40:17 +00:00
Howard Chu
ae6b117a2a config args are ints, not longs. (64 bit compatibility) 2005-02-01 12:36:25 +00:00
Pierangelo Masarati
4123f29eaa fix spelling 2005-02-01 10:31:57 +00:00
Howard Chu
f2d423e084 ITS#3527 fix race in bdb_idl_cache_get 2005-02-01 05:37:09 +00:00
Howard Chu
122cdf4549 In ldap_back_bind, don't send success result, frontend does it 2005-02-01 00:19:45 +00:00
Pierangelo Masarati
8637bc5b28 handle cannotChain result 2005-01-31 11:22:12 +00:00
Pierangelo Masarati
3b84f11d25 honor SLAP_GLUE_INSTANCE() flag; allow to advertize subordinate databases 2005-01-31 00:15:45 +00:00
Pierangelo Masarati
d503b5a5b7 make frontend-generated attrs available to backend's hook 2005-01-31 00:14:00 +00:00
Pierangelo Masarati
4c61b9a8f7 further improve of previous commit 2005-01-30 23:14:41 +00:00
Pierangelo Masarati
625263852d fix previous commit; plug a long lasting leak 2005-01-30 23:12:27 +00:00
Pierangelo Masarati
cfc77f0a0a make referrals chasing optional (default is to chase them) 2005-01-30 22:56:59 +00:00
Pierangelo Masarati
14fc23c23a silence warning 2005-01-30 22:07:48 +00:00
Pierangelo Masarati
b3c00deb3d counter cleanup 2005-01-30 22:07:32 +00:00
Pierangelo Masarati
58a06eae47 handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...) 2005-01-30 22:06:38 +00:00
Pierangelo Masarati
8cc2aa9372 implement hook; cleanup 2005-01-30 22:05:46 +00:00
Pierangelo Masarati
6fcc25f993 cleanup empty DN handling 2005-01-30 22:05:11 +00:00
Pierangelo Masarati
fbb2b75ace matched values is "global" 2005-01-30 22:04:02 +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
e96e874a18 take care of DN-valued "operational" (generated) attrs 2005-01-30 22:00:09 +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
9d11324e96 make the glue database inherit the controls of the subordinates (doesn't fix test033 though) 2005-01-29 18:38:44 +00:00
Pierangelo Masarati
cd797f8089 avoid cycling twice in the control list 2005-01-29 18:16:38 +00:00
Pierangelo Masarati
0056109b82 cleanup previous commit 2005-01-29 18:00:36 +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
1e351da986 need to catch the '' base in search as well; selected cleanup and improvements 2005-01-28 23:19:02 +00:00
Pierangelo Masarati
77da5c56a4 allow to glue local databases under dnssrv 2005-01-28 21:38:02 +00:00
Luke Howard
4b1d72ab2f Add slapi_x_backend_get_flags() API 2005-01-28 08:33:29 +00:00
Pierangelo Masarati
4304dfc9a2 allow referrals in result (may happen); propagate chaining errors 2005-01-28 01:43:49 +00:00
Kurt Zeilenga
e2292d34e1 remove commented out kludge macro 2005-01-27 23:08:20 +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
Luke Howard
82d3c103e9 Support LDAP_MOD_INCREMENT in slapi_modify_internal() 2005-01-27 06:20:31 +00:00
Pierangelo Masarati
2c801d9c2a 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:30:57 +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
Pierangelo Masarati
1b268479c3 fix ITS#3406 - normalize attributes according to MR syntax in MRA filters 2005-01-26 21:48:36 +00:00
Pierangelo Masarati
3dd2f4150b allow proxyAuthz of users authenticated via SASL 2005-01-26 20:01:02 +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
e047657f06 remove overoptimistic assertion 2005-01-26 10:27:38 +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
5427af1f62 don't play with controls at bind; rather use the ldap_*_ext API 2005-01-26 09:52:12 +00:00
Pierangelo Masarati
beb0f6983a fix previous commit 2005-01-26 09:45:51 +00:00
Pierangelo Masarati
947f87441e don't play with controls at bind 2005-01-26 09:45:23 +00:00
Pierangelo Masarati
74896472de don't add the trailing '??base' to URIs 2005-01-26 09:29:22 +00:00
Pierangelo Masarati
c67ce5f2e3 inherit controls 2005-01-26 08:57:39 +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
Howard Chu
51c4161ca9 Add -q quick option for slapindex too 2005-01-26 03:14:47 +00:00
Howard Chu
87ad189972 Cleanup obsolete bits 2005-01-25 20:29:08 +00:00
Howard Chu
86ab73ecd6 Remove "fasttool" option; obsoleted by "slapadd -q" 2005-01-25 20:21:36 +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
Pierangelo Masarati
6239b70081 cleanup previous commit 2005-01-25 17:14:19 +00:00
Kurt Zeilenga
dd75979100 Prelim unavailableCriticalExtension v. unwillingToPerform fix (ITS#3308) 2005-01-25 16:52:16 +00:00
Pierangelo Masarati
c6a1f24186 add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress) 2005-01-25 16:11:26 +00:00
Howard Chu
f6ed0b0127 Fix cookie init 2005-01-25 11:14:09 +00:00
Kurt Zeilenga
28b5df9a90 Hide "work in progress" 2005-01-25 05:35:54 +00:00
Howard Chu
fc337704c5 Fix redundant index lookups from component matching 2005-01-24 12:25:37 +00:00
Pierangelo Masarati
c6b6d2a5ec StartTLS (ITS#3507) + chain overlay fixes and improvements 2005-01-24 09:38:11 +00:00
Howard Chu
ad2a19d8eb More for SLAP_TOOL_QUICK, disable locks as well 2005-01-24 08:21:55 +00:00
Howard Chu
12510a2da7 Use str2entry2 2005-01-24 03:42:56 +00:00
Howard Chu
fcf787dc0f Rewritten str2entry, added str2entry2 2005-01-24 03:41:51 +00:00
Howard Chu
b674e6dd3d Omit transaction support when running with SLAP_TOOL_QUICK 2005-01-24 01:37:38 +00:00
Howard Chu
fe03b5a8bb Add '-q' "quick" option and SLAP_TOOL_QUICK def for slapadd to run
with fewer integrity checks. (may also change slapindex later.)
2005-01-24 01:37:09 +00:00
Pierangelo Masarati
03dba8c111 cleanup 2005-01-23 21:44:42 +00:00
Pierangelo Masarati
b70abdcbce global overlays need to set o_bd = frontendDB to return the error in case no database can be selected 2005-01-23 21:44:23 +00:00
Howard Chu
47e7948007 Schema caching for slaptools 2005-01-22 20:18:38 +00:00
Pierangelo Masarati
ae0f47b063 improve parsing of acl-authcDN/acl-passwd 2005-01-22 18:48:03 +00:00
Pierangelo Masarati
066829a870 fix previous commit 2005-01-22 12:27:45 +00:00
Pierangelo Masarati
17f525a8ad cleanup attribution 2005-01-22 11:17:14 +00:00
Pierangelo Masarati
a84938c294 fix ITS#3506 2005-01-22 10:21:03 +00:00
Howard Chu
7b65f9bab4 Really fix synchronization 2005-01-22 00:13:00 +00:00
Howard Chu
e67e45f752 Minor cleanup 2005-01-21 22:46:06 +00:00
Howard Chu
123668e241 More fixes for prev commit 2005-01-21 22:27:24 +00:00
Howard Chu
7de2352868 Fix synchronization in prev commit 2005-01-21 22:14:08 +00:00
Howard Chu
f6ac16dff7 Add option to use a second thread for adds 2005-01-21 21:20:56 +00:00
Kurt Zeilenga
69fcf8cbd6 Cleanup notices 2005-01-21 19:38:13 +00:00
Pierangelo Masarati
96fa1eda64 (blind) improvement of column name aliasing 2005-01-21 17:27:27 +00:00
Pierangelo Masarati
f0943f79ec fix previous commit 2005-01-21 15:05:15 +00:00
Howard Chu
b18bc61831 ITS#3471 don't yield unnecessarily 2005-01-21 00:04:05 +00:00
Pierangelo Masarati
b116bb3814 fix ITS#3499 (may need further testing) 2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet 2005-01-20 20:30:46 +00:00
Pierangelo Masarati
332438c3aa fix ITS#3499 2005-01-20 19:28:01 +00:00
Pierangelo Masarati
3a4a442a51 fix attribution in copyright 2005-01-20 18:52:00 +00:00
Pierangelo Masarati
0057b66f87 improve previous commit; implement missing objectClass mapping feature 2005-01-20 18:39:51 +00:00
Kurt Zeilenga
64668f7207 Hide subtree delete control 2005-01-20 17:54:04 +00:00
Pierangelo Masarati
521100db56 fix ITS#3498; some cleanup 2005-01-20 17:44:53 +00:00
Pierangelo Masarati
2975c6d46e provision for ITS#3497 2005-01-20 16:35:49 +00:00
Pierangelo Masarati
5785175313 provision for ITS#3497 2005-01-20 16:06:41 +00:00
Pierangelo Masarati
1d919d35a5 remove #ifdef's for identity assertion 2005-01-20 09:04:37 +00:00
Kurt Zeilenga
5ef410c1f3 Cleanup 2005-01-20 07:18:28 +00:00
Kurt Zeilenga
112179fef7 cleanup 2005-01-20 06:55:35 +00:00
Pierangelo Masarati
0c601c5db2 fix compare; more manageDSAit cleanup 2005-01-20 00:17:52 +00:00
Pierangelo Masarati
4f23e2e470 cleanup 2005-01-19 23:52:51 +00:00
Pierangelo Masarati
90cc75f1a1 cleanup; add proxyAuthz capability 2005-01-19 22:59:25 +00:00
Pierangelo Masarati
7d306eaadb try to collect operational attributes as well 2005-01-19 22:58:56 +00:00
Howard Chu
4c65aa9c44 Make sl_context just return NULL in tool mode, we have no threads here 2005-01-19 21:42:04 +00:00
Kurt Zeilenga
dbfc9d1a16 Schema cleanup (and testing) 2005-01-19 20:29:06 +00:00
Kurt Zeilenga
d8428387d4 Fix goof in last commit 2005-01-19 20:25:21 +00:00
Howard Chu
eb7deb9eba ITS#3494 fix deadlock 2005-01-19 19:18:28 +00:00
Pierangelo Masarati
5f178fd3d1 use idassert for proxyAuthz with the chain overlay 2005-01-19 19:11:35 +00:00
Kurt Zeilenga
addfa80025 Clarify schema source, status, and provide appropriate caution 2005-01-19 19:06:33 +00:00
Kurt Zeilenga
cd6a7ac5a8 Cleanup 2005-01-19 18:34:54 +00:00
Kurt Zeilenga
f9d36c0dce Make most LDAP_DEVEL macro uses indirect 2005-01-19 18:34:36 +00:00
Howard Chu
8db476e664 More tweaks to ldif_parse_line2 for str2entry 2005-01-19 12:07:06 +00:00
Howard Chu
f8dfe10875 Fix prev commit 2005-01-19 08:48:13 +00:00
Howard Chu
692a3625a2 Cleanup rs->sr_text after entry_schema_check succeeds 2005-01-19 07:22:03 +00:00
Howard Chu
ffcfb8b967 Fix typo in prev commit 2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9 Cleanup prev commit 2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982 Debugging aid for prev commit 2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997 Don't use DB->del when converting to a range, use the cursor that's
already open.
2005-01-19 06:03:14 +00:00
Howard Chu
bd8a9989f4 Added ldif_parse_line2 to parse in-place 2005-01-19 05:05:53 +00:00
Pierangelo Masarati
0d475ca4f0 cleanup 2005-01-19 00:12:46 +00:00
Pierangelo Masarati
3638004798 remove all referral specific code; now referrals can be used by defining appropriate data/metadata 2005-01-19 00:09:07 +00:00
Pierangelo Masarati
d520cd607d remove all referral specific code; now referrals can be used by defining appropriate data/metadata 2005-01-19 00:00:52 +00:00
Pierangelo Masarati
a3fbea971b map referrals in regular metadata structure (need to remove some of the specific code) 2005-01-18 23:28:03 +00:00
Pierangelo Masarati
d252d9c535 map referrals in regular metadata structure (need to remove some of the specific code) 2005-01-18 23:21:48 +00:00
Pierangelo Masarati
42b7753803 should we touch timestamps when internally updating? 2005-01-18 09:48:53 +00:00
Pierangelo Masarati
e559e61b4f consistently use BER_* macros 2005-01-18 09:35:09 +00:00
Pierangelo Masarati
71ea8bb244 always invalidate freed memory\! 2005-01-18 09:29:14 +00:00
Pierangelo Masarati
8b26737c27 fix different issues with referrals in searches; remove unused tests; cleanup referrals in tests so that they don't get chased; improve schema checking in modrdn and updates in general; minor cleanup 2005-01-18 01:10:01 +00:00
Pierangelo Masarati
fa498ee015 various issues related to working with schemacheck off; allow referrals to be created as separate objectClasses, so they work with schemacheck on (may rework them to be treated as normal data) 2005-01-17 21:10:55 +00:00
Pierangelo Masarati
143937320b remove dangling text pointer in case of success 2005-01-17 21:06:49 +00:00
Pierangelo Masarati
eb0421c471 fix several schema checking issues; add rename specific statement for entry renaming without losing ID (helps e.g. in renaming referrals, otherwise referential integrity would prevent del/add because of referenced stuff in ldap_referrals and ldap_entry_objclasses); referrals need schemacheck off otherwise objectClass chain is invalid (they need to be attached to another objectClass by now; will address this later) 2005-01-17 19:32:28 +00:00
Pierangelo Masarati
b4e37e518f fixes for ITS#3480,3485,3489; implementation of DISCLOSE access for all operations (ITS#3472); ITS#3432.4; added value validate/pretty when applicable (see comments and #defines in back-sql.h) 2005-01-16 23:12:36 +00:00
Howard Chu
56e45fc1ae Fix ITS#3490, set proper overlay context 2005-01-16 18:23:13 +00:00
Pierangelo Masarati
c8c043bd39 address ITS#3472/3480/3488/3489 2005-01-15 18:43:34 +00:00
Howard Chu
1dbe92c27b Delete dubious use of be_syncinfo - only the consumer can write the
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
8d0f39bb83 Cleanup slapcat usage 2005-01-14 16:23:50 +00:00
Howard Chu
9e8d2c5bb1 More cleanup 2005-01-14 16:20:15 +00:00
Pierangelo Masarati
06478f2265 silence warnings 2005-01-14 12:01:51 +00:00
Pierangelo Masarati
0079b3ce45 condition compilation of DISCLOSE checking (there's more to do) 2005-01-14 12:01:03 +00:00
Pierangelo Masarati
4644584a75 condition compilation of DISCLOSE checking 2005-01-14 11:51:16 +00:00
Pierangelo Masarati
7f8634e8fc silence (a couple of) warnings 2005-01-14 11:50:24 +00:00
Pierangelo Masarati
53b8653730 small improvements; declare org_dn/org_ndn 2005-01-14 11:01:48 +00:00
Howard Chu
c8f3bbf9e5 ITS#3486 fix link order for static overlays 2005-01-14 07:13:07 +00:00
Howard Chu
2b66ee44bd More cleanup of unused stuff 2005-01-14 05:57:58 +00:00
Howard Chu
aa27cb2262 Delete obsolete syncprovider stuff 2005-01-14 05:49:45 +00:00
Howard Chu
9f30e1e650 Delete obsolete syncprovider stuff 2005-01-14 05:19:51 +00:00
Howard Chu
7f5589174a Fix cascading deletes 2005-01-14 05:11:38 +00:00
Howard Chu
27f7aa5b54 Minor cleanup 2005-01-14 05:10:23 +00:00
Howard Chu
495c315672 More consolidation for single consumer-context syncrepl 2005-01-14 04:26:59 +00:00
Howard Chu
b6fbfe8540 ITS#3463 additional fix 2005-01-14 02:08:02 +00:00
Pierangelo Masarati
014ee81c34 plug memory leak: bsi_attrs member
use tmpmemctx for bsi_attrs (should be used more for temporaries)
fix ITS#3480: allow to fetch all attrs or provide hints
fixed access check to entry for rename
TODO: fetch entries for access checking in selected code portions (e.g. rename)
2005-01-14 00:39:24 +00:00
Kurt Zeilenga
1780c8bf54 Only remove backends.c on make veryclean
Add dependencies
2005-01-14 00:12:14 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +00:00
Howard Chu
4c21a2712f Fix prev commit 2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed Use a single sessionlog per context, delete sid 2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef Use be_shadow_update, not be_isupdate 2005-01-13 19:02:08 +00:00
Howard Chu
bf27ba977b Deleted syncrepl updatedn 2005-01-13 18:51:29 +00:00
Pierangelo Masarati
69fbd2e66e propagate opattrs if shadow update 2005-01-13 18:43:59 +00:00
Kurt Zeilenga
3118f1fd2e Fix backends.c VPATH builds 2005-01-13 17:30:07 +00:00
Sang Seok Lim
0291e294c5 Handling multi-valued attributes in Component Matching 2005-01-13 09:48:52 +00:00
Sang Seok Lim
eaa58e131c handling multi-valued attrivutes in Component Matching 2005-01-13 09:48:20 +00:00
Pierangelo Masarati
5a7108ee1b add '+' string concatenation operator 2005-01-13 09:21:11 +00:00
Pierangelo Masarati
7348603a53 fix ITS#3484 2005-01-12 23:22:56 +00:00
Pierangelo Masarati
4e06af2247 cosmetic cleanup 2005-01-12 21:02:58 +00:00
Pierangelo Masarati
4e6fd44213 the fixes to ITS#3475 make the referrals callback no longer required 2005-01-12 21:02:23 +00:00
Pierangelo Masarati
9885b55e9d fix referral return in back-ldbm as well (same as ITS#3475) 2005-01-12 21:01:42 +00:00
Pierangelo Masarati
3bbfa91177 fix ITS#3483 (continuation of ITS#3472) 2005-01-12 18:55:40 +00:00
Pierangelo Masarati
6bf8b945dd fix use of uninitialized var 2005-01-12 15:11:17 +00:00
Pierangelo Masarati
42dadd5712 typo 2005-01-12 14:34:46 +00:00
Pierangelo Masarati
d5238b91eb further refinement of ITS#3461 2005-01-12 14:31:03 +00:00
Pierangelo Masarati
b381e1bcc8 cosmetic changes 2005-01-12 14:25:08 +00:00
Howard Chu
16f3cdeb19 More cleanup for prev commit 2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927 ITS#3463 don't muck with frontend's operations, just our detached ones 2005-01-12 01:49:00 +00:00
Howard Chu
b0da3a0e32 Clear write events after they're processed 2005-01-12 00:57:53 +00:00
Pierangelo Masarati
b46518ff77 silence warning for global scoped global ACLs 2005-01-12 00:53:50 +00:00
Pierangelo Masarati
056c5ba7c1 fix couple of bugs in recent 'disclose' commits; prepare for sending matchedDN when appropriate; note ITS#3480 access control issues 2005-01-12 00:28:37 +00:00
Howard Chu
b803b49e5f ITS#3421 flush and close logfile before releasing lock 2005-01-12 00:17:12 +00:00
Howard Chu
0bc4b77527 Clean up unused bt_compare references 2005-01-11 22:38:39 +00:00
Howard Chu
89da582d69 Byte-order independence for HDB: dn2id format changed again. 2005-01-11 22:25:52 +00:00
Howard Chu
bd498d2996 Fix undetected deadlock 2005-01-11 22:08:06 +00:00
Howard Chu
98212b7e08 Start removing custom sort functions from hdb 2005-01-11 19:47:05 +00:00
Pierangelo Masarati
0e04985332 honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel) 2005-01-11 19:37:55 +00:00
Pierangelo Masarati
f369e34049 honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel) 2005-01-11 15:59:13 +00:00
Howard Chu
05648b22fb Fix findmax when multiple matches are found 2005-01-11 05:00:59 +00:00