Commit Graph

6497 Commits

Author SHA1 Message Date
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
08d4af049f cleanup error logging 2005-01-18 22:15:34 +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
Pierangelo Masarati
4f9db2e2d7 suggested change for ITS#3475 2005-01-11 00:38:04 +00:00
Pierangelo Masarati
83d1e22b8c don't malloc if proxyAuthz is the only control 2005-01-11 00:37:22 +00:00
Howard Chu
d140433c9f ITS#3470 don't propagate error if hasSubordinates fails, it's not that
important.
2005-01-11 00:05:22 +00:00
Pierangelo Masarati
41d7c03e8b clear out the error 2005-01-09 23:30:19 +00:00
Pierangelo Masarati
154ae48d69 put back chain overlay into back-ldap 2005-01-09 21:26:32 +00:00
Pierangelo Masarati
28b18b1869 minor cleanup 2005-01-09 21:25:12 +00:00
Kurt Zeilenga
7dc0b02fc9 Replace backend.h with backends.c, generated by config.status. 2005-01-09 08:42:44 +00:00
Pierangelo Masarati
0ea4070eb1 clarify error message and allow -u (dryrun) option for slaptest, to circumvent database startup 2005-01-08 12:02:14 +00:00
Pierangelo Masarati
e5c58636de enable if one suffix only is present 2005-01-08 11:33:51 +00:00
Pierangelo Masarati
cd2e651c26 ITS#3469: C99 compliance 2005-01-08 11:25:11 +00:00
Pierangelo Masarati
8d14165274 fix ITS#3464 2005-01-08 10:59:32 +00:00
Pierangelo Masarati
83fc428a44 make sure the attribute exists 2005-01-08 09:59:53 +00:00
Pierangelo Masarati
9d5d9cc2ec fix mix memory issues and cleanup 2005-01-08 09:59:16 +00:00
Pierangelo Masarati
e5eaef6248 fix previous commit 2005-01-08 09:51:29 +00:00
Pierangelo Masarati
5422345e55 major namespace cleanup & minor fixes 2005-01-08 09:20:54 +00:00
Pierangelo Masarati
4d8267595f retry on ldap_result() with a timeout 2005-01-08 09:19:51 +00:00
Pierangelo Masarati
4b4bdc6bf6 ...but rather here: GLUE entries would remain such until the server was restarted 2005-01-08 09:13:16 +00:00
Pierangelo Masarati
8cfda61cb4 cosmetic changes (the problem was not there) 2005-01-08 09:12:35 +00:00
Pierangelo Masarati
a4a9d9df72 beware of URIs that are not parsed or rebuilt successfully 2005-01-08 09:11:53 +00:00
Kurt Zeilenga
1c5d78d8dd Add "disclose" and "manage" ACL levels (but no meat).
Disclose permission intended to be used for "disclose on error"
(as in our present "none"), none being "don't disclose on error".

Manage permission is intended to be used to allow DSA IT management
(e.g., changing entryCSNs, structuralObjectClass, etc.).
2005-01-08 05:26:18 +00:00
Kurt Zeilenga
1ad97bf656 Cleanup 2005-01-08 05:25:58 +00:00
Kurt Zeilenga
5593d17582 s/RFC2459/RFC3280/ 2005-01-07 18:14:49 +00:00
Kurt Zeilenga
c72452dce0 Add X.520(4th)'s pseudonym 2005-01-07 18:11:05 +00:00
Pierangelo Masarati
f40527ef49 fix ACL value checking for bind (ITS#3446) 2005-01-07 13:57:16 +00:00
Pierangelo Masarati
6f2ffa30ed fix ACL value checking for bind (ITS#3446) 2005-01-07 13:50:38 +00:00
Pierangelo Masarati
60a1ae56e4 fix value match 2005-01-07 13:37:22 +00:00
Pierangelo Masarati
845cc3d6ee revert unintended commit 2005-01-05 16:25:12 +00:00
Pierangelo Masarati
f5936eb7fc minor naming cleanup; improvements to DN mapping layer; major docs update 2005-01-05 16:23:00 +00:00
Pierangelo Masarati
c1e4eeb23b fix max arg number for limits 2005-01-03 18:20:37 +00:00
Pierangelo Masarati
2ed3625a13 fix group limits when objectClass/attribute are provided 2005-01-03 18:09:03 +00:00
Pierangelo Masarati
edc9b936d0 mostly copyright cleanup; removal of unnecessary headers 2005-01-03 10:51:59 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
4b0a9be3b5 More cr statements 2005-01-01 20:43:42 +00:00