Commit Graph

301 Commits

Author SHA1 Message Date
Pierangelo Masarati
3d075186bf don't leak entry/referrals in case of reference 2005-08-07 21:26:15 +00:00
Pierangelo Masarati
09f749da96 remove unnecessary data from search_info 2005-08-07 20:43:07 +00:00
Pierangelo Masarati
779d94312f cleanup candidate list in case of abandon, even if it occurs while selecting candidates 2005-08-07 20:11:41 +00:00
Pierangelo Masarati
433c7923c5 cleanup candidate list in case of abandon 2005-08-07 20:04:47 +00:00
Pierangelo Masarati
125059ccb5 more cleanup 2005-08-07 18:56:19 +00:00
Pierangelo Masarati
92527ee15b plug more leaks; few remain (but seem to be in ODBC) 2005-08-07 17:28:26 +00:00
Pierangelo Masarati
be355833a0 fix use of uninitialized value; beautify logs 2005-08-07 10:49:40 +00:00
Pierangelo Masarati
e281e08e79 remove cruft 2005-08-07 10:49:01 +00:00
Luke Howard
12d006d17d Add o_no_schema_check to operation structure
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Pierangelo Masarati
e8c4911a39 check return value from add (ITS#3891) 2005-07-28 00:06:14 +00:00
Pierangelo Masarati
a6d9e7d933 use operation slab for column binding 2005-07-25 22:11:09 +00:00
Pierangelo Masarati
6f3363f0d9 Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable 2005-07-20 11:17:06 +00:00
Pierangelo Masarati
e6ecb77b0e drop stored procedures 2005-07-20 11:16:09 +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
Pierangelo Masarati
684860502e should address ITS#3861 2005-07-13 17:43:30 +00:00
Hallvard Furuseth
b1f5e9258a Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.
2005-07-07 20:36:37 +00:00
Pierangelo Masarati
ba8b6bbd88 add delete stuff to all attributes (needed to deelete with "fail_if_no_mapping yes"); passes write test(s) 2005-06-13 22:13:10 +00:00
Pierangelo Masarati
acf5187b2e rework assertion 2005-06-13 22:12:11 +00:00
Pierangelo Masarati
495106c213 fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql_add() 2005-06-13 22:11:41 +00:00
Pierangelo Masarati
91bdea2817 use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend 2005-06-09 11:03:06 +00:00
Pierangelo Masarati
94747a8489 fix previous commit; document aliasing and aliasing quotes configuration 2005-06-09 09:45:02 +00:00
Pierangelo Masarati
e52d5cb812 make aliasing and aliasing quotes configurable 2005-06-09 09:43:20 +00:00
Pierangelo Masarati
4d58c2f39f fix previous commit 2005-06-01 19:36:58 +00:00
Pierangelo Masarati
3751f0325d work around syncprov interoperation issues; minor cleanup 2005-06-01 19:35:13 +00:00
Pierangelo Masarati
6434721e42 fix improper use of "fail_if_no_mapping" flag: fail in case of error, don't fail only if mapping is not present 2005-06-01 16:51:36 +00:00
Kurt Zeilenga
feeeabcd68 manageDIT framework and obsolete objectclasses/DIT-content-rule override 2005-05-13 19:07:31 +00:00
Howard Chu
c225c4af34 Updated ldif_read_record to support LDIF include: directive 2005-05-12 00:46:39 +00:00
Pierangelo Masarati
3ce45e11bb fix and strengthen the structural objectClass test 2005-05-12 00:43:29 +00:00
Pierangelo Masarati
740835dff9 remove global_schemacheck 2005-05-12 00:03:50 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Pierangelo Masarati
0220a25f05 use alias name instead of column name in order by clause (ITS#3629) 2005-04-04 17:41:29 +00:00
Pierangelo Masarati
20b3d14dc3 more dnParent() cleanup 2005-03-30 22:29:54 +00:00
Kurt Zeilenga
71c2c1c9fe Change "subtree delete not supported" diagnostic text to
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Pierangelo Masarati
5d19659193 honor abandon/cancel (ITS#3551) 2005-02-19 12:25:55 +00:00
Pierangelo Masarati
0f18e6ce24 fix ITS#3551 2005-02-19 11:07:02 +00:00
Pierangelo Masarati
fbb2b75ace matched values is "global" 2005-01-30 22:04:02 +00:00
Pierangelo Masarati
96fa1eda64 (blind) improvement of column name aliasing 2005-01-21 17:27:27 +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
0c601c5db2 fix compare; more manageDSAit cleanup 2005-01-20 00:17:52 +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
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
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
Pierangelo Masarati
c8c043bd39 address ITS#3472/3480/3488/3489 2005-01-15 18:43:34 +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
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
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
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
e5c58636de enable if one suffix only is present 2005-01-08 11:33:51 +00:00
Pierangelo Masarati
9d5d9cc2ec fix mix memory issues and cleanup 2005-01-08 09:59:16 +00:00
Pierangelo Masarati
6f2ffa30ed fix ACL value checking for bind (ITS#3446) 2005-01-07 13:50:38 +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
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
Kurt Zeilenga
477e1309d1 Update notice. 2005-01-01 20:38:40 +00:00
Pierangelo Masarati
642f7aed50 apply patches 1,2,3,5,8 (with changes) from ITS#3432) 2005-01-01 16:21:55 +00:00
Pierangelo Masarati
6fdb803bde cleanup 2004-12-11 18:04:38 +00:00
Pierangelo Masarati
2d88c1b826 comment about helper requirements 2004-12-02 22:59:55 +00:00
Pierangelo Masarati
0cc024a370 more on DN munging; now works for all operations 2004-12-02 00:33:36 +00:00
Pierangelo Masarati
396743f62f fix DN munging; also fix potential error when logging incomplete deletes 2004-12-01 23:16:21 +00:00
Pierangelo Masarati
0c65f51ab2 fix user/operational mix of attribute request 2004-11-30 01:49:06 +00:00
Pierangelo Masarati
e77570799b essential support for refreshOnly syncrepl 2004-11-29 22:04:53 +00:00
Pierangelo Masarati
6c3715aff9 more on syncprov support 2004-11-29 09:36:22 +00:00
Pierangelo Masarati
2c89c53cda fix typo 2004-11-29 00:53:43 +00:00
Pierangelo Masarati
873a5b73ff first round at enabling back-sql as LDAPsync provider 2004-11-29 00:50:55 +00:00
Pierangelo Masarati
870cc69c93 fix o_hdr use 2004-11-28 16:25:20 +00:00
Pierangelo Masarati
6f182a7547 make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup 2004-11-27 15:08:24 +00:00
Pierangelo Masarati
27529430a6 wait until syncprov freezes 2004-11-27 10:16:15 +00:00
Howard Chu
618cc56265 Merge op->o_sync_mode into op->o_sync 2004-11-25 18:31:31 +00:00
Pierangelo Masarati
c7d2cf91fd cleanup and line up with code 2004-11-16 22:14:21 +00:00
Pierangelo Masarati
78ddb88960 minor cleanup 2004-11-15 22:10:10 +00:00
Pierangelo Masarati
b29bf83e7e remove back-*/external.h 2004-11-15 19:45:49 +00:00
Pierangelo Masarati
9c550e7235 first step towards removing back-*/external.h 2004-11-13 18:52:44 +00:00
Pierangelo Masarati
79f744f30b rework static backend initialization 2004-11-11 00:39:19 +00:00
Pierangelo Masarati
71035d3aa1 fix typo when string keys are used 2004-10-16 16:16:57 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Pierangelo Masarati
2ccbe388b5 fix global configuration patch (ITS#3353) 2004-10-04 21:05:13 +00:00
Pierangelo Masarati
bf8e890ea7 fix global configuration patch (ITS#3353) 2004-10-04 20:57:14 +00:00
Pierangelo Masarati
e10186f1a5 add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well) 2004-10-04 01:19:53 +00:00
Pierangelo Masarati
87a63d3b5d improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE 2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657 add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views 2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38 cleanup naming; minor fixes 2004-10-02 12:05:42 +00:00
Pierangelo Masarati
60d4aaba54 fix, rework and optimize search base; allow orphaned entries addition 2004-09-28 23:27:39 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Pierangelo Masarati
b09663d784 consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers) 2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded add column size to SQLBindParameter when SQL_CHAR parameter type is used 2004-09-25 11:38:00 +00:00
Pierangelo Masarati
0055675bfc improve candidate selection when filtering by objectClass 2004-09-22 23:17:32 +00:00
Kurt Zeilenga
444c49827c Fix result codes 2004-09-11 20:01:03 +00:00
Pierangelo Masarati
c04bebe750 minor improvements 2004-09-11 16:16:41 +00:00
Pierangelo Masarati
48b7292fc6 blind update to new tests 2004-09-11 11:05:01 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Pierangelo Masarati
81b5755364 try with "order by"... 2004-08-25 12:09:05 +00:00