sssd:sssd-1-12

Last commit made on 2016-02-15
Get this branch:
git clone -b sssd-1-12 https://git.launchpad.net/sssd

Branch merges

Branch information

Name:
sssd-1-12
Repository:
lp:sssd

Recent commits

b27d20f... by Pavel Reichl <email address hidden>

sysdb-tests: Fix warning - incompatible pointer type

Reviewed-by: Sumit Bose <email address hidden>
(cherry picked from commit 1352cf0d037c21eb6245fed17f1e6596ea3a3ccd)

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.

Resolves:
https://fedorahosted.org/sssd/ticket/2682

Reviewed-by: Jakub Hrozek <email address hidden>
(cherry picked from commit 52e3ee5c5ff2c5a4341041826a803ad42d2b2de7)

4a6cae7... by Pavel Reichl <email address hidden>

NSS: Fix memory leak netgroup

Resolves:
https://fedorahosted.org/sssd/ticket/2865

Reviewed-by: Jakub Hrozek <email address hidden>
(cherry picked from commit 4231a17e66e0809a9c3d42207b45f95429cbb46c)

97a952f... by Jakub Hrozek <email address hidden>

NSS: Reset negcache after checking domains

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.

Reviewed-by: Lukáš Slebodník <email address hidden>
(cherry picked from commit da3fcbec493dd8d7f5af1d6c6be2a37440a1442e)

8d7073a... by Jakub Hrozek <email address hidden>

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.

Reviewed-by: Lukáš Slebodník <email address hidden>
(cherry picked from commit 0528fdec17d0031996e919fcd852459e86592c35)

37b653e... by Jakub Hrozek <email address hidden>

ncache: Add sss_ncache_reset_repopulate_permanent

This new function resets the negative cache and then re-adds the
permanent entries.

Reviewed-by: Lukáš Slebodník <email address hidden>
(cherry picked from commit 0d19785f9ffd9c66df5b30d208ec7b0216a9555b)

4d4d624... by Jakub Hrozek <email address hidden>

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.

Reviewed-by: Lukáš Slebodník <email address hidden>
(cherry picked from commit 1aa492ce890f362564bfac21f3cfb0a3e38608bd)

3717200... by Jakub Hrozek <email address hidden>

ncache: Fix sss_ncache_reset_permanent

There was an off-by-one error in sss_ncache_reset_permanent that
prevented the reset from working.

Reviewed-by: Lukáš Slebodník <email address hidden>
(cherry picked from commit d338bb46b8c03c33e6182e725911af6d778bcf00)