From 8cc0489c8040b1c8836e7a54e0561ed69cb87fec Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Nov 2022 18:45:06 +0100 Subject: lib: Add get_current_user_info_domain() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/printing/printing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index dbe5a20e382..f7911244398 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1592,7 +1592,7 @@ static void print_queue_update(struct messaging_context *msg_ctx, "", get_current_gid(NULL), get_current_username(), - current_user_info.domain, + get_current_user_info_domain(), lpqcommand); if (!lpqcommand) { return; @@ -1612,7 +1612,7 @@ static void print_queue_update(struct messaging_context *msg_ctx, "", get_current_gid(NULL), get_current_username(), - current_user_info.domain, + get_current_user_info_domain(), lprmcommand); if (!lprmcommand) { return; @@ -2850,7 +2850,7 @@ NTSTATUS print_job_end(struct messaging_context *msg_ctx, int snum, "", get_current_gid(NULL), get_current_username(), - current_user_info.domain, + get_current_user_info_domain(), lpq_cmd); if (lpq_cmd == NULL) { status = NT_STATUS_PRINT_CANCELLED; -- cgit v1.2.1