This is needed for ordinary file or directory opens so the QFID create context
response gets the correct File-ID value via dos_mode() from the DOS attributes
xattr.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14137
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
DEBUG(10, ("smbd_smb2_create_send: "
"response construction phase\n"));
+ state->out_file_attributes = dos_mode(state->result->conn,
+ state->result->fsp_name);
+
if (state->mxac != NULL) {
NTTIME last_write_time;
state->out_create_action = state->info;
}
result->op->create_action = state->out_create_action;
- state->out_file_attributes = dos_mode(result->conn,
- result->fsp_name);
state->out_creation_ts = get_create_timespec(smb1req->conn,
result, result->fsp_name);