diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 10:19:35 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:16 +0200 |
commit | e4cd34926f3d8c8f0c567467de39d47cf4b816f7 (patch) | |
tree | 8e2f3135cacb363eababeb507f7d899da66178a9 /source3/printing | |
parent | 7471ecb27f1bcec6f75b58bd34d4c42fd9434f14 (diff) | |
download | samba-e4cd34926f3d8c8f0c567467de39d47cf4b816f7.tar.gz samba-e4cd34926f3d8c8f0c567467de39d47cf4b816f7.tar.bz2 samba-e4cd34926f3d8c8f0c567467de39d47cf4b816f7.zip |
s3: Lift the smbd_messaging_context from winreg_set_printer_dataex
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing_ads.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c index 12993a9bf9..595da7fee1 100644 --- a/source3/printing/nt_printing_ads.c +++ b/source3/printing/nt_printing_ads.c @@ -68,7 +68,9 @@ static void store_printer_guid(const char *printer, struct GUID guid) goto done; } - result = winreg_set_printer_dataex(tmp_ctx, server_info, printer, + result = winreg_set_printer_dataex(tmp_ctx, server_info, + smbd_messaging_context(), + printer, SPOOL_DSSPOOLER_KEY, "objectGUID", REG_SZ, blob.data, blob.length); if (!W_ERROR_IS_OK(result)) { |