Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix not logging passwords in pynslcd (7108b1f)Arthur de Jong2013-08-181-1/+1
|
* Update files from test environmentArthur de Jong2013-08-182-46/+62
|
* Improve error and help output of getent commandArthur de Jong2013-08-181-5/+15
|
* Run pylint as a testArthur de Jong2013-08-183-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 pynslcdArthur de Jong2013-08-184-7/+7
|
* Run xmlto on manual pages as part of the testsArthur de Jong2013-08-181-0/+4
|
* Do not log passwords in pynslcdArthur de Jong2013-08-181-1/+8
|
* Implement an option to run in the foregroundArthur de Jong2013-08-184-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 optionArthur de Jong2013-08-182-0/+24
| |
| * -n switch for pynslcdArthur de Jong2013-08-181-3/+10
| |
| * -n switch for nslcd (prevents process from forking)Caleb Callaway2013-08-181-2/+10
|/
* Improvements to pynslcd caching functionalityArthur de Jong2013-08-1715-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 functionalityArthur de Jong2013-08-173-3/+465
| |
| * Use retrieve_by, group_by and group_columns in the cacheArthur de Jong2013-08-179-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 managerArthur de Jong2013-08-171-0/+6
| |
| * Give cache tables friendlier namesArthur de Jong2013-08-179-61/+74
| | | | | | | | This also defined the tables for netgroup storage.
| * Explicitly define tables used for cacheArthur de Jong2013-08-178-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 modulesArthur de Jong2013-08-1712-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 d659e83Arthur de Jong2013-07-301-2/+2
|
* Use cleaner import and get rid of uid2dn function in pynslcdArthur de Jong2013-07-292-12/+5
|
* Handle the nss_min_uid option in pynslcdArthur de Jong2013-07-292-4/+16
|
* Handle the nss_initgroups_ignoreusers option in pynslcdArthur de Jong2013-07-292-1/+9
|
* Fix handling of pam_password_prohibit_message in pynslcdArthur de Jong2013-07-292-2/+2
|
* Implement config request handling in pynslcdArthur de Jong2013-07-293-3/+49
| | | | This allows the PAM module to request the pam_password_prohibit_message option for denying password change.
* Implement PAM session handling in pynslcdArthur de Jong2013-07-281-2/+61
| | | | | Just like in nslcd this doesn't actually do anything with the session ids except generating them.
* Properly handle start_tls in pynslcdArthur de Jong2013-07-281-0/+4
|
* Have configure show --disable-utils by defaultArthur de Jong2013-07-281-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 filesArthur de Jong2013-07-281-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 updatesArthur de Jong2013-07-271-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 checkArthur de Jong2013-07-262-2/+36
|
* Merge fixes for reconnect_invalidate optionArthur de Jong2013-07-264-3/+5
|\ | | | | | | The branch accidentally got merged before it was fully tested.
| * Fix errors in invalidator changesArthur de Jong2013-07-264-3/+5
| | | | | | | | | | This fixes a few typos and an omission in the configuration file parsing code.
* | Make cache invalidation more genericArthur de Jong2013-07-2615-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_invalidateArthur de Jong2013-07-2614-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 cacheArthur de Jong2013-07-267-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 pynslcdArthur de Jong2013-07-261-1/+1
| | | | | The pynslcd implementation would always clear the passwd nscd cache regardless of the provided map.
* Upgrade to automake 1.13Arthur de Jong2013-07-1114-604/+1008
|
* Add an explicit cast to int in lookup_shadowArthur de Jong2013-05-201-1/+1
|
* Make tests for system call failures a little more robustlyArthur de Jong2013-05-201-2/+2
|
* Ignore errors in opening NSS moduleArthur de Jong2013-05-101-1/+4
|
* Python style changesArthur de Jong2013-04-1213-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 Jong2013-04-121-1/+3
| | | | modification
* Set FD_CLOEXEC on the client socket in utilitiesArthur de Jong2013-04-121-1/+1
|
* Fix getting caller's uid on password change (pynslcd)Arthur de Jong2013-04-121-1/+1
|
* Install utilities in share/nslcd-utilsArthur de Jong2013-04-121-1/+1
|
* Fix the way manual pages are installedArthur de Jong2013-04-061-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.0Arthur de Jong2013-04-059-22/+684
|
* Include the usermod.py file in the distributionArthur de Jong2013-04-051-1/+2
|
* Fix docbook validationArthur de Jong2013-04-051-1/+1
|
* Ignore missing Python in initial testArthur de Jong2013-04-031-1/+1
|