equal
deleted
inserted
replaced
|
1 --- scheduler/ipp.c Thu Jan 17 01:48:12 2013 |
|
2 +++ scheduler/ipp.c Thu Jan 17 01:47:45 2013 |
|
3 @@ -128,6 +128,7 @@ |
|
4 #include <deflt.h> |
|
5 #include <auth_attr.h> |
|
6 #include <secdb.h> |
|
7 +#include <bsm/adt_event.h> |
|
8 #endif /* HAVE_TSOL */ |
|
9 |
|
10 /* |
|
11 @@ -1523,7 +1524,7 @@ |
|
12 * print request will fail since user |
|
13 * does not have the required authorization. |
|
14 */ |
|
15 - cups_audit_print_request_denial(con, NULL, printer, -1, EACCES); |
|
16 + cups_audit_print_request_denial(con, NULL, printer, -1, ADT_FAIL_VALUE_AUTH); |
|
17 send_http_error(con, HTTP_UNAUTHORIZED, printer); |
|
18 return (NULL); |
|
19 } |
|
20 @@ -1546,7 +1547,7 @@ |
|
21 * print request will fail since user |
|
22 * does not have the required authorization. |
|
23 */ |
|
24 - cups_audit_print_request_denial(con, NULL, printer, -1, EACCES); |
|
25 + cups_audit_print_request_denial(con, NULL, printer, -1, ADT_FAIL_VALUE_AUTH); |
|
26 send_http_error(con, HTTP_UNAUTHORIZED, printer); |
|
27 return (NULL); |
|
28 } |