Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try reconnecting if rpcbind EPIPEs us | Nalin Dahyabhai | 2013-10-01 | 1 | -50/+80 |
| | | | | | | | 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. | ||||
* | Use MSG_NOSIGNAL when sending a request to portmap | Nalin Dahyabhai | 2013-10-01 | 1 | -1/+1 |
| | |||||
* | Up the log severity on portmap errors | Nalin Dahyabhai | 2013-10-01 | 1 | -9/+9 |
| | | | | | | Log errors encountered while talking to portmap/rpcbind at level SLAPI_LOG_FATAL rather than at the previous SLAPI_LOG_PLUGIN, so that they show up even when we're not actively debugging. | ||||
* | Omit an unnecessary switch case | Nalin Dahyabhai | 2013-08-27 | 1 | -2/+0 |
| | |||||
* | Fix a missing xdr_free() | Nalin Dahyabhai | 2013-08-27 | 1 | -1/+1 |
| | |||||
* | Suppress some compiler warnings | Nalin Dahyabhai | 2013-08-12 | 1 | -0/+1 |
| | |||||
* | Fix some uninitialized-jump warnings | Nalin Dahyabhai | 2013-05-23 | 1 | -0/+2 |
| | | | | | | Clear buffers that we encode data into before encoding them, to avoid valgrind warnings that their contents are used before they're written to. | ||||
* | - don't assume that libc will provide yp headers -- build them ourselves | Nalin Dahyabhai | 2011-05-13 | 1 | -2/+2 |
| | |||||
* | - in main(), return an error exit result if we can't create a socket to | Nalin Dahyabhai | 2011-01-03 | 1 | -0/+4 |
| | | | | use for talking to the portmapper (defect #10100) | ||||
* | - in main(), return an error exit status if socket() fails (defect #10101) | Nalin Dahyabhai | 2011-01-03 | 1 | -0/+4 |
| | |||||
* | - actually send portmap registrations to the right serverslapi-nis-0.17 | Nalin Dahyabhai | 2009-05-14 | 1 | -1/+1 |
| | |||||
* | - remove unused variables | Nalin Dahyabhai | 2009-05-06 | 1 | -1/+0 |
| | |||||
* | - drop a debug message | Nalin Dahyabhai | 2009-02-12 | 1 | -4/+0 |
| | | | | - default to not using libtirpc | ||||
* | - move client socket creation here, so that we don't have to know how to | Nalin Dahyabhai | 2009-02-12 | 1 | -182/+372 |
| | | | | | | | | | | do it elsewhere - refactor the send/receive logic out so that it can be used for either rpcbind or portmap - try to connect to rpcbind over a local socket first, else assume we have to use portmap over IP - use our own rpcb encode/decode function to avoid mixing the one from libtirpc with the rest of libc's XDR functions -- THAT WOULD BE BAD | ||||
* | - first (non-working) pass at registering with rpcbind | Nalin Dahyabhai | 2009-02-11 | 1 | -17/+138 |
| | |||||
* | - use our own bind-reserve-port helper, which should work with either | Nalin Dahyabhai | 2009-02-11 | 1 | -11/+25 |
| | | | | | ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family | ||||
* | - move config.h into src/ | Nalin Dahyabhai | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | - more build machinery | Nalin Dahyabhai | 2008-05-29 | 1 | -0/+21 |
| | | | | | - license text in source files - elaborate on what's still to be done | ||||
* | - build cleanups | Nalin Dahyabhai | 2008-05-29 | 1 | -4/+10 |
| | | | | - remove some more NSPRisms in cases when XDRisms are even more portable | ||||
* | - some header cleanup | Nalin Dahyabhai | 2008-04-02 | 1 | -0/+1 |
| | | | | - always build a dummy plugin | ||||
* | - finish getting the basic NIS server going again | Nalin Dahyabhai | 2008-04-01 | 1 | -18/+19 |
| | |||||
* | try to clean this up a bit | Nalin Dahyabhai | 2008-03-27 | 1 | -7/+28 |
| | |||||
* | - bind to privileged ports using bindresvport() and not a hard-coded value | Nalin Dahyabhai | 2007-11-21 | 1 | -20/+51 |
| | | | | - get portmapper registration/deregistration working | ||||
* | - working on splitting out the portmap registration/unregistration | Nalin Dahyabhai | 2007-11-20 | 1 | -0/+211 |
- beginning to break out schema management |