1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
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/ -