summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 09:37:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:16 +0200
commit9751d7613b3db543a2cdb515c597d9600531dd76 (patch)
tree5ab2b1e3f6ee8899655136aa42dfc6ec33f450af /source3/printing
parentd7f8a6f82d56d7d46a0bcf8ed833ad09b9d00f26 (diff)
downloadsamba-9751d7613b3db543a2cdb515c597d9600531dd76.tar.gz
samba-9751d7613b3db543a2cdb515c597d9600531dd76.tar.bz2
samba-9751d7613b3db543a2cdb515c597d9600531dd76.zip
s3: Lift the smbd_messaging_context from winreg_update_printer
Diffstat (limited to 'source3/printing')
-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)) {