summaryrefslogtreecommitdiffstats
path: root/src/back-sch.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - return unwilling-to-perform instead of insufficient-access in responseNalin Dahyabhai2010-08-021-2/+2
| | | | to write requests
* - revert to registering plugins at init-time, which is what the docsNalin Dahyabhai2009-05-061-0/+13
| | | | | | say we should do - use whether or not the plugin_base is initialized as in indicator of whether the plugin's been started or not
* - merge discovered values rather than straight-out adding them, so thatNalin Dahyabhai2008-12-081-8/+9
| | | | the duplicates don't show up in the constructed entry
* - don't use a DN as the right-side of a search filter, since theNalin Dahyabhai2008-12-031-30/+82
| | | | server doesn't know that the attribute should have DN syntax
* - give callback registration the ability to return errorsNalin Dahyabhai2008-12-031-3/+19
| | | | | - make the nis plugin register two types of internal plugins, since it can't just be a postop plugin any more
* - use a counter to make sure we don't recurse inside the same thread,Nalin Dahyabhai2008-12-021-18/+22
| | | | | which might cause us to try to take a read lock when we're holding the write lock, or vice-versa
* - abortive work at rejecting all internal-originating searches outrightNalin Dahyabhai2008-11-211-1/+11
| | | | - fix the error message given when hooking up the compare callback doesn't work
* - avoid getting read locks when we know we already have themNalin Dahyabhai2008-11-181-6/+0
|
* - merge backend_check_scope() with its only caller, backend_check_scope_pb()Nalin Dahyabhai2008-11-181-14/+3
|
* - clear some memory before using itNalin Dahyabhai2008-11-041-0/+1
|
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - don't forget to correctly populate the ref_attr_listNalin Dahyabhai2008-10-241-0/+3
|
* - add another list of attributes and parents, for use in chasing andNalin Dahyabhai2008-09-101-3/+7
| | | | tracking multi-hop backreferences
* - wire the format_ref_attr_list structure into the two pluginsNalin Dahyabhai2008-09-081-0/+7
|
* - get particular about spellingNalin Dahyabhai2008-09-041-2/+2
|
* - add operational attributes to synthetic group and set entries, tooNalin Dahyabhai2008-09-041-22/+52
| | | | | - add the "numsubordinates" and "hassubordinates" operational attributes, too
* - populate the operational attributes when we synthesize an entryNalin Dahyabhai2008-09-041-0/+21
| | | | | | | | createTimestamp (now) modifyTimestamp (now) creatorsName (the plugin) modifiersName (the plugin) entryDN (the new entry)
* - 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
* - remove unused variablesNalin Dahyabhai2008-07-311-1/+0
|
* - handle the changed map interfacesNalin Dahyabhai2008-07-301-3/+7
|
* - use an internal function to send search results back in the expected mannerNalin Dahyabhai2008-07-151-5/+20
|
* - always return 0 from our search callback so that the backend will actuallyNalin Dahyabhai2008-07-141-2/+23
| | | | go on and send the result
* - fix scoping and matchedDN calculations, except for the result codeNalin Dahyabhai2008-07-141-11/+109
|
* - normalize RDNs and DNs used to name sets and groupsNalin Dahyabhai2008-07-111-6/+6
|
* - move the lock backNalin Dahyabhai2008-07-111-86/+17
| | | | - go back to exhaustive searching for now
* - don't release the lock while we might still be using the "matched" valueNalin Dahyabhai2008-07-111-2/+2
|
* - oops, handle the "failed to generate a valid RDN" caseNalin Dahyabhai2008-07-101-0/+8
|
* - add a helper for checking if we've been called by ourselvesNalin Dahyabhai2008-07-101-0/+8
| | | | - if a search was initiated by us, don't bother (and also don't deadlock)
* - slight reordering of operationsNalin Dahyabhai2008-07-101-4/+4
|
* - LDAP_SCOPE_ONE->LDAP_SCOPE_ONELEVELNalin Dahyabhai2008-07-091-6/+8
| | | | - LDAP_SCOPE_SUB->LDAP_SCOPE_SUBTREE
* - remove unused variablesNalin Dahyabhai2008-07-091-11/+2
|
* - don't leak the filterNalin Dahyabhai2008-07-071-3/+8
| | | | | | | - initialize the ava lengths list so that we don't try to free uninitialized pointers - redo how we set the dn on the constructed entries so that we don't have the server taking ownership of memory that we allocated
* - associative property ftwNalin Dahyabhai2008-07-071-2/+2
|
* - skip zero-length valuesNalin Dahyabhai2008-07-071-3/+21
| | | | - if a search is scope==one, do a DN compare while we search the set of entries
* - don't skip values just because they might be emptyNalin Dahyabhai2008-07-031-1/+1
|
* - fix copy/paste errors in reading of configuration dataNalin Dahyabhai2008-07-031-1/+1
|
* - update for new length-setting formatting APINalin Dahyabhai2008-07-031-222/+48
| | | | | - use shared vattr-aware attribute reading functions to cut down the amount of code we use to read the configuration
* - factor out checking if an entry is one of oursNalin Dahyabhai2008-07-031-50/+128
| | | | | | | - add a function to retrieve the entry data for a given RDN - during bind requests, return a referral to the right entry if it's not one we just made up, else fail the bind - fail to compare anything we're supplying.... for now
* - function rename: set_entry_one -> set_entryNalin Dahyabhai2008-07-031-1/+1
|
* - also track the DN of the originating entryNalin Dahyabhai2008-07-031-9/+86
| | | | - hook bind (insufficient_access) and compare (unwilling_to_perform) requests
* - start blocking writes to our groupsNalin Dahyabhai2008-07-021-4/+68
|
* - add rdn values to group and set entriesNalin Dahyabhai2008-07-021-7/+26
| | | | | | - send the result ourselves when the search is confined to one of our groups - recreate the entry from the ldif created using the entry so that it's well-formed
* - support search matches against the group container and the entry set inNalin Dahyabhai2008-07-021-41/+132
| | | | addition to the entries themselves
* rename backend_shr_set_config_entry_add_one -> backend_shr_set_config_entry_addNalin Dahyabhai2008-07-021-26/+31
| | | | | 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-13/+12
| | | | - rename check_aci to check_access
* - tweak some log messagesNalin Dahyabhai2008-07-011-3/+3
|
* - start sending result information back to the clientNalin Dahyabhai2008-07-011-5/+29
|
* - make sense of matching resultsNalin Dahyabhai2008-07-011-5/+17
|
* - check whether or not to enforce access controlNalin Dahyabhai2008-07-011-74/+153
| | | | | - use shared functionality for checking if an entry defines a set - start a search callback
* - format_referrer: don't try to free a non-heap string if we can't find aNalin Dahyabhai2008-07-011-6/+49
| | | | | | | 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