audit/audit-1.7.9-bugs.patch
Steve Grubb 0961553dfe - Fix segfault when using file input to aureport
- Quieten down messages about missing gssapi support
2008-10-23 20:07:02 +00:00

43 lines
1.4 KiB
Diff

diff -urp audit-1.7.8/src/auditd-config.c audit-1.7.9/src/auditd-config.c
--- audit-1.7.8/src/auditd-config.c 2008-10-22 14:02:04.000000000 -0400
+++ audit-1.7.9/src/auditd-config.c 2008-10-23 15:55:45.000000000 -0400
@@ -1372,7 +1372,7 @@ static int enable_krb5_parser(struct nv_
nv->value);
#ifndef USE_GSSAPI
- audit_msg(LOG_NOTICE,
+ audit_msg(LOG_DEBUG,
"GSSAPI support is not enabled, ignoring value at line %d",
line);
return 0;
@@ -1395,7 +1395,7 @@ static int krb5_principal_parser(struct
audit_msg(LOG_DEBUG,"krb5_principal_parser called with: %s",nv->value);
#ifndef USE_GSSAPI
- audit_msg(LOG_NOTICE,
+ audit_msg(LOG_DEBUG,
"GSSAPI support is not enabled, ignoring value at line %d",
line);
return 0;
@@ -1412,7 +1412,7 @@ static int krb5_key_file_parser(struct n
audit_msg(LOG_DEBUG, "krb5_key_file_parser called with: %s", nv->value);
#ifndef USE_GSSAPI
- audit_msg(LOG_NOTICE,
+ audit_msg(LOG_DEBUG,
"GSSAPI support is not enabled, ignoring value at line %d",
line);
return 0;
diff -urp audit-1.7.8/src/aureport.c audit-1.7.9/src/aureport.c
--- audit-1.7.8/src/aureport.c 2008-10-22 14:02:04.000000000 -0400
+++ audit-1.7.9/src/aureport.c 2008-10-23 15:55:45.000000000 -0400
@@ -105,6 +105,8 @@ int main(int argc, char *argv[])
config.admin_space_left_exe = NULL;
config.disk_full_exe = NULL;
config.disk_error_exe = NULL;
+ config.krb5_principal = NULL;
+ config.krb5_key_file = NULL;
}
print_title();