summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing_ads.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/nt_printing_ads.c')
-rw-r--r--source3/printing/nt_printing_ads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index fff5051308..66d66a30a1 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -264,6 +264,7 @@ WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
sinfo2->attributes = pinfo2->attributes;
win_rc = winreg_update_printer(mem_ctx, server_info,
+ smbd_messaging_context(),
pinfo2->sharename, info2_mask,
sinfo2, NULL, NULL);
if (!W_ERROR_IS_OK(win_rc)) {