On Thu, Jun 13, 2013 at 03:48:37PM +0200, Pavel Březina wrote:
+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(a)/krb5.conf