summaryrefslogtreecommitdiffstats
path: root/src/back-nis.c
Commit message (Collapse)AuthorAgeFilesLines
* Add nis-relevant-subtree and nis-ignore-subtreeNalin Dahyabhai2013-09-121-4/+12
|
* Add schema-compat-relevant-subtreeNalin Dahyabhai2013-09-121-0/+3
| | | | | | | | | | Add a schema-compat-relevant-subtree configuration option, listing the only parts of the DIT that we should ever look at, either as source entries or as other entries which contain data which might be pulled in as part of computing the contents of compat entries. This is more or less the whitelist to schema-compat-ignore-subtree's blacklist.
* Add schema-compat-ignore-subtreeNalin Dahyabhai2013-09-121-0/+2
| | | | | | | 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.
* fixup log messages and a signed booleanNalin Dahyabhai2012-11-141-2/+2
| | | | | - add missing newlines at the end of a couple of messages - make that one bit that we compare to zero unsigned instead of signed
* Overhaul betxn supportNalin Dahyabhai2012-11-011-1/+23
| | | | | | | | | * 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-10/+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.
* - remove unused variablesNalin Dahyabhai2012-01-241-6/+6
|
* - fixup a couple of debug log messagesNalin Dahyabhai2012-01-231-2/+2
|
* - in callbacks, only use pblocks that are built from pblocks that weNalin Dahyabhai2012-01-161-23/+29
| | | | | | 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()
* - avoid using pblocks for more than one internal operation - the serverNalin Dahyabhai2012-01-111-1/+1
| | | | | | allocates internal state each time but doesn't clean up any that's aready there if you reuse the block - correctly free values we use when constructing compat entries
* - have slapi_search_internal_get_entry() always set its result to NULL on ↵Nalin Dahyabhai2012-01-111-0/+1
| | | | failure
* - get the disabling logic rightNalin Dahyabhai2012-01-101-3/+3
|
* - add a testing option for toggling the skip-uninteresting-updates logicNalin Dahyabhai2012-01-101-0/+8
|
* - most of what's needed to hook back-end txn postoperations, except for the ↵Nalin Dahyabhai2012-01-091-0/+10
| | | | passing the TXN ID around, which means we deadlock if we actually do it
* - Make a note of which attributes we read from any entry when evaluating ↵Nalin Dahyabhai2012-01-061-3/+16
| | | | data, and when we're later called for a modify request which doesn't modify any of those attributes, skip recalculating the entry contents (should make a dent in #771493).
* - get more verbose with loggingNalin Dahyabhai2011-07-261-0/+7
|
* - don't assume that libc will provide yp headers -- build them ourselvesNalin Dahyabhai2011-05-131-2/+2
|
* - don't leak single_lengths on out-of-memory allocating lengths (defect #10104)Nalin Dahyabhai2011-01-061-1/+2
|
* - don't leak an array of lengths (defect #10104)Nalin Dahyabhai2011-01-031-0/+1
|
* - allocate space for n integers, not n pointers to integers (defect #10110)Nalin Dahyabhai2011-01-031-1/+1
|
* - teach wrap_search_internal_get_entry to take an optional filterNalin Dahyabhai2010-11-221-1/+1
| | | | | - where we were applying a filter test after retrieving an entry, just let the retrieval function do it
* - note where we search for configuration dataNalin Dahyabhai2008-12-031-0/+4
|
* - give callback registration the ability to return errorsNalin Dahyabhai2008-12-031-3/+11
| | | | | - make the nis plugin register two types of internal plugins, since it can't just be a postop plugin any more
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - add another list of attributes and parents, for use in chasing andNalin Dahyabhai2008-09-101-2/+10
| | | | tracking multi-hop backreferences
* - wire the format_ref_attr_list structure into the two pluginsNalin Dahyabhai2008-09-081-0/+10
|
* - make some used-only-locally functions staticNalin Dahyabhai2008-07-311-0/+22
| | | | | - warn if a map is going to be empty, because it usually signals a misconfiguration of some kind
* - add a few commentsNalin Dahyabhai2008-07-311-0/+11
|
* - when gathering data, suppress empty groupsNalin Dahyabhai2008-07-311-21/+27
| | | | | | - when reading NIS configuration, treat having an explicitly specified key-format or keys-format as reason to discard the defaults for both, and treat value-format and values-format similarly
* backend_free_gathered_data()Nalin Dahyabhai2008-07-301-5/+13
| | | | | | | | | - double-check that arrays aren't NULL before indexing then backend_gather_data() - in the event of a parsing error, actually return zero as the length of the arrays we'd be populating - correctly NULL terminate the list of results we hand back
* - handle values-format, a la keys-formatNalin Dahyabhai2008-07-301-180/+304
| | | | | - factor out code which retrieves key and keys lists so that it can be reused to pull up value data, too
* - add a wrapper for the slapi_search_internal_get_entry() functionNalin Dahyabhai2008-07-221-3/+3
|
* - LDAP_SCOPE_ONE->LDAP_SCOPE_ONELEVELNalin Dahyabhai2008-07-091-1/+1
| | | | - LDAP_SCOPE_SUB->LDAP_SCOPE_SUBTREE
* - remove unused variablesNalin Dahyabhai2008-07-091-14/+6
|
* - allow a binary 0 (base64 "AA==") to override a default without supplying aNalin Dahyabhai2008-07-091-2/+2
| | | | value, for when we want to remove a default key-format and add a keys-format
* - correctly handle the case where the tcpwrappers daemon name isn't configuredNalin Dahyabhai2008-07-071-3/+18
|
* - fill in the default filter if we fail to find an explicitly-configured one,Nalin Dahyabhai2008-07-071-3/+6
| | | | rather than overwriting the default with NULL if we fail to find one
* - don't overrun the key lengths buffers when we're setting up NIS keysNalin Dahyabhai2008-07-031-4/+6
|
* - fix copy/paste errors in reading of configuration dataNalin Dahyabhai2008-07-031-1/+1
|
* - update for new length-setting formatting APINalin Dahyabhai2008-07-031-316/+89
| | | | | - use shared vattr-aware attribute reading functions to cut down the amount of code we use to read the configuration
* - function rename: set_entry_one -> set_entryNalin Dahyabhai2008-07-031-1/+1
|
* rename backend_shr_set_config_entry_add_one -> backend_shr_set_config_entry_addNalin Dahyabhai2008-07-021-9/+8
| | | | | just expect the specific backend to return a filter when checking if an entry is is a set configuration
* - rename unset_entry_id to unset_entryNalin Dahyabhai2008-07-021-7/+6
| | | | - rename check_aci to check_access
* - use shared functionality for checking if an entry is a mapNalin Dahyabhai2008-07-011-52/+4
|
* - format_referrer: don't try to free a non-heap string if we can't find aNalin Dahyabhai2008-07-011-3/+21
| | | | | | | configuration for the referred-to map - free map configurations correctly - if needed, wrap a user-supplied filter in "()" when the formatter asks for the filter
* - make the shared parts of the configuration actually shared so that we canNalin Dahyabhai2008-07-011-99/+67
| | | | drop accessors for reading the shared parts
* - group dataNalin Dahyabhai2008-06-301-2/+4
|
* - remove unused variablesNalin Dahyabhai2008-06-301-2/+2
|
* - take out the need for a backend to provide a matching testNalin Dahyabhai2008-06-301-57/+0
| | | | - start adding configuration for the schema plugin
* - be more consisten about group/set nomenclatureNalin Dahyabhai2008-06-301-7/+7
|