don't print warning if there is no krb5.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5524 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -69,9 +69,11 @@ krb5_init_context(krb5_context *context)
|
|||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
p->cf = tmp_cf;
|
p->cf = tmp_cf;
|
||||||
|
#if 0
|
||||||
else
|
else
|
||||||
krb5_warnx (p, "Unable to parse config file %s. Ignoring.",
|
krb5_warnx (p, "Unable to parse config file %s. Ignoring.",
|
||||||
config_file); /* XXX */
|
config_file); /* XXX */
|
||||||
|
#endif
|
||||||
|
|
||||||
p->max_skew = 5 * 60;
|
p->max_skew = 5 * 60;
|
||||||
val = krb5_config_get_time (p, NULL, "libdefaults", "clockskew", NULL);
|
val = krb5_config_get_time (p, NULL, "libdefaults", "clockskew", NULL);
|
||||||
|
Reference in New Issue
Block a user