summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-29Handle the nss_initgroups_ignoreusers option in pynslcdArthur de Jong
2013-07-29Fix handling of pam_password_prohibit_message in pynslcdArthur de Jong
2013-07-29Implement config request handling in pynslcdArthur de Jong
This allows the PAM module to request the pam_password_prohibit_message option for denying password change.
2013-07-28Implement PAM session handling in pynslcdArthur de Jong
Just like in nslcd this doesn't actually do anything with the session ids except generating them.
2013-07-28Properly handle start_tls in pynslcdArthur de Jong
2013-07-28Have configure show --disable-utils by defaultArthur de Jong
Since the utils are automatically built if Python is available --disable is more appropriate a default then --enable.
2013-07-28Have test_pycompile not write any pyc filesArthur de Jong
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.
2013-07-27Dcoumentation updatesArthur de Jong
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.
2013-07-26Test Python syntax on make checkArthur de Jong
2013-07-26Merge fixes for reconnect_invalidate optionArthur de Jong
The branch accidentally got merged before it was fully tested.
2013-07-26Fix errors in invalidator changesArthur de Jong
This fixes a few typos and an omission in the configuration file parsing code.
2013-07-26Make cache invalidation more genericArthur de Jong
This changes the nscd_invalidate option into a more generic reconnect_invalidate and also allows clearing the nfsidmap cache.
2013-07-26Rename nscd_invalidate option to reconnect_invalidateArthur de Jong
This also renames the internal nscd module to invalidator for both nslcd and pynslcd. The new invalidator module is now no longer nscd-specific.
2013-07-26Allow invalidating the nfsidmap cacheArthur de Jong
This introduces an nfsidmap value for nscd_invalidate which will cause the nfsidmap -c command to be run.
2013-07-26Fix nscd cache flushing bug in pynslcdArthur de Jong
The pynslcd implementation would always clear the passwd nscd cache regardless of the provided map.
2013-07-11Upgrade to automake 1.13Arthur de Jong
2013-05-20Add an explicit cast to int in lookup_shadowArthur de Jong
2013-05-20Make tests for system call failures a little more robustlyArthur de Jong
2013-05-10Ignore errors in opening NSS moduleArthur de Jong
2013-04-12Python style changesArthur de Jong
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.
2013-04-12Raise an error with a missing old password on password modificationArthur de Jong
2013-04-12Set FD_CLOEXEC on the client socket in utilitiesArthur de Jong
2013-04-12Fix getting caller's uid on password change (pynslcd)Arthur de Jong
2013-04-12Install utilities in share/nslcd-utilsArthur de Jong
2013-04-06Fix the way manual pages are installedArthur de Jong
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.
2013-04-05Get files ready for 0.9.0 releaseArthur de Jong
2013-04-05Include the usermod.py file in the distributionArthur de Jong
2013-04-05Fix docbook validationArthur de Jong
2013-04-03Ignore missing Python in initial testArthur de Jong
2013-04-03Fix commentArthur de Jong
2013-03-30Update the shadowLastChange on password change in pynslcdArthur de Jong
2013-03-30Implement password modification in pynslcdArthur de Jong
2013-03-30Implement used modification functionalityArthur de Jong
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.
2013-03-30Initial version of a chsh.ldap utilityArthur de Jong
2013-03-30Handle user modification requests in pynslcdArthur de Jong
Similar to the nslcd implementation, this currently only covers modifying the homeDirectory and loginShell attributes.
2013-03-30Handle user modification requests in nslcdArthur de Jong
This is currently limited to supporting modification of the homeDirectory and loginShell attributes. Modifications as root currently use the rootpwmoddn and rootpwmodpw options.
2013-03-30Define a NSLCD_ACTION_USERMOD requestArthur de Jong
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.
2013-03-30Rename authentication function and return connectionArthur de Jong
2013-03-30Fix test for absence of PythonArthur de Jong
2013-03-30Mark unsupported pynslcd configuration optionsArthur de Jong
2013-03-30Preset default configure values consistentlyArthur de Jong
2013-03-30Give an error when the Python interpreter is missingArthur de Jong
2013-03-30Build command-line utilities by default if Python is availableArthur de Jong
2013-03-29Implement clearing of nscd cache in pynslcdArthur de Jong
2013-03-29Detect and handle connection failure and recoveryArthur de Jong
Logs a connection recovery message and run a nscd cache invalidation if configured.
2013-03-29Start the nscd invalidator process if neededArthur de Jong
2013-03-29Parse the nscd_invalidate optionArthur de Jong
2013-03-29Functionality for clearing the nscd cache in pynslcdArthur de Jong
2013-03-29Switch to using os.environ instead of os.putenv()Arthur de Jong
The os.putenv() call doesn't update os.environ and Python documentation recommends using os.environ.
2013-03-29Rename validate_request to validateArthur de Jong