summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 16:46:48 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:47:19 +0200
commit9a4ac5b2d36fc8202d770c79c7a3ecf6d967b087 (patch)
tree16515e5f8a3a971e1d764508e69ec034b6cfea36
parentcc280f0cd1f970b044011dee386e15ec87eccec8 (diff)
downloadsamba-9a4ac5b2d36fc8202d770c79c7a3ecf6d967b087.tar.gz
samba-9a4ac5b2d36fc8202d770c79c7a3ecf6d967b087.tar.bz2
samba-9a4ac5b2d36fc8202d770c79c7a3ecf6d967b087.zip
s3: Fix the build without ADS
-rw-r--r--source3/printing/nt_printing_ads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index e0ace23d4d..637a2ba8ac 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -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)
{