| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
Ensure that the Python interpreter that is passed to configure ends up
in the shebang of the Python scripts.
This allows one to pass PYTHON=python3 to configure to install the
scripts using the Python 3 interpreter.
|
|
|
|
|
|
| |
This also adds a flake8 test that checks code style. Note that this test
is not run by default because it requires network access to create the
virtualenv with the test software.
|
|
|
|
|
|
|
|
|
| |
This ensures that both pynslcd and the command-line utilities work with
Python3 as interpreter and runs some tests with all installed Python
interpreters.
This drops support for Python 2.6 and extends 5a84be2 to perform more
testing with Python 3.
|
|
|
|
|
|
| |
Specify result type of getusershell.
Closes https://github.com/arthurdejong/nss-pam-ldapd/pull/31
|
| |
|
|
|
|
|
|
|
|
| |
This changes the getent.ldap and chsh.ldap commands to be compatible
with Python 2 and Python 3 with the same code.
This does switch to raw I/O because Python 3 does not support bufferred
I/O on sockets.
|
|
|
|
| |
Contrary to the hosts output the network name is listed first.
|
| |
|
|
|
|
|
| |
This allows supplying multiple arguments to getent.ldap that will each
act as a search key for lookups, similar to what normal getent allows.
|
|
|
|
|
|
|
|
|
| |
The assertions can be optimised out when compiling the modules with -O
which would break the protocol handling. This ensures that errors are
properly handled even if optimisation is enabled.
Thanks Yu-Chun Huang for reporting this.
https://github.com/arthurdejong/nss-pam-ldapd/issues/14
|
| |
|
|
|
|
|
|
|
|
|
| |
This ensures that getent.ldap, chsh.ldap and manual pages with ldap in
the name will be installed with the name as specified with
--with-module-name.
Note that the manual page content still describes the working within
nss-pam-ldapd and still mention the ldap name.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bypassing NSS stack
|
|
command-line utilities
|