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

317 Commits

Author SHA1 Message Date
Jeremy Allison
57d6318a0b r23105: Add lchown to the vfs layer. We need this in the POSIX code.
Jeremy.
(This used to be commit 932523cbb5)
2007-10-10 12:22:46 -05:00
Jeremy Allison
5b3d90e48b r22591: Fix up the examples also.
Jeremy.
(This used to be commit aa5a1591c6)
2007-10-10 12:19:49 -05:00
Michael Adam
256f506c5b r22341: Fix build of examples/VFS: adapt include for new place of tdb...
(This used to be commit e711005828)
2007-10-10 12:19:27 -05:00
James Peach
70d5f417ab r21762: Fix the build by enabling shared modules and adding the config.*
files. Add norify_watch and chflags operations. Fix a bunch of
warnings.
(This used to be commit 1106db7ea1)
2007-10-10 12:18:29 -05:00
Jeremy Allison
4952fe368a 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.
(This used to be commit 8f3d530c5a)
2007-10-10 12:18:24 -05:00
James Peach
55170cb6a7 r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
(This used to be commit fa69031d00)
2007-10-10 12:16:02 -05:00
Jeremy Allison
6d29166997 r16948: Sync the exmaples code from trunk.
Jeremy.
(This used to be commit 508ba05a8e)
2007-10-10 11:19:14 -05:00
Jeremy Allison
22dbd67708 r15018: Merge Volker's ipc/trans2/nttrans changes over
into 3.0. Also merge the new POSIX lock code - this
is not enabled unless -DDEVELOPER is defined.
This doesn't yet map onto underlying system POSIX
locks. Updates vfs to allow lock queries.
Jeremy.
(This used to be commit 08e52ead03)
2007-10-10 11:15:57 -05:00
Volker Lendecke
e91aca5158 r13366: Add popt to the include path for examples/VFS. The modules themselves don't
use that, but includes.h fails in environments where there's no system popt
around. As the modules don't need that anyway, porting the check whether to
use the system one or our own seems a bit overkill.

Thanks to Michael Adam <ma@SerNet.DE>.

Volker
(This used to be commit 04cbde5956)
2007-10-10 11:06:26 -05:00
Volker Lendecke
933a8ec57e r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 9c44fef5be)
2007-10-10 11:06:04 -05:00
Volker Lendecke
d75de28c9e r11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> -- Thanks
(This used to be commit 1128d054dd)
2007-10-10 11:05:28 -05:00
Jeremy Allison
a5b339c799 r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
(This used to be commit af85458067)
2007-10-10 11:05:08 -05:00
Jeremy Allison
f98f86394a r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3)
2007-10-10 11:01:11 -05:00
Lars Müller
042d4b86f5 r8657: Add -fPIC which is the case for all other Samba shared libs.
Fix bug #2060.
(This used to be commit 8c09716c91)
2007-10-10 11:00:14 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da470)
2007-10-10 10:58:05 -05:00
Jeremy Allison
e55d945ff1 r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Wrong return val for symlink and readlink.
Jeremy.
(This used to be commit f3c4d5a957)
2007-10-10 10:58:04 -05:00
Jeremy Allison
ff7e5c2673 r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
(This used to be commit 0f03a6bdcd)
2007-10-10 10:58:02 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145)
2007-10-10 10:58:00 -05:00
Gerald Carter
12ce2c5aca r5131: BUG 2290: don;t call mkversion.sh since we don't have it in this directory
(This used to be commit 2ddcb64381)
2007-10-10 10:55:28 -05:00
Jeremy Allison
c5dcd2d572 r4092: Bring into line with new *alloc rules.
Jeremy.
(This used to be commit 2ed86ac584)
2007-10-10 10:53:33 -05:00
Jeremy Allison
c7e532496b r3855: Sync up with the one in the main source dir (yes, this should probably
be a symlink...).
Jeremy.
(This used to be commit 5b0da25796)
2007-10-10 10:53:21 -05:00
Jeremy Allison
a8caf25bd8 r3644: Fixup examples VFS compile.
Jeremy.
(This used to be commit dfa910e4ab)
2007-10-10 10:53:11 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Tim Potter
c92a776bcf Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
(This used to be commit 67d25f3de8)
2004-01-15 06:51:20 +00:00
Jeremy Allison
0d44747df9 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.
(This used to be commit 019aaaf0df)
2004-01-06 01:22:14 +00:00
Tim Potter
f6c798f4cc Change PICFLAG -> PICFLAGS to keep in line with version from source
directory and fix display bug.
(This used to be commit f43546d0af)
2003-12-05 11:12:05 +00:00
Jeremy Allison
11bf0c0b23 Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
(This used to be commit 80e14b1765)
2003-08-08 00:53:46 +00:00
Jeremy Allison
4d48737782 Test modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
(This used to be commit 3f8c77b116)
2003-08-07 21:49:01 +00:00
Jeremy Allison
de3f1c7767 Make skeleton VFSs compile with new EA modules.
Jeremy
(This used to be commit 7c4cc2086d)
2003-06-06 07:09:30 +00:00
Alexander Bokovoy
bee3d8f410 Move VFS example skel.c to two different examples: one for opaque operations and one for transparent. Also add configure support for compiling third-party modules. Patch from Stefan Metzmacher <metze@metzemix.de>
(This used to be commit fcdf215753)
2003-06-04 13:13:41 +00:00
Jelmer Vernooij
9bf2a5bde9 Don't crash if the underlying VFS doesn't support ACL's
(This used to be commit a7520177b0)
2003-05-01 01:35:56 +00:00
Jelmer Vernooij
17a3acafa8 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2)
2003-04-28 17:48:48 +00:00
Jelmer Vernooij
ff09ef629a Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore
(This used to be commit 0d322968cb)
2003-04-28 00:52:02 +00:00
Tim Potter
210cb79d29 Minor merges from HEAD.
(This used to be commit 902a1dc1d5)
2003-01-22 23:49:54 +00:00
Gerald Carter
9eeab10e54 [merge]
* removed unused variable from rpcclient code
* added container option to net command (patch from SuSE)
* Makefile patch for examples/VFS from SuSE
(This used to be commit 25a9681ddd)
2003-01-15 16:10:57 +00:00
Jelmer Vernooij
4d12794bc1 Sync with HEAD:
- Move working VFS modules to source/
- Move documentation to SGML
(This used to be commit be4894815c)
2002-11-18 16:22:44 +00:00
Jelmer Vernooij
59810257b9 Sync with HEAD
(This used to be commit e8475eceb3)
2002-10-28 19:19:59 +00:00
Jelmer Vernooij
f861aab464 Give recycle 3 arguments as required by the VFS interface (patch by metze)
(This used to be commit 15b9430d9c)
2002-10-24 15:45:23 +00:00
Gerald Carter
812c0a0f98 README.OtherModules
(This used to be commit 93cb8b47c4)
2002-09-30 15:25:40 +00:00
Simo Sorce
79f54d28f8 change parametric option name to vfs_recycle_bin it is more sane and do not pollute standard options namespace too much
changed also the mode options to be indipendente boolean values, make it easier to understand how to configure them

eg:
vfs_recycle_bin:keeptree=yes
vfs_recycle_bin:versions=yes
(This used to be commit d904d50d39)
2002-09-08 03:55:37 +00:00
Simo Sorce
27cc26cec8 recycle.c:
merged in modifications made my differnt people, cleaned up things, yet some work todo
the code works but there are still some cases to be handled properly

Makefile.in:
this one seem much simpler and effective than the previous hack with file inclusion
it should also be more portable
we still need to find a solution to support multiple platforms or go back to libtool
(This used to be commit e9f4bc77f8)
2002-09-07 04:05:42 +00:00
Simo Sorce
d0cef25c27 the current block module is completely broken, jelmer will commit a new one later.
simo
(This used to be commit 830f9910bb)
2002-09-06 13:39:46 +00:00
Simo Sorce
afc1a220b7 move everything to flat VFS/ directory
(This used to be commit d383c309d4)
2002-09-06 13:37:40 +00:00
Jeremy Allison
84a8efbf1a Removed C++ style comment.
Jeremy.
(This used to be commit 3803770eda)
2002-08-28 12:55:20 +00:00
Simo Sorce
995bf62aae patch from metze
(This used to be commit cc8e6ebc0e)
2002-08-27 09:45:26 +00:00
Simo Sorce
709c7c1674 add the netatalk module
(This used to be commit 2a15699532)
2002-08-27 09:30:17 +00:00
Simo Sorce
7251f6b9ec avoid using libtool for VFS modules
change a name in block.c it was hiding a function name
add a comment in configure
(This used to be commit 05038f4471)
2002-08-27 09:14:21 +00:00
Jelmer Vernooij
ec91716cb7 Add entry about block.so
(This used to be commit 6973344fb5)
2002-08-18 20:12:43 +00:00
Simo Sorce
255288df65 forgot to change the makefile system, sorry
(This used to be commit 3e6a11f56a)
2002-07-31 13:16:14 +00:00
Simo Sorce
edb9158f09 OK!
Finally the cascaded VFS patch is in.
Testing is very welcome, specially with layered multiple vfs modules.
A big thank to Alexander Bokovoy for his work and patience :)

Simo.
(This used to be commit 56283601af)
2002-07-30 09:59:53 +00:00
John Terpstra
0dd693bd98 x source path so this thing compiles.
(This used to be commit fb89be1355)
2002-06-15 07:34:06 +00:00
Jeremy Allison
3ca09d432c Fixes for recycle bin VFS for FreeBSD from "Scot W. Hetzel" <hetzels@westbend.net>.
Jeremy
(This used to be commit 68b83335de)
2002-05-11 00:33:51 +00:00
Jeremy Allison
7104dbd245 Set default recycle directory permissions as 0770. Unlink on rename
fail.
Jeremy.
(This used to be commit 42981c819a)
2002-03-23 20:48:45 +00:00
Jeremy Allison
0c42e582f8 Sync up the VFS changes from 2.2.x.
Jeremy.
(This used to be commit e758bdc8a8)
2002-03-19 02:51:48 +00:00
Tim Potter
352f226d76 Updated copyright notice.
(This used to be commit 86de168ea9)
2001-10-24 00:55:26 +00:00
Tim Potter
f80a526546 Renamed global_vfs_ops to default_vfs_ops and made static.
Make a copy of the default ops structure rather than following a pointer.

This fixes the audit VFS example module!
(This used to be commit 91ab6f75d9)
2001-10-24 00:45:41 +00:00
Tim Potter
65f591895c Don't get stuck in an infinite loop in vfs_connect.
(This used to be commit 69275e4f0f)
2001-10-23 22:13:25 +00:00
Tim Potter
75746fde8d Now compiles under head branch.
Funny, I don't remember using libtool in the original Makefile...
(This used to be commit 5392b3fc12)
2001-10-18 00:21:48 +00:00
Jeremy Allison
0c9a2cee9f Added example vfs block example from Ronald Kuetemeier <ronald@kuetemeier.com>.
Jeremy.
(This used to be commit 0609cd3162)
2001-05-16 02:12:37 +00:00
Jeremy Allison
aae30b6799 Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
(This used to be commit b29ff81673)
2000-11-06 21:33:49 +00:00
Jeremy Allison
5ba7235f0f Fixes for sample VFS audit code from "Brad Sahr" <bsahr@macromedia.com>.
Jeremy.
(This used to be commit 5d6dec3a94)
2000-11-06 20:01:03 +00:00
Tim Potter
2b15e8a33e Updated VFS examples to use ftruncate() and lock() functions.
(This used to be commit def0da145a)
2000-05-17 02:48:04 +00:00
Tim Potter
b61dc7f051 fsync() returns an int rather than void.
(This used to be commit 26972823cf)
2000-04-05 22:42:26 +00:00
Tim Potter
bfbbd1ad9d Added *.so
(This used to be commit e6d11483e2)
2000-04-05 22:42:06 +00:00
Tim Potter
a5ef1a71aa Improved clean target.
(This used to be commit facdfd319d)
2000-04-05 22:41:42 +00:00
Tim Potter
1546a4c683 Hopefully these changes will actually stick.
(This used to be commit a2782097db)
2000-02-04 05:08:16 +00:00
Tim Potter
18b31bce97 Some strange CVS weirdness happening here. I had SAMBA_TNG tags in my
head branch CVS/Entries file leading to lots of fun and games.  )-:
(This used to be commit bb07eceddb)
2000-02-03 04:40:56 +00:00