LDAP: Always fail if a map can't be found
Put the override_homedir into an included xml file

The description was duplicated on two places, leading to errors where
one was amended but the other was not.
Allow using flatname for subdomain home dir template

https://fedorahosted.org/sssd/ticket/1609
cmocka unittest for find_uid added
cmocka unittest for io added
resolv: add resolv_get_domain request to resolv utils
resolv: add resolv_discover_srv request to resolv utils
DNS sites support - SRV lookup plugin interface

https://fedorahosted.org/sssd/ticket/1032

Introduces two new error codes:
- ERR_SRV_NOT_FOUND
- ERR_SRV_LOOKUP_ERROR

Since id_provider is authoritative in case of SRV plugin choise,
ability to override the selected pluging during runtime is not
desirable. We rely on the fact that id_provider is initialized
before all other providers, thus the plugin is set correctly.
DNS sites support - SRV DNS lookup plugin

https://fedorahosted.org/sssd/ticket/1032

This plugin mimics the current behaviour.

If discovery_domain is set it is the only domain that is tried.
If discovery_domain is not set, we try to autodetect domain first
and if that fails or SRV lookup on this domain fails, we fallback
to SSSD domain name.
fail over - add function to insert multiple servers to the list
DNS sites support - replace SRV lookup code with a plugin call

https://fedorahosted.org/sssd/ticket/1032

Removes hard coded SRV lookup code with a plugin call. This patch
breaks SRV lookups as there is currently no plugin in use. It is
fixed in next patch.
DNS sites support - use SRV DNS lookup plugin in all providers

https://fedorahosted.org/sssd/ticket/1032

We set a plugin during an initialization of ID provider, which
is an authoritative provider for a plugin choice. The plugin is
set only once. When other provider is initalized (e.g. id = IPA,
sudo = LDAP), we do not overwrite the plugin.

Since sssm_*_id_init() is called from all module constructors,
this patch relies on the fact, that ID provider is initialized
before all other providers.
DNS sites support - add IPA SRV plugin

https://fedorahosted.org/sssd/ticket/1032
Incorrect *.py[co] files placement

Package sssd contains python files. Python files should be installed
in noarch package, therefore all python files from directory
src/config/SSSDConfig was moved to new noarch package python-sssdconfig.

https://fedorahosted.org/sssd/ticket/1839
Fix krbcc dir creation issue with MIT krb5 1.11

In krb5-libs >= 1.11, function krb5_cc_resolve verify if credential cache dir
exists. If it doesn't exist, than it will be created with process permissions
and not user permissions.

Function cc_residual_is_used has already checked for non existing
directory, but it wasn't considered to be a failure and therefore next call
of krb5_init_context will create directory with wrong permissions.

Now if directory doesn't exist, it will be handled like there was not ccache
attribute in sysdb cache. We also check if "primary" file in ccache directory
has right permissions. But we ignore missing "primary" file.

https://fedorahosted.org/sssd/ticket/1822
Confusing error messages for invalid sssd.conf

https://fedorahosted.org/sssd/ticket/1625

Amending errors messages and add other error codes to be more specific
and avoid confusion.