Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweak the self-tests just a bit | Nalin Dahyabhai | 2014-04-22 | 2 | -5/+17 |
| | |||||
* | Correct the NIS defaults for "hosts" maps | Nalin Dahyabhai | 2014-04-22 | 1 | -4/+4 |
| | | | | | The values for NIS hosts.byname and hosts.byaddr maps should start with addresses, not names. Reported by Rik Megens. | ||||
* | Better handle out-of-memory reading configuration | Nalin Dahyabhai | 2014-03-17 | 1 | -8/+6 |
| | | | | | Avoid calling strdup() in a situation where we don't need to, so that we can better handle cases where it fails (static analysis). | ||||
* | Accept schema-compat-lookup-nsswitch: passwd | Nalin Dahyabhai | 2014-03-17 | 1 | -1/+8 |
| | | | | | | Treat "schema-compat-lookup-nsswitch: passwd" in the configuration the same as "schema-compat-lookup-nsswitch: user", to not fail for people who forget and try to use the nsswitch database name. | ||||
* | Better handle out-of-memory reading configuration | Nalin Dahyabhai | 2014-03-17 | 1 | -4/+20 |
| | | | | | | | If we hit out-of-memory (strdup() failures) while reading the configuration, don't crash (static analysis). In some cases, this means we proceed with garbage data until the copy_config() function sanity-checks its input and output. | ||||
* | Better handle out-of-memory reading configuration | Nalin Dahyabhai | 2014-03-17 | 1 | -2/+15 |
| | | | | | If we hit out-of-memory (strdup() failures) while reading the configuration, don't crash (static analysis). | ||||
* | Ignore unnamed entries when constructing NIS maps | Nalin Dahyabhai | 2014-03-14 | 1 | -2/+3 |
| | |||||
* | Fix a couple of memory leaks (static analysis) | Nalin Dahyabhai | 2014-03-14 | 1 | -1/+3 |
| | |||||
* | Check for OOM in format_expand_simple() | Nalin Dahyabhai | 2014-03-13 | 1 | -1/+4 |
| | |||||
* | Fixup nsswitch tests to allow the server to resolve its user | Nalin Dahyabhai | 2014-02-17 | 5 | -2/+15 |
| | |||||
* | Add free() of a NULL pointer to make tools happy | Nalin Dahyabhai | 2014-02-17 | 1 | -0/+4 |
| | |||||
* | Cast away type-mismatches calling xdr_free() (static analysis) | Nalin Dahyabhai | 2014-02-17 | 1 | -9/+9 |
| | |||||
* | Don't leak ftmp on out-of-memory (static analysis) | Nalin Dahyabhai | 2014-02-17 | 1 | -0/+1 |
| | |||||
* | Resync with latest mass rebuild | Nalin Dahyabhai | 2014-01-20 | 1 | -2/+5 |
| | |||||
* | Tweak exclusiveArch on EL7 | Nalin Dahyabhai | 2014-01-20 | 1 | -2/+6 |
| | | | | | Limit ExclusiveArch to EL releases < 7, since 7 apparently gets 389-ds-base on all arches by default. | ||||
* | Add a couple of bug references to RPM's changelog | Nalin Dahyabhai | 2013-12-17 | 1 | -2/+2 |
| | |||||
* | tag 0.52 | Nalin Dahyabhai | 2013-12-16 | 3 | -2/+12 |
| | |||||
* | Removing domains and maps correctly | Nalin Dahyabhai | 2013-12-16 | 1 | -6/+6 |
| | | | | | On domain or map removal, fill in gaps in the list of domains or maps correctly. | ||||
* | Actually allow TXN support to be enabled (ugh) | Nalin Dahyabhai | 2013-12-13 | 1 | -1/+1 |
| | |||||
* | Remove an unused local variable | Nalin Dahyabhai | 2013-12-12 | 1 | -1/+1 |
| | |||||
* | Stop checking if a non-NULL value has a NULL value | Nalin Dahyabhai | 2013-12-12 | 1 | -2/+2 |
| | |||||
* | Silence a compiler warning | Nalin Dahyabhai | 2013-12-12 | 1 | -1/+2 |
| | |||||
* | tag 0.51 | Nalin Dahyabhai | 2013-12-09 | 3 | -2/+8 |
| | |||||
* | Accept slightly larger fragments (8K vs 8K - 4) | Nalin Dahyabhai | 2013-12-09 | 1 | -4/+4 |
| | |||||
* | Don't leak arguments to yp_all() (more of #967468) | Nalin Dahyabhai | 2013-12-09 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of git.fedorahosted.org:/git/slapi-nis | Nalin Dahyabhai | 2013-11-25 | 1 | -4/+6 |
|\ | |||||
| * | Remove a possible memmove() of 0 bytes | Nalin Dahyabhai | 2013-11-19 | 1 | -4/+6 |
| | | | | | | | | | | Don't bother memmove()ing a 0-byte chunk of data. Found by static analysis. | ||||
* | | Whitespace fixup | Nalin Dahyabhai | 2013-11-15 | 1 | -2/+0 |
|/ | |||||
* | Note Alexander's changes in the next NEWS file | Nalin Dahyabhai | 2013-11-15 | 1 | -0/+1 |
| | |||||
* | Perform tests with fewer threads | Nalin Dahyabhai | 2013-11-15 | 1 | -0/+1 |
| | |||||
* | Correct syntax errors | Nalin Dahyabhai | 2013-11-15 | 1 | -2/+2 |
| | | | | | The object class definitions were missing closing parentheses. So yay for the new schema parsing code in 389. | ||||
* | Coverity#11940: do not leak memory in the pam wrapper test | Alexander Bokovoy | 2013-11-15 | 1 | -3/+5 |
| | |||||
* | Coverity#11937: use proper structure to pass to map_data_set_entry() | Alexander Bokovoy | 2013-11-15 | 1 | -6/+8 |
| | | | | | map_data_set_entry() passes pointers to the lengths of the key and the value to map_data_save_list() which interpretes them as arrays of integers. | ||||
* | tag 0.50 | Nalin Dahyabhai | 2013-10-01 | 3 | -2/+9 |
| | |||||
* | Try reconnecting if rpcbind EPIPEs us | Nalin Dahyabhai | 2013-10-01 | 3 | -60/+94 |
| | | | | | | | 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. | ||||
* | update for 0.49, too late | Nalin Dahyabhai | 2013-09-19 | 1 | -0/+4 |
| | |||||
* | tag 0.49 | Nalin Dahyabhai | 2013-09-19 | 2 | -2/+7 |
| | |||||
* | Add ignore-subtree and restrict-subtree settings | Nalin Dahyabhai | 2013-09-19 | 50 | -96/+1056 |
| | | | | | | | | | | | | | | Add {nis,schema-compat}-ignore-subtree (subtrees under which we ignore contents and updates )and {nis,schema-compat}-restrict-subtree (subtrees out of which we ignore contents and updates, if set) settings, and default the former to "cn=tasks,cn=config". This should avoid cases where we're looking through the ldbm backend for entries which have a dangling reference to a newly-added task (which, because it's in the DSE, means we acquire an ldbm lock after acquiring our internal lock) while also updating a compat entry after its source entry is modified (for example, by the memberOf plugin, which results in us attempting to acquire our lock while the ldbm lock is already held). | ||||
* | Add a missing word in a comment | Nalin Dahyabhai | 2013-09-12 | 1 | -1/+1 |
| | |||||
* | Add nis-relevant-subtree and nis-ignore-subtree | Nalin Dahyabhai | 2013-09-12 | 2 | -7/+21 |
| | |||||
* | Add schema-compat-relevant-subtree | Nalin Dahyabhai | 2013-09-12 | 5 | -5/+47 |
| | | | | | | | | | | Add a schema-compat-relevant-subtree configuration option, listing the only parts of the DIT that we should ever look at, either as source entries or as other entries which contain data which might be pulled in as part of computing the contents of compat entries. This is more or less the whitelist to schema-compat-ignore-subtree's blacklist. | ||||
* | Add schema-compat-ignore-subtree | Nalin Dahyabhai | 2013-09-12 | 6 | -1/+118 |
| | | | | | | | Add a schema-compat-ignore-subtree configuration option, listing parts of the DIT that we should never look at, neither as source entries nor as random other entries which contain data which might be pulled in as part of computing the contents of compat entries. | ||||
* | Force LC_ALL to "C", just in case | Nalin Dahyabhai | 2013-09-06 | 1 | -0/+1 |
| | |||||
* | Remove a pair of unused variables | Nalin Dahyabhai | 2013-08-28 | 1 | -2/+0 |
| | |||||
* | Warn if we fail to set SO_LINGER for TCP clients | Nalin Dahyabhai | 2013-08-27 | 1 | -1/+7 |
| | |||||
* | Warn if non-blocking-ifying a client socket fails | Nalin Dahyabhai | 2013-08-27 | 1 | -1/+7 |
| | |||||
* | Error out if the listener can't be non-blocking | Nalin Dahyabhai | 2013-08-27 | 1 | -2/+9 |
| | |||||
* | Omit an unnecessary switch case | Nalin Dahyabhai | 2013-08-27 | 1 | -2/+0 |
| |