Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-06 | Adapt code to adhere to the comment (now that doesn't happen very often!). | Martin Hedenfal | |
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. | |||
2010-07-06 | Check return code from commit. Incorrectly returned success when commit | Martin Hedenfal | |
failed due to disk full. | |||
2010-07-05 | Unbreak writing updates to the btree while having a cursor open on the | Martin Hedenfal | |
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. | |||
2010-07-05 | Plug a memory leak when aborting transactions. | Martin Hedenfal | |
2010-07-05 | Close cursor on delete. Fixes memory leak introduced by non-leaf delete | Martin Hedenfal | |
check. | |||
2010-07-02 | Dump parsed schema to buffer and send in requests for the cn=schema | Martin Hedenfal | |
subschema namespace. Only do this if 'objectClasses' and 'attributeTypes' are expicitly requested. This allows clients to for example present custom editing forms. | |||
2010-07-02 | Don't validate modification of immutable attributes if the namespace is | Martin Hedenfal | |
configured with relaxed schema checking. | |||
2010-07-02 | Disallow deleting non-leaf nodes. | Martin Hedenfal | |
2010-07-02 | Add a BT_CURSOR_EXACT operation to btree_cursor_get. It behaves like | Martin Hedenfal | |
BT_CURSOR, but fails if the key is not found. | |||
2010-07-02 | Plug a memory leak where each update leaked one page. | Martin Hedenfal | |
2010-07-02 | Fix memory leaks in schema parser. | Martin Hedenfal | |
2010-07-01 | Implement the LDAP compare operation. | Martin Hedenfal | |
2010-07-01 | Parse (and ignore) schema extensions with an X- prefix. Bail on unknown ↵ | Martin Hedenfal | |
keywords. | |||
2010-07-01 | Give a more descriptive error message when an object class definition | Martin Hedenfal | |
references non-existent attribute types. from william@ | |||
2010-07-01 | Free the list of object classes allocated after validating an entry. | Martin Hedenfal | |
2010-07-01 | reset number of revisions after compaction | Martin Hedenfal | |
2010-07-01 | Copy statistics to the compacted database so it isn't lost. | Martin Hedenfal | |
2010-07-01 | If the length of an element being read is larger than what is available in | Martin Hedenfal | |
the buffer, return immediately. This fixes reading large messages, and allows bad requests to be cancelled earlier. Originally from Alexander Schrijver, tweaked by me. | |||
2010-07-01 | Fix two possible null pointer assignments in the error path. | Martin Hedenfal | |
found by clang static analyzer | |||
2010-07-01 | Fix a null pointer dereference when writing an entry requiring a single | Martin Hedenfal | |
overflow page. Found by clang static analyzer. Also add some assertions to silence clang. | |||
2010-07-01 | Remove dead assignments. Found by clang static analyzer. | Martin Hedenfal | |
2010-07-01 | Add checks that we're not adding immutable attributes, just as we're | Martin Hedenfal | |
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. | |||
2010-06-30 | Set a default btree cache size. | Martin Hedenfal | |
2010-06-30 | Don't prune page cache directly when adding to it. Fixes a crash with a | Martin Hedenfal | |
zero cache-size. found by william@ | |||
2010-06-30 | Change the example for the 'include' keyword as schema files are no longer | Martin Hedenfal | |
included that way. pointed out by william@ | |||
2010-06-30 | remove trailing spaces | Martin Hedenfal | |
2010-06-30 | Validate that an entry can't belong to an abstract object class directly, | Martin Hedenfal | |
unless it also belongs to a subclassed object class (structural or auxiliary). | |||
2010-06-30 | Add a global root user that is allowed to read/write entries in all local | Martin Hedenfal | |
namespaces. Useful for dump/restore of all namespaces. | |||
2010-06-30 | Don't send statistics for referral namespaces. This unbreaks ldapctl stats. | Martin Hedenfal | |
Avoid null pointer dereference when reopening a namespace. | |||
2010-06-30 | Move OBJ_NAME and ATTR_NAME macros to schema.h so it's reachable from | Martin Hedenfal | |
schema parser. Also fix a typo. | |||
2010-06-30 | Verify that any object class subclassing is allowed. | Martin Hedenfal | |
2010-06-30 | Validate that all attributes are allowed by any of its object classes. | Martin Hedenfal | |
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. | |||
2010-06-29 | sort SEE ALSO; | Jason McIntyre | |
2010-06-29 | Add support for referrals. Referrals are configured in the config file, | Martin Hedenfal | |
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. | |||
2010-06-29 | document the 'schema' keyword, and remove the placeholders for schema syntax | Martin Hedenfal | |
2010-06-29 | Remember on what listener a connection got from, and return protocol error | Martin Hedenfal | |
if trying to use starttls without a configured certificate, instead of just blocking the client. | |||
2010-06-29 | Fix signedness warnings. | Martin Hedenfal | |
Noticed by deraadt | |||
2010-06-29 | don't overwrite the return code from validate_entry | Martin Hedenfal | |
2010-06-29 | Rewrite the schema parser, as it's not a context-free grammar. | Martin Hedenfal | |
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. | |||
2010-06-28 | Use the proper OIDs for syntax description, instead of bogus symbolic | Martin Hedenfal | |
names. | |||
2010-06-27 | return value unused, found by lint | Martin Hedenfal | |
2010-06-27 | Remove unused functions and variables, found by lint. | Martin Hedenfal | |
2010-06-27 | Remove unused code. | Martin Hedenfal | |
2010-06-27 | remove an unused typedef | Martin Hedenfal | |
2010-06-27 | Add support for different page sizes in the btree. Add a new header page | Martin Hedenfal | |
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. | |||
2010-06-26 | Unbreak removal of one-level search index. | Martin Hedenfal | |
2010-06-23 | remove leftovers from old compaction code | Martin Hedenfal | |
2010-06-23 | Set errno to appropriate values when returning failure in btree. Make btree | Martin Hedenfal | |
functions only return success or failure (-1 or NULL). Update callers to check errno. | |||
2010-06-23 | Remove compaction and indexing from ldapd. It is better done by a separate | Martin Hedenfal | |
process now that the btree can pick up the changes automatically. | |||
2010-06-17 | Fix byte alignment on sparc64. | Martin Hedenfal | |
From Alexander Schrijver. |