Tim Prouty
61b4597e3c
s3: Add SMB_VFS_CREATE_FILE to vfs_full_audit module
2008-12-03 17:50:57 -08:00
Tim Prouty
f995a7af2a
s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE
...
Now unix paths can be differentiated from windows paths so the
underlying create_file implementations can convert paths correctly.
2008-12-03 17:50:37 -08:00
Tim Prouty
f38d7f20a8
s3: Add SMB_VFS_CREATE_FILE to the vfs layer
...
Modify all callers of create_file to go through SMB_VFS_CREATE_FILE
2008-12-03 17:50:17 -08:00
Steven Danneman
85b8cccab0
Add support for OneFS ACLs
...
Add to the OneFS VFS module, support for NTFS ACLs through the calls:
SMB_VFS_FGET_NT_ACL()
SMB_VFS_GET_NT_ACL()
SMB_VFS_FSET_NT_ACL()
Also create several new onefs specific smb.conf parameters in onefs.h
2008-12-02 20:35:45 -08:00
Tim Prouty
239f815e30
Add OneFS VFS module skeleton.
...
Also set configure to autodetect OneFS OS and build this VFS module.
2008-12-02 20:35:45 -08:00
Stefan Metzmacher
65169a43b3
s3:streams_xattr: fstat should do a stat on the base file
...
The behavior of stat and fstat should be the same.
metze
2008-12-01 14:26:58 -08:00
Stefan Metzmacher
a8004a4ef5
s3:streams_xattr: recheck fsp->fsp_name after a rename
...
metze
2008-12-01 14:25:20 -08:00
Stefan Metzmacher
b0c0b949fe
s3:streams_depot: add an option to disable the xattr checks
...
streams_depot:check_valid=no is useful when the filesystem
has no xattr support and files are only published via samba.
metze
2008-12-01 14:20:21 -08:00
Stefan Metzmacher
d53f82a1cf
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value
...
metze
2008-12-01 14:11:33 -08:00
Stefan Metzmacher
549c2cb7a8
s3:streams_depot: add support for stream renames
...
metze
2008-12-01 14:10:04 -08:00
Stefan Metzmacher
ce310f666d
s3:streams_depot: map 'file::$DATA' to just 'file'
...
metze
2008-12-01 13:59:21 -08:00
Stefan Metzmacher
9ae1a17c95
s3:streams_xattr: add support for renaming streams
...
metze
2008-12-01 13:54:53 -08:00
Michael Adam
e021ecea45
s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
...
Michael
2008-12-01 06:21:29 +01:00
Michael Adam
afbfbd7f4c
[s3]zfsacl: "return" is not a function.
...
Michael
2008-11-25 11:29:41 +01:00
Nils Goroll
bf04324592
[s3]zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.
...
This is a proposed fix for Bugs #5135 and #5446 .
Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-25 11:29:40 +01:00
Mathias Dietz
51b840a07e
Search for gpfs functions in both libgpfs_gpl.so an libgpfs.so
...
As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the
special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS
installations, still look there.
2008-11-24 16:22:05 +01:00
Jeremy Allison
d205766e60
Fix a C90 error.
...
Jeremy.
2008-11-21 22:51:20 -08:00
Jeremy Allison
338303eb37
Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that caused us to
...
run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On
opening the base_fsp we must break existing oplocks." as it broke make test.
Jeremy.
2008-11-21 22:48:37 -08:00
Jeremy Allison
83ff6979f5
Fix the logic bug that caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks.
...
Jeremy.
2008-11-21 18:20:38 -08:00
Jeremy Allison
dcc4661d4a
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2008-11-21 18:20:33 -08:00
Michael Adam
3d30d5945c
[s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()
...
Add the const from nfs4_acls.c to nfs4_acls.h
This fixes my build of the zfsacl module on solaris.
Michael
2008-11-22 01:53:37 +01:00
Jeremy Allison
ecd8c5d307
Use fxattr calls whenever possible (trying to work around the strange Linux kernel oplock bug).
...
Jeremy.
2008-11-21 16:02:31 -08:00
Jeremy Allison
8d674e351a
Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of the file
...
(also fix a bad merge of the previous patch from 3.3).
Jeremy.
2008-11-21 15:42:03 -08:00
Jeremy Allison
53903d9eb1
Fix the build, by some cut-and-paste error I got two versions of the same functions here.
...
Jeremy.
2008-11-20 10:45:18 -08:00
Jeremy Allison
31a8c4df13
Fix build farm breakage.
2008-11-19 14:51:55 -08:00
Jeremy Allison
d532197042
Add functions to delete NTACL on posix ACL set.
...
Jeremy.
2008-11-19 12:24:53 -08:00
Jeremy Allison
d8df43e65d
Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.
...
Jeremy.
2008-11-17 14:13:20 -08:00
TAKAHASHI Motonobu
e711d76157
Fix bug 5901: Default for streams_depot location
2008-11-16 13:18:56 +01:00
Jeremy Allison
4c7033df5d
Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
...
Jeremy.
2008-11-13 17:18:41 -08:00
Michael Adam
dee2c61ce0
[s3]vfs_acl_tdb: fix the build.
...
ndr_push_struct_blob has a different signature in master as well.
Michael
2008-11-11 10:30:29 +01:00
Jeremy Allison
d6be0ba672
Fix the build (ndr_pull_struct_blob has a different signature in master).
...
Jeremy.
2008-11-10 20:18:01 -08:00
Jeremy Allison
8076e50fad
Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow.
...
Jeremy.
2008-11-10 17:57:22 -08:00
Jeremy Allison
813bf8b4f4
Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass RAW-ACL inheritance tests. Only access masks for SD get/set left to fix.
...
Jeremy.
2008-11-08 22:57:57 -08:00
Jeremy Allison
87f563c230
Start factoring out the inheritance differences.
...
Jeremy.
2008-11-06 01:58:56 -08:00
Jeremy Allison
24c598b1b9
Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the default ACL in place.
...
Jeremy.
2008-11-06 01:40:21 -08:00
Jeremy Allison
4af3c2830a
Only one more issue with NULL ACL test left to solve.
...
Jeremy.
2008-11-06 01:01:01 -08:00
Jeremy Allison
f640135d12
Fix crash in module, get more of the NULL acl test right.
...
Jeremy.
2008-11-06 00:50:56 -08:00
Jeremy Allison
bfc59f63f3
Pass all of RAW-ACLS except for inheritence. Working on that next.
...
Jeremy.
2008-11-04 01:34:08 -08:00
Jeremy Allison
4f8fac1b8e
Pass all the non-inherited S4 RAW-ACL tests.
...
Jeremy.
2008-11-03 22:42:53 -08:00
Jelmer Vernooij
7b186c48d3
Remove sys_dl*() - stubs are already provided by libreplace.
2008-11-01 03:49:49 +01:00
Jelmer Vernooij
a6d537bb6c
Move sys_realpath() to libreplace.
2008-11-01 03:42:27 +01:00
Jelmer Vernooij
38d67363ac
Move sys_lchown() to libreplace.
2008-11-01 03:39:20 +01:00
Jelmer Vernooij
e8cda43e17
Move sys_symlink() to libreplace.
2008-11-01 03:35:58 +01:00
Jelmer Vernooij
bbbe6ab722
Move sys_link to libreplace.
2008-11-01 03:30:47 +01:00
Jelmer Vernooij
cdf8f57863
Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.
2008-11-01 03:29:06 +01:00
Jeremy Allison
54eaf2de74
Get closer to passing S4 RAW-ACLs.
...
Jeremy.
2008-10-31 18:04:53 -07:00
Jeremy Allison
8344e94574
Unify se_access_check with the S4 code. Will make
...
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Jeremy Allison
8c1a90c2e3
Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr module. Inheritance fails at the moment though.
...
Jeremy.
2008-10-30 16:13:03 -07:00
Jeremy Allison
782f309df3
Inherit Windows ACLs on a new directory.
...
Jeremy.
2008-10-30 13:51:28 -07:00
Jeremy Allison
680975d07b
Fix CID 606 - failed to return -1 after socket() fail.
...
Jeremy.
2008-10-29 16:43:19 -07:00