Update for new logging.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2667 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-01 14:49:01 +00:00
parent 62d88a76c1
commit 3bbc202620

View File

@@ -10,15 +10,13 @@ Kerberos 5 server
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl c Ar file .Op Fl c Ar file
.Op Fl k Ar file
.Op Fl l Ar file
.Op Fl p
.Op Fl r Ar realm
.Op Fl -config-file= Ns Ar file .Op Fl -config-file= Ns Ar file
.Op Fl k Ar file
.Op Fl -key-file= Ns Ar file .Op Fl -key-file= Ns Ar file
.Op Fl -log-file= Ns Ar file
.Op Fl -log-level= Ns Ar number .Op Fl -log-level= Ns Ar number
.Op Fl p
.Op Fl -no-require-preauth .Op Fl -no-require-preauth
.Op Fl r Ar realm
.Op Fl -v4-realm= Ns Ar realm .Op Fl -v4-realm= Ns Ar realm
.Sh DESCRIPTION .Sh DESCRIPTION
@@ -40,9 +38,6 @@ The location of the master-key file. All keys in the database is
encrypted with this master key. The use of a master key is currently encrypted with this master key. The use of a master key is currently
optional, so there is no default. optional, so there is no default.
.Em "Don't specify a master key file if your database is not encrypted." .Em "Don't specify a master key file if your database is not encrypted."
.It Fl l Ar file
.It Fl -log-file= Ns Ar file
The file where the KDC logs its activities.
.It Fl -log-level= Ns Ar number .It Fl -log-level= Ns Ar number
What level of information you want logged. The default is 0, and logs What level of information you want logged. The default is 0, and logs
only requests and any errors when parsing them. You can turn off only requests and any errors when parsing them. You can turn off
@@ -63,9 +58,15 @@ requests. The database can contain any number of realms, but since the
version 4 protocol doesn't contain a realm for the server, it must be version 4 protocol doesn't contain a realm for the server, it must be
explicitly specified. The default is whatever is returned by explicitly specified. The default is whatever is returned by
.Fn krb_get_lrealm . .Fn krb_get_lrealm .
This option is only availabe if the program has been compiled with This option is only availabe if the KDC has been compiled with version
version 4 support. 4 support.
.El .El
.Pp
All activities (as specified by the log level), are logged to one or
more destinations, see the logging section of the
.Xr krb5.conf 5
manual page. The entity used for logging is
.Nm kdc .
.Sh CONFIGURATION FILE .Sh CONFIGURATION FILE
The configuration file has the same syntax as the The configuration file has the same syntax as the
.Pa krb5.conf .Pa krb5.conf
@@ -82,7 +83,7 @@ that has to be specified as:
.Dl require-preauth = no .Dl require-preauth = no
.Pp .Pp
(in fact you can specify the option as (in fact you can specify the option as
.Fl -require-preauth= Ns Ar no .Fl -require-preauth=no
as well). as well).
.Pp .Pp
An example of a config file: An example of a config file:
@@ -90,7 +91,7 @@ An example of a config file:
[kdc] [kdc]
require-preauth = no require-preauth = no
v4-realm = FOO.SE v4-realm = FOO.SE
log-file = /var/log/kdc.log key-file = /key-file
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr kinit 1 .Xr kinit 1