1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

241 Commits

Author SHA1 Message Date
Jeremy Allison
e296f07e1d r22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy.
2007-10-10 12:19:13 -05:00
Jeremy Allison
97fdd67e83 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.
2007-10-10 12:19:13 -05:00
James Peach
395fd99edb r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status. 2007-10-10 12:19:10 -05:00
Jeremy Allison
17b1d11bbb r22080: Fix directory recycle module bug #4486.
Jeremy.
2007-10-10 12:19:10 -05:00
Jeremy Allison
63b061a2ea r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()).
Jeremy.
2007-10-10 12:18:52 -05:00
James Peach
e7b21b1ef3 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.
2007-10-10 12:18:51 -05:00
Alexander Bokovoy
b10410634f r21885: Chown logic should be activated only if nfs4:chown=yes 2007-10-10 12:18:44 -05:00
Jeremy Allison
184571e4b0 r21877: Missed one line.
Jeremy.
2007-10-10 12:18:42 -05:00
Jeremy Allison
b69e18c7f1 r21874: Fix missing notify function. Thanks to Thomas Bork <tombork@web.de>
for pointing this out !
Jeremy.
2007-10-10 12:18:42 -05:00
James Peach
7e862b9080 r21767: Revert all the bits I accidentally committed in r21766. 2007-10-10 12:18:30 -05:00
James Peach
f82ac78b2f r21766: Fix compiler warning. 2007-10-10 12:18:29 -05:00
Jeremy Allison
12c29a8e9b r21764: Fix warning in debug comment.
Jeremy.
2007-10-10 12:18:29 -05:00
James Peach
16cb22d6b8 r21757: Add SMB_VFS_CHFLAGS operation. 2007-10-10 12:18:28 -05:00
Jeremy Allison
8f3d530c5a 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.
2007-10-10 12:18:24 -05:00
Jeremy Allison
24a4d4d7ad r21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.
Jeremy
2007-10-10 12:18:22 -05:00
James Peach
4d5654a8ab r21647: Allow unit on for size parameters. 2007-10-10 12:18:21 -05:00
Jeremy Allison
b9408304db r21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>
- add minsize parameter. Bug #4409.
Jeremy.
2007-10-10 12:18:21 -05:00
Jeremy Allison
df07a662e3 r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
2007-10-10 12:18:16 -05:00
Jim McDonough
552ae93b14 r21339: Fix the non-linux build. This is more evidence that this needs to be
moved up one layer.
2007-10-10 12:17:56 -05:00
Jim McDonough
9463211bf3 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.
2007-10-10 12:17:56 -05:00
Gerald Carter
1d46b2ae34 r21151: applying patches for CVE-2007-045[34] 2007-10-10 12:17:43 -05:00
Volker Lendecke
918a6910d0 r21127: Add a mitigating comment ;-)) 2007-10-10 12:17:41 -05:00
Volker Lendecke
c3a44d8b96 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
2007-10-10 12:17:39 -05:00
Volker Lendecke
e57a6d4d63 r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes this.
Volker
2007-10-10 12:17:38 -05:00
Volker Lendecke
603a967613 r21108: Send sys_notify_watch through the VFS, FAM is next 2007-10-10 12:17:38 -05:00
Jim McDonough
61841b225c r21004: Patch from Mathias Dietz <MDIETZ@de.ibm.com> to fix multi-node
sharemodes in gpfs.
2007-10-10 12:17:26 -05:00
Jim McDonough
799967c668 r20717: Merge sharemode patch from Mathias Dietz <MDIETZ@de.ibm.com>.
The patch fixes the behaviour of GPFS sharemodes when
the access mask is no_access.
2007-10-10 12:17:04 -05:00
James Peach
9a790ee1fc r20500: Fix compiler warnings. 2007-10-10 12:16:53 -05:00
Herb Lewis
90265c83ff r20268: merge -r 20261:20263 from samba_3_0_24
get rid of previous prototype warnings
2007-10-10 12:16:38 -05:00
Herb Lewis
c60687db11 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
James Peach
91e90f3bc4 r20235: Don't use realloc directly. 2007-10-10 12:16:34 -05:00
Herb Lewis
ac3eb7813e r20124: clean up nested extern declaration warnings 2007-10-10 12:16:26 -05:00
Jim McDonough
3d6f387783 r20089: Put gpfs acl function into vfs_gpfs module. Thanks to Gomati Mohanan
<gomati.mohanan@in.ibm.com>.

Also fix fields for sec_desc differences between 3.0 and 3.0.24 in
nfs4_acls.c.
2007-10-10 12:16:24 -05:00
Volker Lendecke
4fe19e741f r20048: Fix vfs_full_audit after Jims kernel_flock addition 2007-10-10 12:16:22 -05:00
Jim McDonough
fa656ce34e r19826: Fix typo 2007-10-10 12:16:00 -05:00
Jim McDonough
0620658890 r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
2007-10-10 12:15:43 -05:00
Volker Lendecke
31c1be9056 r18785: Check in Peter Somogyis build fix 2007-10-10 12:00:57 -05:00
Jelmer Vernooij
b41c52b9db r18745: Use the Samba4 data structures for security descriptors and security descriptor
buffers.

Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
2007-10-10 12:00:54 -05:00
Jeremy Allison
867eeaafce r18719: Compile fix from Peter Somogyi.
Jeremy.
2007-10-10 12:00:52 -05:00
Jeremy Allison
a52fa21895 r18603: Add in the NFSv4 ACL mapping code from IBM.
Sorry for the delay :-).
Jeremy.
2007-10-10 11:51:59 -05:00
Gerald Carter
3da9f80c28 r18271: Big change:
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
  gen_ndr/ndr_security.c in SAMBA_4_0

The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
2007-10-10 11:51:18 -05:00
Jeremy Allison
330899ec30 r17367: Reverting the ab code. Note I'm not saying this
code is wrong or bad or anything, just that it
needs to be discussed & reviewed on the samba-technical
list before we add a platform-specific NFSv4 mapping.
That way lies a lot of future pain :-).
Jeremy.
2007-10-10 11:38:29 -05:00
Alexander Bokovoy
c085355c32 r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific examples directory. 2007-10-10 11:38:28 -05:00
Alexander Bokovoy
5b1db01514 r17354: Revert -r 17353 per Volker request while gpfs compatibility layer code will be released. 2007-10-10 11:38:27 -05:00
Alexander Bokovoy
72312cb2e2 r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs. 2007-10-10 11:38:27 -05:00
Volker Lendecke
1e4ee728df r17316: More C++ warnings -- 456 left 2007-10-10 11:38:25 -05:00
Jim McDonough
ca0c73f281 r17179: Merge the vl-posixacls tmp branch into mainline. It
modularizes our interface into the special posix API used on
the system. Without this patch the specific API flavor is
determined at compile time, something which severely limits
usability on systems with more than one file system. Our
first targets are AIX with its JFS and JFS2 APIs, at a later
stage also GPFS. But it's certainly not limited to IBM
stuff, this abstraction is also necessary for anything that
copes with NFSv4 ACLs. For this we will check in handling
very soon.

Major contributions can be found in the copyright notices as
well as the checkin log of the vl-posixacls branch. The
final merge to 3_0 post-3.0.23 was done by Peter Somogyi
<psomogyi@gamax.hu>
2007-10-10 11:38:17 -05:00
Volker Lendecke
c5e393d5ed r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some pstrings.
Volker
2007-10-10 11:19:21 -05:00
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
Volker Lendecke
601643a460 r16411: Fix compilation of vfs_afsacl, thanks to Greszler Szilard for trying 2007-10-10 11:18:52 -05:00