0ae2161...
by
Lukas Slebodnik <email address hidden>
BUILD: Build libdlopen_test_providers.la as a dynamic library
Module which can be loaded by dlopen but cannot be linked with
other binaries.
*** Warning: Linking the executable test_xyzp against the loadable module
*** libdlopen_test_providers.so is not portable!
Reviewed-by: Jakub Hrozek <email address hidden>
(cherry picked from commit 1116fbbf0e50827841a6bafd80c027c3d3548c1f)
53219cc...
by
Lukas Slebodnik <email address hidden>
BUILD: Speed up build of some tests
Some tests were built with files require for backend $(sssd_be_SOURCES).
This automake variable contains 15 files
which were build every time for each test.
Reviewed-by: Jakub Hrozek <email address hidden>
(cherry picked from commit 802909e59daa52c734dbe7f8fa13b0ee23e3e576)
aafd3f0...
by
=?utf-8?q?Pavel_B=C5=99ezina?= <email address hidden>
sudo: use "higher value wins" when ordering rules
This commit changes the default ordering logic (lower value wins) to
a correct one that is used by native ldap support. It also adds a new
option sudo_inverse_order to switch to the original SSSD (incorrect)
behaviour if needed.
The NSS responder periodically re-checks subdomains. We need to reset
the negative cache each time the check finishes to allow the negative
cache to contain entries from different domains.
responders: reset ncache after domains are discovered during startup
After responders start, they add a lookup operation that discovers the
subdomains so that qualifying users works. After this operation is
finishes, we need to reset negcache to allow users to be added into the
newly discovered domains.
ncache: Silence critical error from filter_users when default_domain_suffix is set
When default_domain_suffix is used and filter_users is set (at least
root is always, by default), SSSD tried to add the negcache entry to the
default domain. But since the default domain is not known after start
up, adding the entries fail with a verbose error message.
This patch handles EAGAIN returned from the parsing function while
setting negcache entries gracefully and also makes the debug message in
parsing function more precise.