[SSSD] [Patch] Cmocka unit test for negcache.c module

Jakub Hrozek jhrozek at redhat.com
Tue Feb 25 21:31:50 UTC 2014


On Tue, Feb 25, 2014 at 10:00:00PM +0100, Lukas Slebodnik wrote:
> On (25/02/14 16:40), Jakub Hrozek wrote:
> >On Mon, Feb 17, 2014 at 04:47:09PM +0100, Lukas Slebodnik wrote:
> >> The test(s) don't pass because they cannot pass.
> >> You used function create_dom_test_ctx and param with filter_groups and
> >> filter_users and result of this is configuration:
> >> 
> >> [domain/nss_test]
> >> filter_users = testuser1
> >> filter_groups = testgroup1
> >> 
> >> But negative cache reads configuration options from [nss] section.
> >
> >No, it reads from both actually and domain takes precedence.
> >
> In this case, we should update manual pages.
> 
> man sssd.conf
>     -> NSS configuration options
>        filter_users, filter_groups (string)
>            Exclude certain users from being fetched from the sss NSS database.
>            This is particularly useful for system accounts. This option can
>            also be set per-domain or include fully-qualified names
>             to filter only users from the particular domain.
> 
>            Default: root
> 
> I apologize for confusion.

No problem, I didn't realize that either until I checked out the backtrace
from the failing test.

Can you file a ticket (or just send a patch :-)) ?



More information about the sssd-devel mailing list