use syslog
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8331 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
static krb5_log_facility *log_facility;
|
||||
|
||||
static int
|
||||
connect_to_master (krb5_context context, const char *master)
|
||||
{
|
||||
@@ -339,6 +341,9 @@ main(int argc, char **argv)
|
||||
|
||||
master = argv[0];
|
||||
|
||||
krb5_openlog (context, "ipropd-master", &log_facility);
|
||||
krb5_set_warn_dest(context, log_facility);
|
||||
|
||||
ret = krb5_kt_register(context, &hdb_kt_ops);
|
||||
if(ret)
|
||||
krb5_err(context, 1, ret, "krb5_kt_register");
|
||||
|
Reference in New Issue
Block a user