summaryrefslogtreecommitdiffstats
path: root/src/plug-sch.c
Commit message (Collapse)AuthorAgeFilesLines
* schema-compat: introduce a lock to protect PAM authenticationAlexander Bokovoy2013-08-071-0/+3
| | | | | | | | PAM stack requires exclusive access, therefore we need to use a write lock. Required for authenticating synthetically created records coming outside of LDAP store.
* include header to avoid implicit declarationNalin Dahyabhai2012-11-141-0/+1
|
* log message fixupsNalin Dahyabhai2012-11-141-10/+12
| | | | | - put a newline at the end of these two messages - register callbacks in a consistent order
* show betxn settings in the plugin versionNalin Dahyabhai2012-11-131-1/+1
|
* Overhaul betxn supportNalin Dahyabhai2012-11-011-77/+68
| | | | | | | | | * 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.
* make NIS Plugin and Schema Compatibility Plugin betxn awareNoriko Hosoi2012-10-161-26/+103
| | | | | | | | | | When NIS Plugin and Schema Compatibility Plugin config entries include nsslapd-pluginbetxn: on (the value could be yes, true or 1, too), the plugins' update callbacks (add, delete, modify, and modrdn) are called at the betxn pre/postop timing. By default, the value of nsslapd-pluginbetxn is off. (See also https://fedorahosted.org/389/ticket/351)
* drop support for directory server transactionsNalin Dahyabhai2012-06-131-28/+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.
* - if the entry being touched is in an ldbm back-end, but there's no ↵Nalin Dahyabhai2012-01-161-2/+0
| | | | transaction ID, just return, and have faith that we'll be called again in the transaction post
* - 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/+2
| | | | | | 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()
* - change how we skip the be-txn-post hook so that it doesn't produce a ↵Nalin Dahyabhai2012-01-091-0/+2
| | | | | | misleading debug message - set IPV6_V6ONLY to avoid logging an expected EADDRINUSE error
* - most of what's needed to hook back-end txn postoperations, except for the ↵Nalin Dahyabhai2012-01-091-0/+28
| | | | passing the TXN ID around, which means we deadlock if we actually do it
* fix a typo in the error messageNalin Dahyabhai2011-12-051-1/+1
|
* - don't assume that libc will provide yp headers -- build them ourselvesNalin Dahyabhai2011-05-131-2/+2
|
* we don't use syslog, so don't bother including the headerNalin Dahyabhai2011-01-281-1/+0
|
* - remove that debug message, it's redundantNalin Dahyabhai2009-05-071-1/+0
|
* - revert to registering plugins at init-time, which is what the docsNalin Dahyabhai2009-05-061-38/+35
| | | | | | 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
* - register our internal pre-/post-/internalpre-op plugins atNalin Dahyabhai2009-05-061-44/+52
| | | | startup-time, so that the hooks will only be used if we're enabled
* - use our own bind-reserve-port helper, which should work with eitherNalin Dahyabhai2009-02-111-1/+0
| | | | | ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family
* - give callback registration the ability to return errorsNalin Dahyabhai2008-12-031-4/+40
| | | | | - 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
|
* - clean up the map data at shutdown timeNalin Dahyabhai2008-07-071-0/+11
| | | | - add a shutdown function to the sch plugin so that it can clean up its cache
* - sneak in the global state so that the preop and postop plugins get access toNalin Dahyabhai2008-07-021-36/+12
| | | | the base DN information
* - read the plugin base DN at plugin startup so that we can easily get to itNalin Dahyabhai2008-07-021-0/+20
| | | | later
* - register both preoperation and postoperation functionalityNalin Dahyabhai2008-07-011-4/+54
|
* - add a startup function to finish populating our private dataNalin Dahyabhai2008-07-011-0/+12
|
* - have the plugin call backend initialization directlyNalin Dahyabhai2008-06-301-1/+3
|
* - take out the need for a backend to provide a matching testNalin Dahyabhai2008-06-301-1/+1
| | | | - start adding configuration for the schema plugin
* - start adding an sch backendNalin Dahyabhai2008-06-301-0/+113
- start factoring out the backend logic where the sch and nis backends overlap