| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Adapt code to adhere to the comment (now that doesn't happen very often!). | 2010-07-06 | 1 | -3/+2 | ||
| | | | | | | | | | | When deciding how to rebalancing after delete (move or merge), the number of keys is not important, as long as the source page doesn't get empty after a move. There is still a rare case where merging two quarter-full pages will not fit in a whole page (due to prefix expansion) that needs to be fixed. | |||||
| * | Check return code from commit. Incorrectly returned success when commit | 2010-07-06 | 1 | -14/+6 | ||
| | | | | | failed due to disk full. | |||||
| * | Unbreak writing updates to the btree while having a cursor open on the | 2010-07-05 | 1 | -13/+21 | ||
| | | | | | | | | | affected pages. When a cursor has increased the reference count on a cached page, it is copied before updated. The new pointer was however not passed back to the caller, effectively commiting the old page numbers. | |||||
| * | Plug a memory leak when aborting transactions. | 2010-07-05 | 1 | -1/+2 | ||
| | | ||||||
| * | Close cursor on delete. Fixes memory leak introduced by non-leaf delete | 2010-07-05 | 1 | -12/+16 | ||
| | | | | | check. | |||||
| * | Dump parsed schema to buffer and send in requests for the cn=schema | 2010-07-02 | 3 | -14/+290 | ||
| | | | | | | | subschema namespace. Only do this if 'objectClasses' and 'attributeTypes' are expicitly requested. This allows clients to for example present custom editing forms. | |||||
| * | Don't validate modification of immutable attributes if the namespace is | 2010-07-02 | 1 | -20/+27 | ||
| | | | | | configured with relaxed schema checking. | |||||
| * | Disallow deleting non-leaf nodes. | 2010-07-02 | 1 | -7/+29 | ||
| | | ||||||
| * | Add a BT_CURSOR_EXACT operation to btree_cursor_get. It behaves like | 2010-07-02 | 2 | -7/+19 | ||
| | | | | | BT_CURSOR, but fails if the key is not found. | |||||
| * | Plug a memory leak where each update leaked one page. | 2010-07-02 | 1 | -1/+3 | ||
| | | ||||||
| * | Fix memory leaks in schema parser. | 2010-07-02 | 1 | -1/+4 | ||
| | | ||||||
| * | Implement the LDAP compare operation. | 2010-07-01 | 3 | -3/+50 | ||
| | | ||||||
| * | Parse (and ignore) schema extensions with an X- prefix. Bail on unknown keywords. | 2010-07-01 | 2 | -6/+40 | ||
| | | ||||||
| * | Give a more descriptive error message when an object class definition | 2010-07-01 | 1 | -2/+4 | ||
| | | | | | | | references non-existent attribute types. from william@ | |||||
| * | Free the list of object classes allocated after validating an entry. | 2010-07-01 | 1 | -19/+45 | ||
| | | ||||||
| * | reset number of revisions after compaction | 2010-07-01 | 1 | -1/+2 | ||
| | | ||||||
| * | Copy statistics to the compacted database so it isn't lost. | 2010-07-01 | 1 | -1/+2 | ||
| | | ||||||
| * | If the length of an element being read is larger than what is available in | 2010-07-01 | 1 | -1/+8 | ||
| | | | | | | | | the buffer, return immediately. This fixes reading large messages, and allows bad requests to be cancelled earlier. Originally from Alexander Schrijver, tweaked by me. | |||||
| * | Fix two possible null pointer assignments in the error path. | 2010-07-01 | 1 | -3/+3 | ||
| | | | | | found by clang static analyzer | |||||
| * | Fix a null pointer dereference when writing an entry requiring a single | 2010-07-01 | 1 | -3/+6 | ||
| | | | | | | overflow page. Found by clang static analyzer. Also add some assertions to silence clang. | |||||
| * | Remove dead assignments. Found by clang static analyzer. | 2010-07-01 | 5 | -31/+14 | ||
| | | ||||||
| * | Add checks that we're not adding immutable attributes, just as we're | 2010-07-01 | 1 | -20/+48 | ||
| | | | | | | | | | disallowing modifying immutable attributes. Remove the check for modifying operational attributes, as there's nothing that disallows that (except that they're also often marked as immutable). While here, check the return value from ber_add_* and ldap_add_attribute. | |||||
| * | Set a default btree cache size. | 2010-06-30 | 1 | -1/+3 | ||
| | | ||||||
| * | Don't prune page cache directly when adding to it. Fixes a crash with a | 2010-06-30 | 1 | -2/+4 | ||
| | | | | | | | zero cache-size. found by william@ | |||||
| * | Change the example for the 'include' keyword as schema files are no longer | 2010-06-30 | 1 | -2/+2 | ||
| | | | | | | | included that way. pointed out by william@ | |||||
| * | remove trailing spaces | 2010-06-30 | 2 | -6/+6 | ||
| | | ||||||
| * | Validate that an entry can't belong to an abstract object class directly, | 2010-06-30 | 1 | -3/+32 | ||
| | | | | | | unless it also belongs to a subclassed object class (structural or auxiliary). | |||||
| * | Add a global root user that is allowed to read/write entries in all local | 2010-06-30 | 4 | -10/+35 | ||
| | | | | | namespaces. Useful for dump/restore of all namespaces. | |||||
| * | Don't send statistics for referral namespaces. This unbreaks ldapctl stats. | 2010-06-30 | 2 | -2/+6 | ||
| | | | | | Avoid null pointer dereference when reopening a namespace. | |||||
| * | Move OBJ_NAME and ATTR_NAME macros to schema.h so it's reachable from | 2010-06-30 | 2 | -8/+8 | ||
| | | | | | schema parser. Also fix a typo. | |||||
| * | Verify that any object class subclassing is allowed. | 2010-06-30 | 1 | -1/+38 | ||
| | | ||||||
| * | Validate that all attributes are allowed by any of its object classes. | 2010-06-30 | 1 | -28/+119 | ||
| | | | | | | | Properly expand the object class hierarchy before doing this. Also verify that there is only one structural object class. Finally add support for the extensibleObject auxiliary object class. | |||||
| * | sort SEE ALSO; | 2010-06-29 | 1 | -3/+3 | ||
| | | ||||||
| * | Add support for referrals. Referrals are configured in the config file, | 2010-06-29 | 8 | -23/+217 | ||
| | | | | | | | either in the global context or in a namespace. The latter can be used to delegate requests to different servers for specific parts of the DIT. The former is a global catch-all referral. | |||||
| * | document the 'schema' keyword, and remove the placeholders for schema syntax | 2010-06-29 | 1 | -8/+4 | ||
| | | ||||||
| * | Remember on what listener a connection got from, and return protocol error | 2010-06-29 | 3 | -3/+10 | ||
| | | | | | | if trying to use starttls without a configured certificate, instead of just blocking the client. | |||||
| * | Fix signedness warnings. | 2010-06-29 | 1 | -6/+7 | ||
| | | | | | Noticed by deraadt | |||||
| * | don't overwrite the return code from validate_entry | 2010-06-29 | 1 | -2/+2 | ||
| | | ||||||
| * | Rewrite the schema parser, as it's not a context-free grammar. | 2010-06-29 | 8 | -578/+1141 | ||
| | | | | | | | | | | | This also brings the config parser more in line with other parse.y in the tree. The new schema parser also supports symbolic OID names. You need to update your /etc/ldapd.conf. Schema files are no longer included with the 'include' keyword, you have to use 'schema' for that. Moves schema-related structures to a separate include file to ease reuse. | |||||
| * | Use the proper OIDs for syntax description, instead of bogus symbolic | 2010-06-28 | 1 | -25/+25 | ||
| | | | | | names. | |||||
| * | return value unused, found by lint | 2010-06-27 | 2 | -7/+5 | ||
| | | ||||||
| * | Remove unused functions and variables, found by lint. | 2010-06-27 | 4 | -259/+8 | ||
| | | ||||||
| * | Remove unused code. | 2010-06-27 | 2 | -29/+3 | ||
| | | ||||||
| * | remove an unused typedef | 2010-06-27 | 1 | -4/+1 | ||
| | | ||||||
| * | Add support for different page sizes in the btree. Add a new header page | 2010-06-27 | 1 | -262/+384 | ||
| | | | | | | | | type and move the page size, magic and version from the meta page here. Bump the btree version number. This requires a dump/restore of any existing databases. | |||||
| * | Unbreak removal of one-level search index. | 2010-06-26 | 1 | -31/+36 | ||
| | | ||||||
| * | remove leftovers from old compaction code | 2010-06-23 | 1 | -24/+1 | ||
| | | ||||||
| * | Set errno to appropriate values when returning failure in btree. Make btree | 2010-06-23 | 7 | -156/+169 | ||
| | | | | | | functions only return success or failure (-1 or NULL). Update callers to check errno. | |||||
| * | Remove compaction and indexing from ldapd. It is better done by a separate | 2010-06-23 | 6 | -425/+8 | ||
| | | | | | process now that the btree can pick up the changes automatically. | |||||
| * | Fix byte alignment on sparc64. | 2010-06-17 | 1 | -4/+4 | ||
| | | | | | From Alexander Schrijver. | |||||
