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/smb2_create.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source3/smbd/smb2_create.c') diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 47a85f8cf3..71e97a4040 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "printing.h" #include "smbd/globals.h" #include "../libcli/smb/smb_common.h" #include "../librpc/gen_ndr/ndr_security.h" @@ -486,11 +487,8 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - status = print_fsp_open(smb1req, - smb1req->conn, - in_name, - smb1req->vuid, - result); + status = print_spool_open(result, in_name, + smb1req->vuid); if (!NT_STATUS_IS_OK(status)) { file_free(smb1req, result); tevent_req_nterror(req, status); -- cgit