summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-11-30 18:45:06 +0100
committerJeremy Allison <jra@samba.org>2022-12-12 21:16:33 +0000
commit8cc0489c8040b1c8836e7a54e0561ed69cb87fec (patch)
tree748e24699f70606470b24db330af2c55e7d88db7 /source3/printing/printing.c
parent46ce8a47109f3b92ac32d951e414b2e8c80cb5da (diff)
downloadsamba-8cc0489c8040b1c8836e7a54e0561ed69cb87fec.tar.gz
lib: Add get_current_user_info_domain()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c6
1 files changed, 3 insertions, 3 deletions
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;