Title: #270: Subdomains direct integration
Note: I know the commit message misses an issue number. I will add it tomorrow when I
clone the BZ. However this should not block the review.
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/270/head:pr270
git checkout pr270