Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22254 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -47,8 +47,12 @@ kdc_openlog(krb5_context context,
|
|||||||
for(p = s; *p; p++)
|
for(p = s; *p; p++)
|
||||||
krb5_addlog_dest(context, config->logf, *p);
|
krb5_addlog_dest(context, config->logf, *p);
|
||||||
krb5_config_free_strings(s);
|
krb5_config_free_strings(s);
|
||||||
}else
|
}else {
|
||||||
krb5_addlog_dest(context, config->logf, DEFAULT_LOG_DEST);
|
char *s;
|
||||||
|
asprintf(&s, "0-1/FILE:%s/%s", hdb_db_dir(context), KDC_LOG_FILE);
|
||||||
|
krb5_addlog_dest(context, config->logf, s);
|
||||||
|
free(s);
|
||||||
|
}
|
||||||
krb5_set_warn_dest(context, config->logf);
|
krb5_set_warn_dest(context, config->logf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user