Jeremy Allison
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
Jeremy Allison
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
Jeremy Allison
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
Jeremy Allison
a697941706
r658: Oops - make smbclient work again with widelinks = no :-).
...
Jeremy.
2007-10-10 10:51:33 -05:00
Jeremy Allison
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
Tim Potter
6654b03cbd
r421: Fix debug message. Closes bugzilla #1305 .
2007-10-10 10:51:23 -05:00
Jeremy Allison
92c3ae3458
Several mb tidyups - getting ready to address the XXX_sub function.
...
Jeremy.
-
Jeremy Allison
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.
-
Jeremy Allison
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.
-
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.
-
Jeremy Allison
ce5c91d35d
Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adapted
...
into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de >.
Jeremy.
-
Jeremy Allison
024de9213e
Added EA operations to VFS layer.
...
Jeremy.
-
Simo Sorce
1480c7e8c7
add metze's patch for smb_register functions
-
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
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
-
Alexander Bokovoy
13e1bbd803
GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with this. Previous fix was incorrect.
-
Richard Sharpe
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
-
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
dbe36b4c43
Make the version numbers ints (patch from metze)
-
Jelmer Vernooij
bc4b51bcb2
Use NTSTATUS as return value for smb_register_*() functions and init_module()
...
function. Patch by metze with some minor modifications.
-
Gerald Carter
e5f6676639
* fix segfault when no vfs objects defined
...
* add "sid=..." to 'net groupmap add'
-
Jelmer Vernooij
6e9b780233
More merges from HEAD:
...
- Stephan Kulow's changes (fixing warnings in libsmbclient)
- VFS modules
- Seperating libs
-
Jeremy Allison
30e8ae8e03
Const warning fixes.
...
Jeremy.
-
Simo Sorce
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.
-
Andrew Bartlett
7b95151ddc
Merge from HEAD - handle VFS module load failures, change some error returns to
...
avoid sending NT_STATUS_UNSUCCESSFUL.
Andrew Bartlett
-
Andrew Bartlett
3a7458f947
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
-
Jeremy Allison
379e719e98
Fix for 64 bit issues with oplocks and allocation size.
...
Jeremy.
-
Jeremy Allison
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.
-
Gerald Carter
65e7b5273b
sync'ing up for 3.0alpha20 release
-
Jelmer Vernooij
42615b945e
Sync 3.0 branch with head
-
Andrew Tridgell
03ac082dcb
updated the 3.0 branch from the head branch - ready for alpha18
-
Jeremy Allison
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
-
Jeremy Allison
ad1e858d8e
Sync up vfs changes from 2.2.x.
...
Jeremy.
-
Jim McDonough
96e4282dca
Missing comma from systems that have ACLs.
-
Jeremy Allison
7d59445b69
Added POSIX ACL layer into the vfs.
...
Jeremy.
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Jeremy Allison
ccda82b457
Attempt to fix bugs in write cache code (yes I know it's going away :-).
...
Jeremy.
-
Jeremy Allison
6210d4aa19
Getting ready to add UNIX extensions in HEAD also.
...
Jeremy
-
Jeremy Allison
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.
-
Jeremy Allison
9391efb38e
Don't check space on every extend if strict allocate not set.
...
Jeremy
-
Jeremy Allison
9ff6b0c20c
Fixed allocation bug in database prog. Some format fixes.
...
Jeremy.
-
Jeremy Allison
970ec14b4b
Added debug in truncate, fixed warning with gcc3.
...
Jeremy.
-
Tim Potter
398ced6eef
Made default vfs ops static so we can use this symbol in actual modules.
-
Tim Potter
7c3542ba87
Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.
-
Tim Potter
2d0922b0ea
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
-
Simo Sorce
a95943fde0
move to SAFE_FREE()
-
Jeremy Allison
c05e794536
Merge of transfer file code from 2.2, fix for readbraw.
...
Jeremy.
-
Herb Lewis
0768991d04
get rid of compiler warnings
-
Jeremy Allison
d1e7cf6073
Correctly report amount written in debug when allocation space.
...
Jeremy.
-
Jeremy Allison
298595e8cb
Fix for getting allocate_file_space to return the correct errno.
...
Jeremy.
-