summaryrefslogtreecommitdiffstats
path: root/src/plug-nis.c
Commit message (Collapse)AuthorAgeFilesLines
* log message fixupsNalin Dahyabhai2012-11-141-1/+1
| | | | | - 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-22/+52
| | | | | | | | | * 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-9/+25
| | | | | | | | | | 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-1/+1
| | | | | | 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-1/+19
| | | | | | 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
* - 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
|
* - don't crash if we hit out-of-memory on startup (defect #10096)Nalin Dahyabhai2011-01-031-10/+12
|
* - when not configured to use a specific port, bindresvport to a datagramNalin Dahyabhai2009-05-141-3/+4
| | | | | socket so that we avoid trying to use the same one that we might be using for a portmap client socket
* - try to set the reuse-address socket option at the right level (socket,Nalin Dahyabhai2009-05-141-2/+2
| | | | not IP) this time
* - remove unused variablesNalin Dahyabhai2009-05-061-2/+1
|
* - revert to registering plugins at init-time, which is what the docsNalin Dahyabhai2009-05-061-28/+26
| | | | | | 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-34/+40
| | | | startup-time, so that the hooks will only be used if we're enabled
* - handle argument order and count changing for portmap registration functionsNalin Dahyabhai2009-02-121-115/+66
| | | | | - pass IPPROTO_XXX instead of SOCK_XXX to registration function - if we're registering/unregistering IPv6, also register/unregister IPv4
* - first (non-working) pass at registering with rpcbindNalin Dahyabhai2009-02-111-2/+33
|
* - use our own bind-reserve-port helper, which should work with eitherNalin Dahyabhai2009-02-111-45/+79
| | | | | ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family
* - give callback registration the ability to return errorsNalin Dahyabhai2008-12-031-3/+55
| | | | | - make the nis plugin register two types of internal plugins, since it can't just be a postop plugin any more
* - remove unnecessary headerNalin Dahyabhai2008-11-131-1/+0
|
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - log fatal startup errors at level fatal, not pluginNalin Dahyabhai2008-07-101-21/+84
| | | | | - treat inability to bind to the tcp socket as fatal - close listening and portmap-client sockets at shutdown-time
* - tweak an error messageNalin Dahyabhai2008-07-091-2/+2
|
* - add framework for adding a test suiteNalin Dahyabhai2008-07-081-1/+11
| | | | - provide a way to get the nis plugin to run more or less unprivileged
* - free the tcp_wrappers struct at shutdown-timeNalin Dahyabhai2008-07-071-0/+3
|
* - clean up the map data at shutdown timeNalin Dahyabhai2008-07-071-0/+1
| | | | - add a shutdown function to the sch plugin so that it can clean up its cache
* - remove some bogus logic that's left over from when we tried to use aNalin Dahyabhai2008-07-031-29/+23
| | | | listening socket to talk to the portmapper
* - there is no map-specific startup functionNalin Dahyabhai2008-07-011-1/+0
|
* - have the plugin call backend initialization directlyNalin Dahyabhai2008-06-301-1/+4
|
* - start adding an sch backendNalin Dahyabhai2008-06-301-1/+1
| | | | - start factoring out the backend logic where the sch and nis backends overlap
* - rename dispatch to disp-nisNalin Dahyabhai2008-06-301-1/+1
|
* - rename plugin.c,plugin.h to plug-nis.c,plug-nis.hNalin Dahyabhai2008-06-301-0/+365