On 04/16/2014 04:29 PM, Jakub Hrozek wrote:
Hi,
I was working on a reusable request to split a raw name into
(name,domain) component instead of copying sss_parse_name_for_domains
along with subdomain refresh all around the responder code and noticed
that the sss_parse_name_for_domains() code is really complex and hard to
follow. To understand the code better and validate my assumptions, I
wrote a unit test and did a couple of very small fixes in the
sss_parse_name_for_domains function itself. Kindly see the commit
message for explanation of the small fixes.
Ack to both.