22 lines
605 B
Plaintext
22 lines
605 B
Plaintext
Index: src/options.c
|
|
===================================================================
|
|
--- src/options.c.orig
|
|
+++ src/options.c
|
|
@@ -40,6 +40,7 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <syslog.h>
|
|
|
|
#ifdef HAVE_SECURITY_PAM_APPL_H
|
|
#include <security/pam_appl.h>
|
|
@@ -354,7 +355,7 @@ _pam_krb5_options_init(pam_handle_t *pam
|
|
if (strlen(options->realm) > 0) {
|
|
krb5_set_default_realm(ctx, options->realm);
|
|
if (options->debug) {
|
|
- debug("configured realm '%s'", options->realm);
|
|
+ pam_syslog(pamh, LOG_DEBUG, "configured realm '%s'", options->realm);
|
|
}
|
|
}
|
|
|