summaryrefslogtreecommitdiffstats
path: root/src/back-shr.h
Commit message (Collapse)AuthorAgeFilesLines
* Add ignore-subtree and restrict-subtree settingsNalin Dahyabhai2013-09-191-0/+1
| | | | | | | | | | | | | | Add {nis,schema-compat}-ignore-subtree (subtrees under which we ignore contents and updates )and {nis,schema-compat}-restrict-subtree (subtrees out of which we ignore contents and updates, if set) settings, and default the former to "cn=tasks,cn=config". This should avoid cases where we're looking through the ldbm backend for entries which have a dangling reference to a newly-added task (which, because it's in the DSE, means we acquire an ldbm lock after acquiring our internal lock) while also updating a compat entry after its source entry is modified (for example, by the memberOf plugin, which results in us attempting to acquire our lock while the ldbm lock is already held).
* Add schema-compat-ignore-subtreeNalin Dahyabhai2013-09-121-0/+5
| | | | | | | Add a schema-compat-ignore-subtree configuration option, listing parts of the DIT that we should never look at, neither as source entries nor as random other entries which contain data which might be pulled in as part of computing the contents of compat entries.
* Overhaul betxn supportNalin Dahyabhai2012-11-011-1/+4
| | | | | | | | | * Check for BETXN support at build-time, provide options for disabling or requiring that it be available for build to succeed. * Track whether or not BETXN support is enabled in the plugin-local state. * Skip processing in post/internalpost callbacks if BETXN support is enabled. * Skip work in betxnpost callbacks if BETXN support is disabled.
* drop support for directory server transactionsNalin Dahyabhai2012-06-131-3/+0
| | | | | | | Transaction support the way we added it is an all-or-nothing proposition for a server installation, which turned out to be problematic, so 389 is going to pursue another strategy for that. The new way requires that we not register as a betxn plugin, ever.
* - update copyright dates in files modified this yearNalin Dahyabhai2012-01-161-1/+1
|
* - in callbacks, only use pblocks that are built from pblocks that weNalin Dahyabhai2012-01-161-2/+5
| | | | | | already have, so that we can pass the transaction ID around; this includes additional parameters for a number of functions and a new callback data type for backend_set_config_entry_add_cb()
* - most of what's needed to hook back-end txn postoperations, except for the ↵Nalin Dahyabhai2012-01-091-0/+3
| | | | passing the TXN ID around, which means we deadlock if we actually do it
* - add backend_shr_internal_postop_init(), move internal postopNalin Dahyabhai2008-12-031-1/+2
| | | | registration to it, let callback registration return error codes
* - make some used-only-locally functions staticNalin Dahyabhai2008-07-311-3/+0
| | | | | - warn if a map is going to be empty, because it usually signals a misconfiguration of some kind
* - allow a binary 0 (base64 "AA==") to override a default without supplying aNalin Dahyabhai2008-07-091-0/+1
| | | | value, for when we want to remove a default key-format and add a keys-format
* - add more functions for reading vattr-stored configurationNalin Dahyabhai2008-07-031-0/+3
|
* - add some simple wrappers for reading configuration settingsNalin Dahyabhai2008-07-031-0/+9
|
* rename backend_shr_set_config_entry_add_one -> backend_shr_set_config_entry_addNalin Dahyabhai2008-07-021-7/+4
| | | | | just expect the specific backend to return a filter when checking if an entry is is a set configuration
* - drop backend-specific header filesNalin Dahyabhai2008-07-011-0/+3
|
* - take out the need for a backend to provide a matching testNalin Dahyabhai2008-06-301-0/+49
- start adding configuration for the schema plugin