| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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 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
|