new krb5_config_parse_file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9941 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -248,7 +248,7 @@ main(int argc, char **argv)
|
|||||||
if (config_file == NULL)
|
if (config_file == NULL)
|
||||||
config_file = HDB_DB_DIR "/kdc.conf";
|
config_file = HDB_DB_DIR "/kdc.conf";
|
||||||
|
|
||||||
if(krb5_config_parse_file(config_file, &cf) == 0) {
|
if(krb5_config_parse_file(context, config_file, &cf) == 0) {
|
||||||
const char *p = krb5_config_get_string (context, cf,
|
const char *p = krb5_config_get_string (context, cf,
|
||||||
"kdc", "key-file", NULL);
|
"kdc", "key-file", NULL);
|
||||||
if (p)
|
if (p)
|
||||||
|
@@ -128,7 +128,7 @@ main(int argc, char **argv)
|
|||||||
if (config_file == NULL)
|
if (config_file == NULL)
|
||||||
config_file = HDB_DB_DIR "/kdc.conf";
|
config_file = HDB_DB_DIR "/kdc.conf";
|
||||||
|
|
||||||
if(krb5_config_parse_file(config_file, &cf) == 0) {
|
if(krb5_config_parse_file(context, config_file, &cf) == 0) {
|
||||||
const char *p = krb5_config_get_string (context, cf,
|
const char *p = krb5_config_get_string (context, cf,
|
||||||
"kdc", "key-file", NULL);
|
"kdc", "key-file", NULL);
|
||||||
if (p)
|
if (p)
|
||||||
|
@@ -250,7 +250,7 @@ configure(int argc, char **argv)
|
|||||||
if(config_file == NULL)
|
if(config_file == NULL)
|
||||||
config_file = _PATH_KDC_CONF;
|
config_file = _PATH_KDC_CONF;
|
||||||
|
|
||||||
if(krb5_config_parse_file(config_file, &cf))
|
if(krb5_config_parse_file(context, config_file, &cf))
|
||||||
cf = NULL;
|
cf = NULL;
|
||||||
|
|
||||||
get_dbinfo(cf);
|
get_dbinfo(cf);
|
||||||
|
Reference in New Issue
Block a user