smbd: add twrp arg to synthetic_smb_fname()
[amitay/samba.git] / source3 / smbd / pipes.c
index 49802aed44e127db92088babfdd9dca44cf8a5b2..2dd38bb7ab3e0c10f5131b71a7b10431f34ec76f 100644 (file)
@@ -51,7 +51,12 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
        fsp->fsp_flags.can_lock = false;
        fsp->access_mask = FILE_READ_DATA | FILE_WRITE_DATA;
 
-       smb_fname = synthetic_smb_fname(talloc_tos(), name, NULL, NULL, 0);
+       smb_fname = synthetic_smb_fname(talloc_tos(),
+                                       name,
+                                       NULL,
+                                       NULL,
+                                       0,
+                                       0);
        if (smb_fname == NULL) {
                file_free(smb_req, fsp);
                return NT_STATUS_NO_MEMORY;