Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix commentArthur de Jong2013-04-031-1/+1
|
* Update the shadowLastChange on password change in pynslcdArthur de Jong2013-03-301-0/+27
|
* Implement password modification in pynslcdArthur de Jong2013-03-301-1/+69
|
* Implement used modification functionalityArthur de Jong2013-03-3016-5/+851
|\ | | | | | | | | | | | | | | | | | | This adds user information modification functionality to nslcd and pynslcd and implements a chsh.ldap utility that can be used to change the login shell of a user (similar to the normal chsh command). The user modification functionality should allow for generic modifications of user information. More utility commands to perform modifications remain to be implemented.
| * Initial version of a chsh.ldap utilityArthur de Jong2013-03-309-3/+388
| |
| * Handle user modification requests in pynslcdArthur de Jong2013-03-302-0/+132
| | | | | | | | | | Similar to the nslcd implementation, this currently only covers modifying the homeDirectory and loginShell attributes.
| * Handle user modification requests in nslcdArthur de Jong2013-03-304-2/+301
| | | | | | | | | | | | | | This is currently limited to supporting modification of the homeDirectory and loginShell attributes. Modifications as root currently use the rootpwmoddn and rootpwmodpw options.
| * Define a NSLCD_ACTION_USERMOD requestArthur de Jong2013-03-301-0/+30
|/ | | | | | | | | The modification can either be requested by root or by the user itself. Modifications by the user should be done by connecting to the LDAP server with the user-supplied credentials. It is expected that access controls in the LDAP server prevent unwanted modifications. The nslcd process is expected to check whether supplied values are sensible.
* Rename authentication function and return connectionArthur de Jong2013-03-301-9/+9
|
* Fix test for absence of PythonArthur de Jong2013-03-301-1/+1
|
* Mark unsupported pynslcd configuration optionsArthur de Jong2013-03-301-17/+16
|
* Preset default configure values consistentlyArthur de Jong2013-03-301-7/+7
|
* Give an error when the Python interpreter is missingArthur de Jong2013-03-301-1/+1
|
* Build command-line utilities by default if Python is ↵Arthur de Jong2013-03-301-2/+12
| | | | available
* Implement clearing of nscd cache in pynslcdArthur de Jong2013-03-295-1/+150
|\
| * Detect and handle connection failure and recoveryArthur de Jong2013-03-292-1/+28
| | | | | | | | | | Logs a connection recovery message and run a nscd cache invalidation if configured.
| * Start the nscd invalidator process if neededArthur de Jong2013-03-291-0/+4
| |
| * Parse the nscd_invalidate optionArthur de Jong2013-03-291-0/+11
| |
| * Functionality for clearing the nscd cache in pynslcdArthur de Jong2013-03-292-1/+108
|/
* Switch to using os.environ instead of os.putenv()Arthur de Jong2013-03-291-3/+3
| | | | | The os.putenv() call doesn't update os.environ and Python documentation recommends using os.environ.
* Rename validate_request to validateArthur de Jong2013-03-291-3/+3
|
* Also perform authentication search using LDAPSearch classArthur de Jong2013-03-291-1/+2
|
* Make the NSS tests dependant on the configuration of ↵Arthur de Jong2013-03-281-1/+45
| | | | nsswitch.conf
* Do not rely on printf() being able to print NULL stringsArthur de Jong2013-03-281-9/+16
|
* Fix manual page generationArthur de Jong2013-03-281-1/+1
|
* Fix comment for nss_nested_groups config optionArthur de Jong2013-03-281-1/+1
|
* Implement support for nested groupsArthur de Jong2013-03-2411-54/+556
|\
| * Add tests for nested group functionalityArthur de Jong2013-03-242-9/+287
| | | | | | | | | | This also includes some changes to the test directory contents that were for other tests and functionality.