| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
This fixes 2caeef4.
|
|
|
|
|
|
| |
Common buffer sizes are now stored centrally so it can be easily and
consistently updated if required. Some buffers remain with locally
defined sizes that do not match a global buffer size.
|
|
|
|
|
| |
This includes a number of small fixes for issues that were formerly
masked by the incorrect AC_LANG_PROGRAM check.
|
|
|
|
|
| |
This provides compatibility definitions for systems that don't have
these functions (some Solaris flavours).
|
|
|
|
|
|
| |
This causes the pidfile to be written as the first thing after
daemonising nslcd to minimise the race between service script completion
and pidfile being locked.
|
|
|
|
|
|
| |
This also invalidates the caches configured with reconnect_invalidate on
the first successful search. This should handle the case more gracefully
where caches were filled with negative hits before nslcd was running.
|
|
|
|
| |
This allows more search bases which may be useful in some environments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By using bigger write buffers in nslcd we reduce the number of writes in
nslcd and consequently the number of reads in the NSS and PAM modules
for bigger responses.
This reduces the number of system calls that are made during a request
and brings a small performance improvement that is mainly measurable in
the NSS module. A measurement showed 30-80% reduction in the number of
system calls in the NSS module and around 10% reduction in CPU usage
(CPU time, only small reduction in wallclock time).
Thanks John Sullivan for pointing this out.
|
|
|
|
|
| |
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1003011
|
|
|
|
| |
With the smaller buffers some password hashes would be truncated.
|
| |
|
| |
|
|
|
|
|
|
| |
This implements and documents handling of the SIGUSR1 signal in nslcd to
reset the reconnect_sleeptime and reconnect_retrytime timers to re-check
availability of the LDAP server.
|
|
|
|
|
|
|
|
|
|
| |
This implemens a myldap_immediate_reconnect() function that resets the
reconnect timer to retry failing connections to the LDAP server upon the
next search.
This can be used to cut the reconnect_sleeptime and reconnect_retrytime
sleeping periodss short if we have some indication that the LDAP server
is available again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also returns everything except the password hash from the shadow
database to non-root users (nothing was returned before). This allows
non-root users to do PAM authentication in some configurations.
On some systems there is a setgid executable that is allowed to read
/etc/shadow for authentication by e.g. screensavers. Returning no shadow
information will cause pam_unix to deny authorisation in common
configurations.
See:
http://bugs.debian.org/706913
|
| |
|
| |
|
|
|
|
|
| |
This fixes a few typos and an omission in the configuration file parsing
code.
|
|
|
|
|
| |
This also renames the internal nscd module to invalidator for both nslcd
and pynslcd. The new invalidator module is now no longer nscd-specific.
|
|
|
|
| |
This introduces an nfsidmap value for nscd_invalidate which will cause
the nfsidmap -c command to be run.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is currently limited to supporting modification of the homeDirectory and
loginShell attributes.
Modifications as root currently use the rootpwmoddn and rootpwmodpw options.
|
| |
|
|
|
|
|
|
| |
This option can be used in both nslcd and pynslcd to enable recursive group
member lookups. By default the functionality is disabled. This also updates
the documentation.
|
|
|
|
|
|
|
|
|
|
|
| |
This differs from the code provided by Steve Hill in that it avoids
(recursively) performing parallel LDAP searches by queueing groups and check
for extra members per queued group (in the forward lookup) or check for extra
parents (for the user to groups lookup).
For the reverse lookup handling the NSLCD_HANDLE macro could no longer be used
because extra care should be taken to free the sets before returning and two
search phases are needed.
|
|
|
|
|
|
|
|
| |
This was part of a bigger change to implement nested groups, however most of
the other parts were re-implemented differently.
For the original changes, see:
http://lists.arthurdejong.org/nss-pam-ldapd-users/2013/msg00034.html
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
after reconnecting to the LDAP server after failure
|
| |
|
|
|
|
| |
signal to nscd
|
|
|
|
| |
to all modules
|
| |
|
|
|
|
| |
user authentication in nslcd
|
| |
|
|
|
|
| |
authenticate as administrator when rootpwmoddn is not set
|
| |
|
| |
|
|
|
|
| |
descriptors are open
|
|
|
|
| |
option and allow parentheses (taken from Fedora packages)
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1925 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
if compiler doesn't provide a keyword for TLS
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1922 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
|
|
| |
storage class compiler directive
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1921 ef36b2f9-881f-0410-afb5-c4e39611909c
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1920 ef36b2f9-881f-0410-afb5-c4e39611909c
|