1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
19e017a78a r5825: Fix one more DISK_FREE call - spotted by Ying Li <ying.li2@hp.com>.
Jeremy.
2007-10-10 10:56:04 -05:00
fd1999f1d7 r5757: Fix erroneous debug message - noticed by William Jojo <jojowil@hvcc.edu>.
Jeremy.
2007-10-10 10:55:59 -05:00
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
5a103f4abf r3823: Fix bug reported by Tom Dickson <tdickson@inostor.com> with
follow symlinks = no reporting an incorrect error when it should
be access denied.
Jeremy.
2007-10-10 10:53:19 -05:00
344e9dd33a r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have to
fix the modules too... First step in fixing out large directories
problem.
Jeremy.
2007-10-10 10:53:11 -05:00
341771857f r2152: Fix for bug #1674, move the symlinks checks into reduce_name().
Jeremy.
2007-10-10 10:52:33 -05:00
c137accb25 r1866: Fix for bug #1602 reported by <m.proehl@science-computing.de>.
Access to a share with
wide links = No
follow symlinks = No
Was failing with access denied.
Jeremy.
2007-10-10 10:52:22 -05:00
5e8237e306 r1115: Fix for #1427. Catch bad path errors at the right point. Ensure all
our pathname parsing is consistent.
Jeremy.
2007-10-10 10:51:56 -05:00
b562fe9fbc r933: When using widelinks = no, use realpath to canonicalize the
connection path on connection create for the user. We'll be
checking all symlinked paths are below this directory.
Jeremy.
2007-10-10 10:51:50 -05:00
a697941706 r658: Oops - make smbclient work again with widelinks = no :-).
Jeremy.
2007-10-10 10:51:33 -05:00
a03b6a05e0 r656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy.
2007-10-10 10:51:33 -05:00
6654b03cbd r421: Fix debug message. Closes bugzilla #1305. 2007-10-10 10:51:23 -05:00
92c3ae3458 Several mb tidyups - getting ready to address the XXX_sub function.
Jeremy.
-
6080186fc4 all_string_sub() is broken as it doesn't handle mb chars correctly (and
so breaks when substitution '/' and '\'). It's used by unix_clean_name(),
which is used by reduce_name, which is used by check_name() (phew!).
Now that we know all filenames passed to check_name() are in a "good"
format (no double slashes, all '\\' chars translated to '/' etc.) due
to the new check_path_syntax() we can avoid calling reduce_name unless
widelinks are denied. After this check-in I can fix all_string_sub() to
handle mb chars correctly as it won't be in the direct path in the
main path handling code.
Jeremy.
-
019aaaf0df Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
-
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.
-
ce5c91d35d Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adapted
into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
-
024de9213e Added EA operations to VFS layer.
Jeremy.
-
1480c7e8c7 add metze's patch for smb_register functions -
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 -
af0a17349e Eliminate NULL pointers from VFS interface. All hooks now really callable, producing either correct result or returning error if the feature isn't supported in the configuration -
13e1bbd803 GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with this. Previous fix was incorrect. -
5d643b9d03 A small patch from metze to fix builds on some platforms ...
http://lists.samba.org/pipermail/samba-technical/attachments/20030512/0332258a/vfs-fix-01.obj
-
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
-
dbe36b4c43 Make the version numbers ints (patch from metze) -
bc4b51bcb2 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
-
e5f6676639 * fix segfault when no vfs objects defined
* add "sid=..." to 'net groupmap add'
-
6e9b780233 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
-
30e8ae8e03 Const warning fixes.
Jeremy.
-
8498503f1d untest fix from HEAD/2.2 for wide links parameter bug.
it work properly on 2.2 and the patch apply so I think it should be ok.
-
7b95151ddc Merge from HEAD - handle VFS module load failures, change some error returns to
avoid sending NT_STATUS_UNSUCCESSFUL.

Andrew Bartlett
-
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
379e719e98 Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
-
40eafb9dde First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
-
65e7b5273b sync'ing up for 3.0alpha20 release -
42615b945e Sync 3.0 branch with head -
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
ac1baba35d Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
-
ad1e858d8e Sync up vfs changes from 2.2.x.
Jeremy.
-
96e4282dca Missing comma from systems that have ACLs. -
7d59445b69 Added POSIX ACL layer into the vfs.
Jeremy.
-
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
ccda82b457 Attempt to fix bugs in write cache code (yes I know it's going away :-).
Jeremy.
-
6210d4aa19 Getting ready to add UNIX extensions in HEAD also.
Jeremy
-
e6b27f3d80 Re-wrote the guts of the rename_internals code to cope with a reported
bug (renaming name -> name was failing, on W2K it succeeds). Simplified
the common case, did a lot of work to ensure NT error codes are correctly
reported back to client.
Jeremy.
-
9391efb38e Don't check space on every extend if strict allocate not set.
Jeremy
-
9ff6b0c20c Fixed allocation bug in database prog. Some format fixes.
Jeremy.
-
970ec14b4b Added debug in truncate, fixed warning with gcc3.
Jeremy.
-
398ced6eef Made default vfs ops static so we can use this symbol in actual modules. -
7c3542ba87 Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile. -