[SSSD] [PATCH] Fix sysdb_search_selinux_usermap_by_username return value

Jakub Hrozek jhrozek at redhat.com
Fri Jul 20 09:48:49 UTC 2012


There was a logic bug in sysdb_search_selinux_usermap_by_username that
resulted in returning the value the variable "ret" had after the last call
to sysdb_attrs_get_uint32_t, which in cases the last rule processed did
not have the requested attributes led to using the default user context.

I think this would fix the strange bug Rob was seeing yesterday, but I
still need to verify that.



More information about the sssd-devel mailing list