Commit Graph

6592 Commits

Author SHA1 Message Date
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