s3: Fix the build without ADS
authorVolker Lendecke <vl@samba.org>
Sun, 8 Aug 2010 14:46:48 +0000 (16:46 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 8 Aug 2010 14:47:19 +0000 (16:47 +0200)
source3/printing/nt_printing_ads.c

index e0ace23d4d87b370797d2c55cdc3d35e766d20a7..637a2ba8ac818d31ae93e56ea52d3abcb0ed8e94 100644 (file)
@@ -453,19 +453,21 @@ done:
 #else
 WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
                          struct auth_serversupplied_info *server_info,
+                         struct messaging_context *msg_ctx,
                          struct spoolss_PrinterInfo2 *pinfo2,
                          int action)
 {
        return WERR_OK;
 }
 
-WERROR check_published_printers(void)
+WERROR check_published_printers(struct messaging_context *msg_ctx)
 {
        return WERR_OK;
 }
 
 bool is_printer_published(TALLOC_CTX *mem_ctx,
                          struct auth_serversupplied_info *server_info,
+                         struct messaging_context *msg_ctx,
                          char *servername, char *printer, struct GUID *guid,
                          struct spoolss_PrinterInfo2 **info2)
 {