summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2012-01-06Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison1-2/+13
and tunes the aio threads.
2012-01-05Add some debug to vfs_aio_pthread so I can see when jobs start and stop.Jeremy Allison1-0/+16
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 20:28:00 CET 2012 on sn-devel-104
2012-01-05Add S3 vfs_aio_pthread module to replace broken glibc aio code.Jeremy Allison2-0/+647
Compiles but not yet tested. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 01:43:51 CET 2012 on sn-devel-104
2011-12-15s3:vfs fix up vfs_gpfs after function pointer renamesChristian Ambach1-25/+25
In 422494a8e630e2ca89386344eaa5346388698a32, vfs_gpfs.c was forgotten Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Dec 15 21:08:02 CET 2011 on sn-devel-104
2011-12-13s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()Stefan Metzmacher1-1/+2
metze
2011-12-12vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe45-702/+702
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-1/+1
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-02Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add ↵Jeremy Allison1-1/+1
inheritable entries on a directory with no stored ACL. If referring to an fsp sbuf can be left as an uninitialized variable, causing the 'is_directory' variable to be false when it should be true. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 2 22:13:03 CET 2011 on sn-devel-104
2011-11-30s3: Attempt to fix the vfs_commit moduleVolker Lendecke1-1/+1
This bug went in in 2007. I wonder how much this module is actually used.... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 21:46:09 CET 2011 on sn-devel-104
2011-11-30Fix bug 8636 - When returning an ACL without SECINFO_DACL requested, we ↵Jeremy Allison1-0/+2
still set SEC_DESC_DACL_PRESENT in the type field. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 30 04:59:07 CET 2011 on sn-devel-104
2011-11-24s3:vfs:gpfs remove non-working codeChristian Ambach1-65/+0
when development of vfs_gpfs was started a long time ago it was considered a good idea to have it compileable even if GPFS is not around and then the module would complain in the logs that libgpfs is not there Nowadays this does not work any more as the code contains GPFS specific types that need the GPFS header files. Instead of making it compile again by adding GPFS typedefs, this removes the whole approach. Other VFS modules also do not even compile when necessary headers are not around, so do the same for the GPFS module code.
2011-11-24s3:vfs:gpfs fix some compiler warningsChristian Ambach1-3/+3
2011-11-24s3:vfs:gpfs convert syncio parameterChristian Ambach1-2/+11
convert syncio parameter to be stored in the VFS handle data this removes the need to go through lp_parm_bool() on each open
2011-11-22Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison3-224/+0
now done correctly in the main codepath. The vfs_acl_XXXX modules are now thin shims that simply store/retrieve ACLs as they should be.
2011-11-04Remove can_access_file_data() - make it use the standard ↵Jeremy Allison1-2/+2
smbd_check_access_rights() instead.
2011-11-02Remove opendir() VFS code from ACL modules.Jeremy Allison3-50/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 2 02:13:51 CET 2011 on sn-devel-104
2011-10-28Remove the mkdir and open functions from the ACL modules - main code paths ↵Jeremy Allison3-138/+6
now handle this.
2011-10-28lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-19vfs_netatalk should be using strstr_m, not strstr to find .AppleDouble paths.Jeremy Allison1-5/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 19 00:05:45 CEST 2011 on sn-devel-104
2011-10-18The last argument to atalk_build_paths() is always false, remove it.Jeremy Allison1-12/+9
2011-10-15Removed unused variable.Jeremy Allison1-1/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 15 00:38:28 CEST 2011 on sn-devel-104
2011-10-14Add support for VFS op streaminfo chaining in all relevant VFS modules.Frank Lahm4-58/+20
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
2011-10-11s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.Michael Adam1-13/+14
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functionsMichael Adam1-2/+4
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:vfs: change the xattr_tdb module to use dbwrap wrapper functionsMichael Adam1-11/+18
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:vfs_acl_common: also parse xattr.NTACL version 1Stefan Metzmacher1-0/+12
This is what the source4/ntvfs/posix code uses. It's also used at provision time to setup the sysvol permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 11 14:16:25 CEST 2011 on sn-devel-104
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-1/+1
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
2011-10-08s3:modules: add vfs_dfs_samba4Stefan Metzmacher2-1/+166
This module overloads the SMB_VFS_GET_DFS_REFERRAL() hooks, in order to support the domain, dc and sysvol referrals for a AD DC. The config would look like this: [IPC$] vfs objects = dfs_samba4 metze
2011-10-08s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2-1/+178
metze
2011-10-06modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett1-1/+1
2011-10-01Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe1-0/+335
NTTRANS-FSCTL. Test added to selftests.
2011-09-30s3: Re-add (), fix a gcc hintVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
2011-09-27These modules are no longer experimental but production-ready (especiallyJeremy Allison2-4/+0
the acl_xattr code). Remove the "experimental" tag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Sep 27 21:00:12 CEST 2011 on sn-devel-104
2011-09-27Free the memory talloc'dRichard Sharpe1-1/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
2011-09-23Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.David Disseldorp1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104
2011-09-23Revert "Add a missing include file to two VFS modules"Jeremy Allison2-2/+0
My mistake - should have been 3.6.x only. This reverts commit 2e4d0641950ce6e38724ca71b46cf925f51ac7be.
2011-09-18s3: Fix a c++ warningVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104
2011-09-16s3: Trim lines in nfs4_acls.cVolker Lendecke1-41/+75
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 16 01:39:36 CEST 2011 on sn-devel-104
2011-09-16s3: Fix some nonempty blank linesVolker Lendecke1-17/+17
2011-09-15Add a missing include file to two VFS modulesRichard Sharpe2-0/+2
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 02:56:36 CEST 2011 on sn-devel-104
2011-09-08Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include ↵Jeremy Allison1-5/+4
SYNCHRONIZE flag - blocking renames. aceType is an enum field, not a bitmask. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 8 03:34:39 CEST 2011 on sn-devel-104
2011-09-07Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking ↵Ira Cooper1-1/+7
renames. Thanks to Youzhong Yang for discovering this issue. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 7 22:56:06 CEST 2011 on sn-devel-104
2011-08-31s3:modules make perfcount_test loadable againChristian Ambach1-1/+1
use expected 'init_samba_module' name for initializer function Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Aug 31 11:22:26 CEST 2011 on sn-devel-104
2011-08-31tdb2: fix build with --enable-tdb2Rusty Russell1-3/+2
tdb2 doesn't expost tdb_jenkins_hash; go straight to the source in ccan/hash. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-08-29Fix bug Bug 8422 - Infinite loop in ACL module code.Jeremy Allison1-1/+1
Missing assignment means this loop will never terminate. Need to be applied to 3.5.x and 3.6.1.
2011-08-25s3: Fix the build of vfs_aixacl2.cSATOH Fumiyasu1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104
2011-08-23scannedonly module: improve sleep behavior when reading a directory with ↵Olivier Sessink1-14/+16
multiple non-scanned files
2011-08-19Fix bug #8370 - vfs_chown_fsp broken -- returns in the wrong directoryJeremy Allison1-2/+11
Ensure we always use vfs_ChDir() to keep the singleton cache coherent. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Aug 19 00:43:05 CEST 2011 on sn-devel-104
2011-08-17Replace calls to sid_equal with calls to dom_sid_equalVolker Lendecke1-5/+5
2011-08-09s3:vfs_prealloc: fix build on SLES8Björn Jacke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Aug 9 19:29:08 CEST 2011 on sn-devel-104