Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try reconnecting if rpcbind EPIPEs us | Nalin Dahyabhai | 2013-10-01 | 1 | -8/+12 |
| | | | | | | | If the NIS server encounters an EPIPE while attempting to communicate with the portmapper, try to reconnect before giving up on registering. Depending on which RPC implementation is used, rpcbind may drop idle clients after 30 seconds, and our startup can take longer than that. | ||||
* | Error out if the listener can't be non-blocking | Nalin Dahyabhai | 2013-08-27 | 1 | -2/+9 |
| | |||||
* | log message fixups | Nalin Dahyabhai | 2012-11-14 | 1 | -1/+1 |
| | | | | | - put a newline at the end of these two messages - register callbacks in a consistent order | ||||
* | show betxn settings in the plugin version | Nalin Dahyabhai | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Overhaul betxn support | Nalin Dahyabhai | 2012-11-01 | 1 | -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 aware | Noriko Hosoi | 2012-10-16 | 1 | -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 transactions | Nalin Dahyabhai | 2012-06-13 | 1 | -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 Dahyabhai | 2012-01-16 | 1 | -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 year | Nalin Dahyabhai | 2012-01-16 | 1 | -1/+1 |
| | |||||
* | - in callbacks, only use pblocks that are built from pblocks that we | Nalin Dahyabhai | 2012-01-16 | 1 | -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 Dahyabhai | 2012-01-09 | 1 | -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 Dahyabhai | 2012-01-09 | 1 | -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 ourselves | Nalin Dahyabhai | 2011-05-13 | 1 | -2/+2 |
| | |||||
* | we don't use syslog, so don't bother including the header | Nalin Dahyabhai | 2011-01-28 | 1 | -1/+0 |
| | |||||
* | - don't crash if we hit out-of-memory on startup (defect #10096) | Nalin Dahyabhai | 2011-01-03 | 1 | -10/+12 |
| | |||||
* | - when not configured to use a specific port, bindresvport to a datagram | Nalin Dahyabhai | 2009-05-14 | 1 | -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 Dahyabhai | 2009-05-14 | 1 | -2/+2 |
| | | | | not IP) this time | ||||
* | - remove unused variables | Nalin Dahyabhai | 2009-05-06 | 1 | -2/+1 |
| | |||||
* | - revert to registering plugins at init-time, which is what the docs | Nalin Dahyabhai | 2009-05-06 | 1 | -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 at | Nalin Dahyabhai | 2009-05-06 | 1 | -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 functions | Nalin Dahyabhai | 2009-02-12 | 1 | -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 rpcbind | Nalin Dahyabhai | 2009-02-11 | 1 | -2/+33 |
| | |||||
* | - use our own bind-reserve-port helper, which should work with either | Nalin Dahyabhai | 2009-02-11 | 1 | -45/+79 |
| | | | | | ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family | ||||
* | - give callback registration the ability to return errors | Nalin Dahyabhai | 2008-12-03 | 1 | -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 header | Nalin Dahyabhai | 2008-11-13 | 1 | -1/+0 |
| | |||||
* | - move config.h into src/ | Nalin Dahyabhai | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | - log fatal startup errors at level fatal, not plugin | Nalin Dahyabhai | 2008-07-10 | 1 | -21/+84 |
| | | | | | - treat inability to bind to the tcp socket as fatal - close listening and portmap-client sockets at shutdown-time | ||||
* | - tweak an error message | Nalin Dahyabhai | 2008-07-09 | 1 | -2/+2 |
| | |||||
* | - add framework for adding a test suite | Nalin Dahyabhai | 2008-07-08 | 1 | -1/+11 |
| | | | | - provide a way to get the nis plugin to run more or less unprivileged | ||||
* | - free the tcp_wrappers struct at shutdown-time | Nalin Dahyabhai | 2008-07-07 | 1 | -0/+3 |
| | |||||
* | - clean up the map data at shutdown time | Nalin Dahyabhai | 2008-07-07 | 1 | -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 a | Nalin Dahyabhai | 2008-07-03 | 1 | -29/+23 |
| | | | | listening socket to talk to the portmapper | ||||
* | - there is no map-specific startup function | Nalin Dahyabhai | 2008-07-01 | 1 | -1/+0 |
| | |||||
* | - have the plugin call backend initialization directly | Nalin Dahyabhai | 2008-06-30 | 1 | -1/+4 |
| | |||||
* | - start adding an sch backend | Nalin Dahyabhai | 2008-06-30 | 1 | -1/+1 |
| | | | | - start factoring out the backend logic where the sch and nis backends overlap | ||||
* | - rename dispatch to disp-nis | Nalin Dahyabhai | 2008-06-30 | 1 | -1/+1 |
| | |||||
* | - rename plugin.c,plugin.h to plug-nis.c,plug-nis.h | Nalin Dahyabhai | 2008-06-30 | 1 | -0/+365 |