1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00
Commit Graph

38 Commits

Author SHA1 Message Date
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
da0d6ba0f9 r23692: Couldn't wait, sorry :-). Did the style change.
Jeremy.
2007-10-10 12:23:46 -05:00
Simo Sorce
6b68c006f8 r23691: fix for bug on touching files as described here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
2007-10-10 12:23:46 -05:00
Jeremy Allison
17b1d11bbb r22080: Fix directory recycle module bug #4486.
Jeremy.
2007-10-10 12:19:10 -05:00
Jeremy Allison
12c29a8e9b r21764: Fix warning in debug comment.
Jeremy.
2007-10-10 12:18:29 -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
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
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
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
4dd8694a25 r15909: Implement recycle:subdir_mode 2007-10-10 11:17:12 -05:00
Simo Sorce
c068df483f r13224: better to cast the return too 2007-10-10 11:06:19 -05:00
Simo Sorce
6c15af31bc r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
2007-10-10 11:06:18 -05:00
Jeremy Allison
0c7b8a7637 r12279: unix_mask_match has been broken for *ever*... (How).
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
2007-10-10 11:05:51 -05:00
Günther Deschner
fa8e2c4b04 r7807: Allow to touch mtime in vfs-recycle with
recycle:touch_mtime = true

Guenther
2007-10-10 10:57:21 -05:00
Jeremy Allison
451fbbf1d6 r7544: Fix for bug #2196 from Denis Sbragion <d.sbragion@infotecna.it>.
Allow absolute path (system wide) recycle bin.
Jeremy.
2007-10-10 10:57:13 -05:00
Jeremy Allison
1c94cbd72d r7542: Patch from Renaud Duhaut <rd@duhaut.com> for a parameter
"directory_mode" when creating recycle directories.
Bug #1040.
Jeremy.
2007-10-10 10:57:12 -05:00
Jeremy Allison
620f2e608f r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Alexander Bokovoy
e1d0b8fc7b Fix string overflow due to wrong size calculation -
Tim Potter
803ae45172 Portability fix from Joachim Schmitz. Closes bug #546. -
Jeremy Allison
f35e9a8b90 More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.
-
Jelmer Vernooij
8625f0e015 Fix overflow in vfs_recycle module (and hopefully also bug #291) -
Simo Sorce
c501e84d41 Found out a good number of NT_STATUS_IS_ERR used the wrong way.
As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK

This patch will cure the problem.
Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is
used correctly, but I'm not 100% sure, coders should check the use of
NT_STATUS_IS_ERR() in samba is ok now.

Simo.
-
Volker Lendecke
c0e35f3be8 Const fixes by metze
Volker
-
Alexander Bokovoy
c2689ed118 Prefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out -
Alexander Bokovoy
91984ef5ca Fix VFS layer:
1. Finally work with cascaded modules with private data storage per module
2. Convert VFS API to macro calls to simplify cascading
3. Add quota support to VFS layer (prepare to NT quota support)

Patch by Stefan (metze) Metzemacher, with review of Jelmer and me
Tested in past few weeks. Documentation to new VFS API for third-party developers to follow
-
Jelmer Vernooij
bc4b51bcb2 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
-
Jelmer Vernooij
147c4d56d8 Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
parameters. Does not break binary compatibility with older modules.
-
Jelmer Vernooij
58aa32ea6a Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEAD -
Jelmer Vernooij
6e9b780233 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
-
Simo Sorce
646eb2dda6 port HEAD mods -
Simo Sorce
ffd0d643c2 ooops new_dir is already len +1 bytes -
Simo Sorce
b4a5362f04 check braindead safe_* function length interpretation is correct -
Simo Sorce
a6bc706625 remove unneded instruction -
Jeremy Allison
35d00bacdc talloc_init_named -> talloc_init.
Jeremy.
-
Jelmer Vernooij
14b129e301 Move working VFS modules to source/modules/ -