From 849cc65654d20e7077621ead2429a82fcac35197 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 4 May 2010 04:28:48 -0400 Subject: s3-smbd: Migrated to new spoolss functions for printing. Signed-off-by: Jim McDonough --- source3/smbd/open.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index f1c32e0585..55ea8960de 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "printing.h" #include "smbd/globals.h" #include "librpc/gen_ndr/messaging.h" #include "../librpc/gen_ndr/ndr_security.h" @@ -1526,8 +1527,8 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, return NT_STATUS_INTERNAL_ERROR; } - return print_fsp_open(req, conn, smb_fname->base_name, - req->vuid, fsp); + return print_spool_open(fsp, smb_fname->base_name, + req->vuid); } if (!parent_dirname(talloc_tos(), smb_fname->base_name, &parent_dir, -- cgit