1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

217 Commits

Author SHA1 Message Date
Volker Lendecke
c509ce3675 r23722: Fix the build of the catia module
(This used to be commit fa09744cce)
2007-10-10 12:23:48 -05:00
Jeremy Allison
9f03efd6e5 r23692: Couldn't wait, sorry :-). Did the style change.
Jeremy.
(This used to be commit da0d6ba0f9)
2007-10-10 12:23:46 -05:00
Simo Sorce
38c84fe163 r23691: fix for bug on touching files as described here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
(This used to be commit 6b68c006f8)
2007-10-10 12:23:46 -05:00
Jeremy Allison
a0ac7a7f4c r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.

NFSv4 ACL module owners, please examine these changes.

Jeremy.
(This used to be commit fc6899a550)
2007-10-10 12:23:37 -05:00
James Peach
0d5265e9d4 r23423: Use the correct structure types in the NT_ACL operations. It's not
clear to my why the catia module feels it's necessary to implement
these operations, but at least they're now the right type.
(This used to be commit b5be0c7403)
2007-10-10 12:23:15 -05:00
James Peach
0ae0d33a3a r23396: Make VFS callbacks static. Mark operations as OPAQUE because they
do not pass through.
(This used to be commit b9d6eee5d4)
2007-10-10 12:23:13 -05:00
Alexander Bokovoy
ea7f6e7afa r23302: Refactor vfs_gpfs module, fix problems with chmod Tridge has found during ctdb tests
(This used to be commit e150e42ac5)
2007-10-10 12:23:04 -05:00
Volker Lendecke
00959280b2 r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disable
gpfs share modes in special situations. This might be split up in
several modules later.
(This used to be commit 553fe92451)
2007-10-10 12:22:57 -05:00
Jeremy Allison
57d6318a0b r23105: Add lchown to the vfs layer. We need this in the POSIX code.
Jeremy.
(This used to be commit 932523cbb5)
2007-10-10 12:22:46 -05:00
James Peach
e85613f915 r23098: Fix the case of the #include statements so this module can be built on a
case-sensitive filesystem.
(This used to be commit 0fd0b57107)
2007-10-10 12:22:45 -05:00
Volker Lendecke
6bb0eb1bf8 r23068: Fix some uninitialized variables in the solarisacl module
(This used to be commit 569c04a244)
2007-10-10 12:22:18 -05:00
Michael Adam
e2dc669cda r22918: Attempt to fix the build of the tru64acl module.
Where the heck did that smb_acl_permset_t come from?
I can't remember...

Michael
(This used to be commit e55f952a13)
2007-10-10 12:22:07 -05:00
Volker Lendecke
b759f7c09a r22907: Fix the build with --enable-profiling-data
(This used to be commit fd45e0ff73)
2007-10-10 12:22:06 -05:00
Jeremy Allison
338d2462d4 r22872: Add vfs_zfsacl module from Jiri Sasek <Jiri.Sasek@Sun.COM>.
Jeremy.
(This used to be commit bd80db71e7)
2007-10-10 12:22:04 -05:00
Michael Adam
0aab2a8251 r22777: Fix for [Bug 4543] - POSIX ACL support on FreeBSD.
This adds vfs_posixacl to the list of static modules and
makes use of HAVE_ACL_GET_PERM_NP.

This is just a quick fix. FreeBSD acl support is still
hardcoded in configure.in, but actually this could be
detected in a unified test for freebsd, linux, *,
as suggested in the bugreport. This has still to be
checked and elaborated.

Michael
(This used to be commit af94654772)
2007-10-10 12:21:56 -05:00
Jeremy Allison
f1d8c4da23 r22675: Simo's patch for 0 size allocation. Still need
to examine parse_misc.c fix.
Jeremy.
(This used to be commit 80d981265c)
2007-10-10 12:19:54 -05:00
Michael Adam
b3010b5d6b r22615: fix prototype
(This used to be commit 6999d578ae)
2007-10-10 12:19:50 -05:00
Jeremy Allison
09ba519eb4 r22592: Fix TALLOC_SIZE to be consistent.
Jeremy.
(This used to be commit 8044a6482c)
2007-10-10 12:19:49 -05:00
Jeremy Allison
be8b0685a5 r22589: Make TALLOC_ARRAY consistent across all uses.
Jeremy.
(This used to be commit 8968808c3b)
2007-10-10 12:19:49 -05:00
Jeremy Allison
12ba88574b r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
(This used to be commit f6fa3080fe)
2007-10-10 12:19:44 -05:00
Michael Adam
59ac1167a6 r22529: Add implementation of HP-UX ACLs in the new vfs-module framework.
(This used to be commit aef5aad678)
2007-10-10 12:19:42 -05:00
James Peach
772ffe76fe r22413: Simplify the build rules for plugin modules. Add support for per-platform
exports files. Fix the shared library build pf pdb_ldap.
(This used to be commit b04dee02d1)
2007-10-10 12:19:32 -05:00
Jim McDonough
d6d35eab6e r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file).  Thanks to Gomati Mohanan.
(This used to be commit 859269c949)
2007-10-10 12:19:16 -05:00
Volker Lendecke
b61fac6742 r22147: Next try
(This used to be commit 42f4232155)
2007-10-10 12:19:16 -05:00
Volker Lendecke
d442cca230 r22146: Attempt to fix the build
(This used to be commit 825255c760)
2007-10-10 12:19:16 -05:00
Jeremy Allison
4838055e5f r22132: I hate inefficiency. Don't call conv_str_size()
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.
(This used to be commit 85df3fca68)
2007-10-10 12:19:15 -05:00
Jeremy Allison
4c6dfcf954 r22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy.
(This used to be commit e296f07e1d)
2007-10-10 12:19:13 -05:00
Jeremy Allison
d946a78dde r22105: Added vfs_readahead module that appears to do wonderful things
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.
(This used to be commit 97fdd67e83)
2007-10-10 12:19:13 -05:00
James Peach
74cfa0fdce r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.
(This used to be commit 395fd99edb)
2007-10-10 12:19:10 -05:00
Jeremy Allison
7a70d9cc87 r22080: Fix directory recycle module bug #4486.
Jeremy.
(This used to be commit 17b1d11bbb)
2007-10-10 12:19:10 -05:00
Jeremy Allison
28220ed710 r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()).
Jeremy.
(This used to be commit 63b061a2ea)
2007-10-10 12:18:52 -05:00
James Peach
cc87cb7770 r21950: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. The length field does not count any null.

Also add call to chflags(2) in the default VFS module so that this
will work be default on BSD-derived platform. Add UNIX-INFO2 test
to the build farm to get some non-BSD coverage.

Jeremy and Jerry, please review for inclusion in 3.0.25.
(This used to be commit e7b21b1ef3)
2007-10-10 12:18:51 -05:00
Alexander Bokovoy
679a313517 r21885: Chown logic should be activated only if nfs4:chown=yes
(This used to be commit b10410634f)
2007-10-10 12:18:44 -05:00
Jeremy Allison
7c09cfd080 r21877: Missed one line.
Jeremy.
(This used to be commit 184571e4b0)
2007-10-10 12:18:42 -05:00
Jeremy Allison
e6bf92118b r21874: Fix missing notify function. Thanks to Thomas Bork <tombork@web.de>
for pointing this out !
Jeremy.
(This used to be commit b69e18c7f1)
2007-10-10 12:18:42 -05:00
James Peach
a39f08eec2 r21767: Revert all the bits I accidentally committed in r21766.
(This used to be commit 7e862b9080)
2007-10-10 12:18:30 -05:00
James Peach
41c8f3da97 r21766: Fix compiler warning.
(This used to be commit f82ac78b2f)
2007-10-10 12:18:29 -05:00
Jeremy Allison
7b85ad755d r21764: Fix warning in debug comment.
Jeremy.
(This used to be commit 12c29a8e9b)
2007-10-10 12:18:29 -05:00
James Peach
6e5ea70e9e r21757: Add SMB_VFS_CHFLAGS operation.
(This used to be commit 16cb22d6b8)
2007-10-10 12:18:28 -05:00
Jeremy Allison
4952fe368a r21714: Change the VFS interface to use struct timespec
for utimes - change the call to ntimes. This preserves
nsec timestamps we get from stat (if the system supports
it) and only maps back down to usec or sec resolution
on time set. Looks bigger than it is as I had to move
lots of internal code from using time_t and struct utimebuf
to struct timespec.
Jeremy.
(This used to be commit 8f3d530c5a)
2007-10-10 12:18:24 -05:00
Jeremy Allison
6deb189abb r21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.
Jeremy
(This used to be commit 24a4d4d7ad)
2007-10-10 12:18:22 -05:00
James Peach
1702791ba2 r21647: Allow unit on for size parameters.
(This used to be commit 4d5654a8ab)
2007-10-10 12:18:21 -05:00
Jeremy Allison
cba9ad6633 r21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>
- add minsize parameter. Bug #4409.
Jeremy.
(This used to be commit b9408304db)
2007-10-10 12:18:21 -05:00
Jeremy Allison
8e00e9d7a6 r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
(This used to be commit df07a662e3)
2007-10-10 12:18:16 -05:00
Jim McDonough
13ee4a535b r21339: Fix the non-linux build. This is more evidence that this needs to be
moved up one layer.
(This used to be commit 552ae93b14)
2007-10-10 12:17:56 -05:00
Jim McDonough
5a052edf03 r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,
it should be abstracted a little higher up so other os'es can have an
entry, but it will take a bit more work.  Thanks to Chetan Shringarpure
and Mathias Dietz.

I didn't increment the vfs number again because the kernel change notify
stuff hasn't been released yet anyway.
(This used to be commit 9463211bf3)
2007-10-10 12:17:56 -05:00
Gerald Carter
a252038187 r21151: applying patches for CVE-2007-045[34]
(This used to be commit 1d46b2ae34)
2007-10-10 12:17:43 -05:00
Volker Lendecke
7074680bcf r21127: Add a mitigating comment ;-))
(This used to be commit 918a6910d0)
2007-10-10 12:17:41 -05:00
Volker Lendecke
bad8c39f1c r21111: Reorganize the change notify params a bit. We now have the per-share
parameters

change notify = [yes]/no           # do we do it at all
kernel change notify = [yes]/no    # enable/disable inotify

Those who want FAM need to say

change notify = yes
vfs objects = notify_fam

Volker
(This used to be commit c3a44d8b96)
2007-10-10 12:17:39 -05:00
Volker Lendecke
6b8fc040e5 r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes this.
Volker
(This used to be commit e57a6d4d63)
2007-10-10 12:17:38 -05:00