[SSSD] [PATCH] subdomains: touch krb5.conf when creating new domain-realm mappings
Jakub Hrozek
jhrozek at redhat.com
Thu Jun 13 15:14:13 UTC 2013
On Thu, Jun 13, 2013 at 03:48:37PM +0200, Pavel Březina wrote:
> https://fedorahosted.org/sssd/ticket/1815
> +errno_t sss_krb5_touch_config()
> +{
> + const char *config = NULL;
> + errno_t ret;
> +
> + config = getenv("KRB5_CONFIG");
> + if (config == NULL) {
> + config = "/etc/krb5.conf";
> + }
I had a discussion with ab on IRC and the consensus was that we really
should make the location configurable. So this code works fine, we just
also need a configure-time macro to set the krb5.conf location. The
macro should default to @sysconfdir@/krb5.conf
More information about the sssd-devel
mailing list