URL:
https://github.com/SSSD/sssd/pull/115
Author: sumit-bose
Title: #115: libwbclient-sssd: wbcLookupSid() allow NULL arguments
Action: opened
PR body:
"""
Some caller might not be interested in some of the values wbcLookupSid()
returns and just pass NULL. Currently 'net ads user info' does this
because it is not interested in the domain. wbcLookupSid() should handle
this gracefully.
Resolves
https://fedorahosted.org/sssd/ticket/3273
A unit-test for wbcLookupSid() is added as well. I had to wrap
sss_nss_getnamebysid() because the test shouldn't connect to SSSD but just
return some result. Interestingly the wrapping didn't work when I just added
libwbclient.la to _LDADD but I had to explicitly add the needed sources. Does
anyone know why?
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/115/head:pr115
git checkout pr115