| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
metze
|
| | |
|
| |
|
|
|
|
|
|
|
| |
1) Add in smb_file_time struct to clarify code and make room for createtime.
2) Get and set create time from SMB messages.
3) Fixup existing VFS modules + examples Some OS'es allow for the
setting of the birthtime through kernel interfaces. This value is
generically used for Windows createtime, but is not settable in the
code today.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the onefs vfs module to add configurable behavior to deal
with sids that are unknown to us. The best examples are aces that
come from robocopy/xcopy.
Adds the following share level options (which are specific to the vfs_onefs
module):
onefs: ignore unmappable sids (Default = false)
If this option is set to true, sids which could not be resolved to
a uid/gid are ignored. If an unmappable sid is encountered as the owner
or group, the owner/group is converted to BUILTIN\Administrators.
onefs: unmappable sids ignore list (Default = empty)
Only the sids in the list are ignored.
onefs: ignore sacls (Default = false)
SACLs are ignored
onefs: unmappable sids deny everyone (Default = false)
If an unmappable sid is found in a deny ACE, the ACE's identity is
changed to Everyone.
|
| |
|
|
|
| |
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c.
Jeremy.
|
| |
|
|
|
| |
to ourselves unless that was passed in.
Jeremy.
|
| |
|
|
|
|
|
|
| |
This fixes bug #5956.
Thanks to Oskar Wycislak <cantorek [at] gmail.com> for reporting
and providing a patch!
Karolin
|
| |
|
|
|
|
| |
"fileid:mapping" is still supported as fallback.
metze
|
| | |
|
| |
|
|
| |
Michael
|
| |
|
|
| |
Michael
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
metze
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Thanks to Hodur <coil93@gmail.com> for testing!
Volker
|
| |
|
|
|
|
|
|
|
|
| |
work with NTRENAME
Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.
The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.
|
| |
|
|
|
|
|
|
| |
Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.
The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Jeremy.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
reported by and based on a patch by Yasuma Takeda
<yasuma@osstech.co.jp>.
Jeremy.
|
| |\ |
|
| | | |
|
| |/
|
|
|
| |
done for POSIX ACLs.
Jeremy.
|
| | |
|
| |
|
|
|
|
| |
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58)
Signed-off-by: Michael Adam <obnox@samba.org>
|
| |
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
| | |
|
| |
|
|
|
|
|
|
| |
This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f.
This one should have been done with careful cherry-picks, sorry.
Volker
|
| |
|
|
| |
This reverts commit a4b52118d44906882677ed1234428d8025134036.
|
| |
|
|
| |
This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
|
| |
|
|
| |
This reverts commit c044b09572631cbdd686e5dbbdfbcc731145533a.
|
| |
|
|
| |
Crap, too many trees and no instant, infinitely fast rebuild
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is done to help file systems that can tell us about the real upper/lower
case combination given a case-insensitive file name. The sample I will soon
push is the gpfs module (recent gpfs has a get_real_filename function), others
might have a similar function to help alleviate the 1million files in a single
directory problem.
Jeremy, please comment!
Thanks,
Volker
|
| |
|
|
|
|
|
| |
torture test
This third patch cleans up by removing all of the code that is made
obsolete by the first patch. It should cause no functional changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first pass at extending the onefs vfs module to support
the CIFS-specific enhancements available on OneFS. Most of this patch
is massaging the sama open path to work with ifs_createfile.
ifs_createfile is a CIFS-specific syscall for opening/files and
directories. It adds support for:
- Full in-kernel access checks using a windows access_mask
- Cluster-coherent share mode locks
- Cluster-coherent oplocks
- Streams
- Setting security descriptors at create time
- Setting dos_attributes at create time
This patch does not implement the samba side of the streams support or
oplocks support. Tests that expect oplocks to be granted or streams
to be supported will fail. This will be remedied in upcoming patches.
|
| |
|
|
|
|
|
| |
This is an intermediate step that makes it much easier to see how the
OneFS SMB_VFS_CREATE_FILE implementation diverges from stock samba.
The goal is that more common code can be refactored into utility
functions.
|