summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-04 04:28:48 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:13 -0400
commit849cc65654d20e7077621ead2429a82fcac35197 (patch)
tree0d6c07cfd5113b8f1d5bf809e17ad1303d9b3edc /source3/smbd/smb2_create.c
parent660506d359d76700f6f6ae5b7e9c4d05fe505fb6 (diff)
downloadsamba-849cc65654d20e7077621ead2429a82fcac35197.tar.gz
s3-smbd: Migrated to new spoolss functions for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 47a85f8cf36..71e97a4040c 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);