Title: #129: Fix for 3283
On (23/01/17 06:13), sumit-bose wrote:
Yes, this lookup is used during a SSS_NSS_GETSIDBYID request and here
it is expected that the result can either be a user or a group and that type of the object
is returned in the reply as well.
I just wanted to be sure that sysdb function should not return more
then 1 result. Thank you for clarification/confirmation :-)
The ID_BOTH case is handled in find_sss_id_type() if the domain is an
mpg domain, so I would expect that it is handled as expected. But having tests for this
would be nice of course.
That's out of scope for sysdb tests :-)
It would be simpler to test with python bindings and samba-dc/AD
See the full comment at https://github.com/SSSD/sssd/pull/129#issuecomment-274501096