Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix not logging passwords in pynslcd (7108b1f) | Arthur de Jong | 2013-08-18 | 1 | -1/+1 | |
| | ||||||
* | Update files from test environment | Arthur de Jong | 2013-08-18 | 2 | -46/+62 | |
| | ||||||
* | Improve error and help output of getent command | Arthur de Jong | 2013-08-18 | 1 | -5/+15 | |
| | ||||||
* | Run pylint as a test | Arthur de Jong | 2013-08-18 | 3 | -3/+295 | |
| | | | | | This runs a somewhat limited pylint run against the source files. It should at least catch some issues. | |||||
* | Rename isvalidname() to is_valid_name() in pynslcd | Arthur de Jong | 2013-08-18 | 4 | -7/+7 | |
| | ||||||
* | Run xmlto on manual pages as part of the tests | Arthur de Jong | 2013-08-18 | 1 | -0/+4 | |
| | ||||||
* | Do not log passwords in pynslcd | Arthur de Jong | 2013-08-18 | 1 | -1/+8 | |
| | ||||||
* | Implement an option to run in the foreground | Arthur de Jong | 2013-08-18 | 4 | -5/+44 | |
|\ | | | | | | | | | | | | | | | This introduces a -n, --nofork option that skips the deamonising step on start-up. This may be required for running nslcd from upstart. See: https://bugs.launchpad.net/bugs/806761 | |||||
| * | Document -n, --nofork option | Arthur de Jong | 2013-08-18 | 2 | -0/+24 | |
| | | ||||||
| * | -n switch for pynslcd | Arthur de Jong | 2013-08-18 | 1 | -3/+10 | |
| | | ||||||
| * | -n switch for nslcd (prevents process from forking) | Caleb Callaway | 2013-08-18 | 1 | -2/+10 | |
|/ | ||||||
* | Improvements to pynslcd caching functionality | Arthur de Jong | 2013-08-17 | 15 | -354/+941 | |
|\ | | | | | | | | | This fixes most of the existing caching functionality. Cache expiry, negative hits and entries going away remain to be implemented. | |||||
| * | Implement tests for caching functionality | Arthur de Jong | 2013-08-17 | 3 | -3/+465 | |
| | | ||||||
| * | Use retrieve_by, group_by and group_columns in the cache | Arthur de Jong | 2013-08-17 | 9 | -160/+229 | |
| | | | | | | | | | | | | | | | | | | | | This removes custom retrieve() functions and Query classes from the database modules and uses retrieve_sql retrieve_by, group_by and group_columns to make a custom retrieval query. In the cache module this completely replaces how the query grouping is done. The Query class is now only used inside the cache and the CnAliasedQuery, RowGrouper and related classed have been removed. | |||||
| * | Make Cache a context manager | Arthur de Jong | 2013-08-17 | 1 | -0/+6 | |
| | | ||||||
| * | Give cache tables friendlier names | Arthur de Jong | 2013-08-17 | 9 | -61/+74 | |
| | | | | | | | | This also defined the tables for netgroup storage. | |||||
| * | Explicitly define tables used for cache | Arthur de Jong | 2013-08-17 | 8 | -14/+35 | |
| | | | | | | | | | | | | | | This introduces the tables property in the Cache object that is used to define the used tables. This also fixes the storing of mulit-valued attributes in the cache. | |||||
| * | Move cache table creation to modules | Arthur de Jong | 2013-08-17 | 12 | -177/+193 | |
|/ | | | | | | This also moves the creation of a SQLite database connection to a _get_connection() function to ensure the cache is only created when the caches are instantiated. | |||||
* | Fix missing part of d659e83 | Arthur de Jong | 2013-07-30 | 1 | -2/+2 | |
| | ||||||
* | Use cleaner import and get rid of uid2dn function in pynslcd | Arthur de Jong | 2013-07-29 | 2 | -12/+5 | |
| | ||||||
* | Handle the nss_min_uid option in pynslcd | Arthur de Jong | 2013-07-29 | 2 | -4/+16 | |
| | ||||||
* | Handle the nss_initgroups_ignoreusers option in pynslcd | Arthur de Jong | 2013-07-29 | 2 | -1/+9 | |
| | ||||||
* | Fix handling of pam_password_prohibit_message in pynslcd | Arthur de Jong | 2013-07-29 | 2 | -2/+2 | |
| | ||||||
* | Implement config request handling in pynslcd | Arthur de Jong | 2013-07-29 | 3 | -3/+49 | |
| | | | | This allows the PAM module to request the pam_password_prohibit_message option for denying password change. | |||||
* | Implement PAM session handling in pynslcd | Arthur de Jong | 2013-07-28 | 1 | -2/+61 | |
| | | | | | Just like in nslcd this doesn't actually do anything with the session ids except generating them. | |||||
* | Properly handle start_tls in pynslcd | Arthur de Jong | 2013-07-28 | 1 | -0/+4 | |
| | ||||||
* | Have configure show --disable-utils by default | Arthur de Jong | 2013-07-28 | 1 | -1/+1 | |
| | | | | | Since the utils are automatically built if Python is available --disable is more appropriate a default then --enable. | |||||
* | Have test_pycompile not write any pyc files | Arthur de Jong | 2013-07-28 | 1 | -2/+35 | |
| | | | | | | | | We need to avoid writing pyc files because during make distcheck, the source directory is read-only. This also ensures that the test is skipped if the Python interpreter is not found. | |||||
* | Dcoumentation updates | Arthur de Jong | 2013-07-27 | 1 | -13/+14 | |
| | | | | | | This fixes a typo, clarifies the section on the LDAP schema values that are supported and updates the differences between nss-pam-ldapd and nss_ldap and pam_ldap. | |||||
* | Test Python syntax on make check | Arthur de Jong | 2013-07-26 | 2 | -2/+36 | |
| | ||||||
* | Merge fixes for reconnect_invalidate option | Arthur de Jong | 2013-07-26 | 4 | -3/+5 | |
|\ | | | | | | | The branch accidentally got merged before it was fully tested. | |||||
| * | Fix errors in invalidator changes | Arthur de Jong | 2013-07-26 | 4 | -3/+5 | |
| | | | | | | | | | | This fixes a few typos and an omission in the configuration file parsing code. | |||||
* | | Make cache invalidation more generic | Arthur de Jong | 2013-07-26 | 15 | -90/+122 | |
|\| | | | | | | | | | This changes the nscd_invalidate option into a more generic reconnect_invalidate and also allows clearing the nfsidmap cache. | |||||
| * | Rename nscd_invalidate option to reconnect_invalidate | Arthur de Jong | 2013-07-26 | 14 | -84/+87 | |
| | | | | | | | | | | This also renames the internal nscd module to invalidator for both nslcd and pynslcd. The new invalidator module is now no longer nscd-specific. | |||||
| * | Allow invalidating the nfsidmap cache | Arthur de Jong | 2013-07-26 | 7 | -25/+54 | |
|/ | | | | This introduces an nfsidmap value for nscd_invalidate which will cause the nfsidmap -c command to be run. | |||||
* | Fix nscd cache flushing bug in pynslcd | Arthur de Jong | 2013-07-26 | 1 | -1/+1 | |
| | | | | | The pynslcd implementation would always clear the passwd nscd cache regardless of the provided map. | |||||
* | Upgrade to automake 1.13 | Arthur de Jong | 2013-07-11 | 14 | -604/+1008 | |
| | ||||||
* | Add an explicit cast to int in lookup_shadow | Arthur de Jong | 2013-05-20 | 1 | -1/+1 | |
| | ||||||
* | Make tests for system call failures a little more robustly | Arthur de Jong | 2013-05-20 | 1 | -2/+2 | |
| | ||||||
* | Ignore errors in opening NSS module | Arthur de Jong | 2013-05-10 | 1 | -1/+4 | |
| | ||||||
* | Python style changes | Arthur de Jong | 2013-04-12 | 13 | -106/+104 | |
| | | | | | | | This tries to conform more closely to PEP8. Imports have been checked and, if used only once, moved closer to the use to avoid potential import loops. This also includes a few other minor changes, like using __main__ for utility scripts and variable renames to avoid name clashes. | |||||
* | Raise an error with a missing old password on password ↵ | Arthur de Jong | 2013-04-12 | 1 | -1/+3 | |
| | | | | modification | |||||
* | Set FD_CLOEXEC on the client socket in utilities | Arthur de Jong | 2013-04-12 | 1 | -1/+1 | |
| | ||||||
* | Fix getting caller's uid on password change (pynslcd) | Arthur de Jong | 2013-04-12 | 1 | -1/+1 | |
| | ||||||
* | Install utilities in share/nslcd-utils | Arthur de Jong | 2013-04-12 | 1 | -1/+1 | |
| | ||||||
* | Fix the way manual pages are installed | Arthur de Jong | 2013-04-06 | 1 | -7/+9 | |
| | | | | | The :u flag apparently isn't portable across versions of make and automake rules complain if a manual page is added twice to a target. | |||||
* | Get files ready for 0.9.0 release0.9.0 | Arthur de Jong | 2013-04-05 | 9 | -22/+684 | |
| | ||||||
* | Include the usermod.py file in the distribution | Arthur de Jong | 2013-04-05 | 1 | -1/+2 | |
| | ||||||
* | Fix docbook validation | Arthur de Jong | 2013-04-05 | 1 | -1/+1 | |
| | ||||||
* | Ignore missing Python in initial test | Arthur de Jong | 2013-04-03 | 1 | -1/+1 | |
| |