summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
* s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFlyBrad Smith2012-02-251-1/+1
|
* s3:vfs_gpfs:quieten an expectable warning messageChristian Ambach2012-02-101-1/+5
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Feb 10 20:14:12 CET 2012 on sn-devel-104
* s3:vfs_gpfs: fix a compiler warningChristian Ambach2012-02-101-1/+2
|
* s3:vfs_gpfs:Fix query of creation time from GPFSChristof Schmitt2012-02-101-0/+3
| | | | | | | | | | | | | | Setting the creation time through SetFileTime on a GPFS file system and querying it with GetFileTime shows a mismatch. The vfs_gpfs module first retrieves the information from the operating system and the flag st_ex_calculated_birthtime is set to false. When vfs_gpfs retrieves the birthtime from GPFS the flag st_ex_calculated_birthtime has to be set to true. Otherwise the birth time will get overwritten by a call to update_stat_ex_mtime, reporting the wrong time to a client system. Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:getrealfilename" a per share optionStefan Metzmacher2012-02-102-7/+15
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:ftruncate" a per share optionStefan Metzmacher2012-02-102-3/+14
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: make "gpfs:winattr" a per share optionStefan Metzmacher2012-02-102-5/+73
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs_gpfs: be less verbose in get/set_xattr functionsStefan Metzmacher2012-02-101-2/+2
| | | | | | metze Signed-off-by: Christian Ambach <ambi@samba.org>
* Fix bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER bit with the ↵Jeremy Allison2012-02-031-1/+36
| | | | acl_xattr module.
* s3-xattr_tdb: Fix listxattrVolker Lendecke2012-02-021-1/+1
| | | | We have to tell the caller how many bytes we actually want
* s3: Simplify streams_depot a bitVolker Lendecke2012-02-021-14/+5
| | | | | b0c0b949 is a bit involved. Passing down booleans is almost never very clear
* s3: Add rmdir operation to streams_depotVolker Lendecke2012-02-011-0/+47
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 1 01:05:57 CET 2012 on sn-devel-104
* Use sys_pread/sys_pwrite to cope correctly with 64-bit sizes. As in the ↵Jeremy Allison2012-01-261-2/+16
| | | | | | | default VFS case fall back from pread -> read and pwrite -> write on an ESPIPE error in the worker thread. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 26 02:11:28 CET 2012 on sn-devel-104
* s3: Fix a panic in aio_pthreadVolker Lendecke2012-01-251-1/+1
| | | | | | | | | Found by Nir Drang <nir@fabrix.tv> Thanks! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 25 18:22:37 CET 2012 on sn-devel-104
* s3: improve the code in the AES encryption.Matthieu Patou2012-01-251-8/+8
| | | | | | | | | Remove looping replace them by memcpy. Fix bug #8674 (Buffer overflow in vfs_smb_traffic_analyzer). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 25 03:12:14 CET 2012 on sn-devel-104
* s3: Fix bug #8674.Jeremy Allison2012-01-251-2/+1
| | | | Buffer overflow issue with AES encryption in samba traffic analyzer.
* s3-aio-pthread: num threads should be intVolker Lendecke2012-01-181-4/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 18 21:04:20 CET 2012 on sn-devel-104
* s3: Add a "lock_order" argument to db_openVolker Lendecke2012-01-183-3/+6
| | | | | | | This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy.
* s3: Split a line with 1 statementsVolker Lendecke2012-01-121-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 12 13:10:19 CET 2012 on sn-devel-104
* Ensure we always free aio_ex on all error paths by moving the TALLOC_FREEJeremy Allison2012-01-122-1/+3
| | | | | | | call out of smbd_aio_complete_aio_ex() and into the caller. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 12 03:10:52 CET 2012 on sn-devel-104
* First part of fix for bug #8673 - NT ACL issue.Jeremy Allison2012-01-111-18/+31
| | | | | Simplify the logic in the unlink/rmdir calls - makes it readable (and correct).
* s3-aio_pthread: Fix the buildVolker Lendecke2012-01-101-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 10 11:54:01 CET 2012 on sn-devel-104
* s3-aio_pthread: Make "pd_list" staticVolker Lendecke2012-01-101-1/+1
|
* Remove the commented out code.Jeremy Allison2012-01-061-52/+1
|
* Add "aio num threads" parameter to allow manual configuration ofJeremy Allison2012-01-061-16/+15
| | | | | threads via smb.conf if required. Ignore the number of cores. See comments inline.
* Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison2012-01-061-2/+13
| | | | and tunes the aio threads.
* Add some debug to vfs_aio_pthread so I can see when jobs start and stop.Jeremy Allison2012-01-051-0/+16
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 5 20:28:00 CET 2012 on sn-devel-104
* Add S3 vfs_aio_pthread module to replace broken glibc aio code.Jeremy Allison2012-01-052-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
* s3:vfs fix up vfs_gpfs after function pointer renamesChristian Ambach2011-12-151-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
* s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()Stefan Metzmacher2011-12-131-1/+2
| | | | metze
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-1245-702/+702
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-031-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
* Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add ↵Jeremy Allison2011-12-021-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
* s3: Attempt to fix the vfs_commit moduleVolker Lendecke2011-11-301-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
* Fix bug 8636 - When returning an ACL without SECINFO_DACL requested, we ↵Jeremy Allison2011-11-301-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
* s3:vfs:gpfs remove non-working codeChristian Ambach2011-11-241-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.
* s3:vfs:gpfs fix some compiler warningsChristian Ambach2011-11-241-3/+3
|
* s3:vfs:gpfs convert syncio parameterChristian Ambach2011-11-241-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
* Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison2011-11-223-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.
* Remove can_access_file_data() - make it use the standard ↵Jeremy Allison2011-11-041-2/+2
| | | | smbd_check_access_rights() instead.
* Remove opendir() VFS code from ACL modules.Jeremy Allison2011-11-023-50/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 2 02:13:51 CET 2011 on sn-devel-104
* Remove the mkdir and open functions from the ACL modules - main code paths ↵Jeremy Allison2011-10-283-138/+6
| | | | now handle this.
* lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* vfs_netatalk should be using strstr_m, not strstr to find .AppleDouble paths.Jeremy Allison2011-10-191-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 19 00:05:45 CEST 2011 on sn-devel-104
* The last argument to atalk_build_paths() is always false, remove it.Jeremy Allison2011-10-181-12/+9
|
* Removed unused variable.Jeremy Allison2011-10-151-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 15 00:38:28 CEST 2011 on sn-devel-104
* Add support for VFS op streaminfo chaining in all relevant VFS modules.Frank Lahm2011-10-144-58/+20
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
* s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.Michael Adam2011-10-111-13/+14
| | | | Avoid direct use of the db_record and db_context structs.
* s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functionsMichael Adam2011-10-111-2/+4
| | | | Avoid direct use of the db_record and db_context structs.
* s3:vfs: change the xattr_tdb module to use dbwrap wrapper functionsMichael Adam2011-10-111-11/+18
| | | | Avoid direct use of the db_record and db_context structs.