return NT_STATUS_NOT_SUPPORTED;
}
- if (fsp->num_pending_break_messages > 0) {
- return NT_STATUS_NOT_SUPPORTED;
- }
-
/*
* For now let it be simple and do not keep
* delete on close files durable open
}
/* Create an smb_filename with stream_name == NULL. */
- status = create_synthetic_smb_fname(talloc_tos(),
- cookie.base_name,
- NULL, NULL,
- &smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
+ smb_fname = synthetic_smb_fname(talloc_tos(), cookie.base_name,
+ NULL, NULL);
+ if (smb_fname == NULL) {
+ return NT_STATUS_NO_MEMORY;
}
ret = SMB_VFS_LSTAT(conn, smb_fname);
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
- /*
- * TODO:
- * add scavenger timer functionality
- *
- * For now we always allow the reconnect
- */
-#if 0
- expire_time = op->global->disconnect_time;
- expire_time += NTTIME_MAGIC(op->global->durable_timeout_msec);
- if (expire < now) {
- //TODO reopen and close before telling the client...
- }
-#endif
-
/*
* 2. proceed with opening file
*/