1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s3:printing: Add missing spaces to error messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-01 15:50:43 +12:00 committed by Andrew Bartlett
parent 1fbfe05023
commit 575f0016d4

View File

@ -2096,7 +2096,7 @@ WERROR print_job_delete(const struct auth_session_info *server_info,
if (!owner &&
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job delete denied."
DEBUG(0, ("print job delete denied. "
"User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));
@ -2183,7 +2183,7 @@ WERROR print_job_pause(const struct auth_session_info *server_info,
if (!is_owner(server_info, lp_const_servicename(snum), jobid) &&
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job pause denied."
DEBUG(0, ("print job pause denied. "
"User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));
@ -2252,7 +2252,7 @@ WERROR print_job_resume(const struct auth_session_info *server_info,
if (!is_owner(server_info, lp_const_servicename(snum), jobid) &&
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job resume denied."
DEBUG(0, ("print job resume denied. "
"User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));