diff --git a/lib/krb5/Makefile.am b/lib/krb5/Makefile.am index 415c63d42..cd6956b8f 100644 --- a/lib/krb5/Makefile.am +++ b/lib/krb5/Makefile.am @@ -133,7 +133,8 @@ libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo man_MANS = krb5.conf.5 krb5_warn.3 krb5_openlog.3 \ krb5_425_conv_principal.3 krb5_build_principal.3 krb5_free_principal.3 \ - krb5_parse_name.3 krb5_sname_to_principal.3 krb5_unparse_name.3 + krb5_parse_name.3 krb5_sname_to_principal.3 krb5_unparse_name.3 \ + verify_krb5_conf.8 include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h diff --git a/lib/krb5/krb5.conf.5 b/lib/krb5/krb5.conf.5 index f174326a6..e39c16817 100644 --- a/lib/krb5/krb5.conf.5 +++ b/lib/krb5/krb5.conf.5 @@ -137,6 +137,9 @@ for logging. See the manual page for a list of defined destinations. .El .El +.Sh ENVIRONMENT +.Ev KRB5_CONFIG +points to the configuration file to read. .Sh EXAMPLE .Bd -literal -offset indent [lib_defaults] @@ -161,6 +164,7 @@ manual page for a list of defined destinations. default = SYSLOG:INFO:USER .Ed .Sh SEE ALSO +.Xr verify_krb5_conf 8 , .Xr krb5_openlog 3 , .Xr krb5_425_conv_principal 3 , .Xr strftime 3 , diff --git a/lib/krb5/verify_krb5_conf.8 b/lib/krb5/verify_krb5_conf.8 new file mode 100644 index 000000000..77c2a1360 --- /dev/null +++ b/lib/krb5/verify_krb5_conf.8 @@ -0,0 +1,30 @@ +.\" $Id$ +.\" +.Dd March 4, 2000 +.Dt VERIFY_KRB5_CONF 8 +.Os HEIMDAL +.Sh NAME +.Nm verify_krb5_conf +.Nd +does a crude test that +.Pa krb5.conf +does not contain any obvious syntax error +.Sh SYNOPSIS +.Nm +.Ar [config-file] +.Sh DESCRIPTION +.Nm +reads the configuration file +.Pa krb5.conf , +or the file given on the command line, +and parses it, thereby verifying that the syntax is not correctly wrong. +Since that file is read by almost all Kerberos programs but most of +them have no way of notifying the user that it could not be parsed, +this program is useful. +.Sh ENVIRONMENT +.Ev KRB5_CONFIG +points to the configuration file to read. +.Sh FILES +.Xr krb5.conf 5 +.Sh SEE ALSO +.Xr krb5.conf 5