goto error_exit;
}
- status = openat_pathref_fsp(conn->cwd_fsp, smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
- ret = 1;
- goto done;
- }
-
status = SMB_VFS_CREATE_FILE(
conn, /* conn */
NULL, /* req */
goto error_exit;
}
- status = openat_pathref_fsp(conn->cwd_fsp, smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
- DBG_NOTICE("Can't open new file [%s], errno = %d\n",
- smb_fname_str_dbg(smb_fname), errno);
- goto error_exit;
- }
-
status = SMB_VFS_CREATE_FILE(
conn, /* conn */
NULL, /* req */
goto error_exit;
}
- nt_status = openat_pathref_fsp(conn->cwd_fsp, smb_fname);
- if (!NT_STATUS_IS_OK(nt_status)) {
- DBG_NOTICE("Can't open file [%s]: %s\n",
- smb_fname_str_dbg(smb_fname),
- nt_errstr(nt_status));
- *perr = WERR_ACCESS_DENIED;
- goto error_exit;
- }
-
nt_status = SMB_VFS_CREATE_FILE(
conn, /* conn */
NULL, /* req */