summaryrefslogtreecommitdiffstats
path: root/source/modules
Commit message (Collapse)AuthorAgeFilesLines
* Try and fix the build farm RAW-STREAMS errors. Ordering ofJeremy Allison2009-03-261-2/+2
| | | | | | | modules shouldn't matter, so as vfs_streams_depot doesn't implement get/setxattrs then call into the full VFS stack at the top. Jeremy
* Fix use of streams modules with CIFSFS client.Jeremy Allison2009-02-252-4/+25
| | | | Jeremy.
* Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.Jeremy Allison2009-02-201-1/+6
| | | | | | | As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD permission bit (which we require before allowing a delete) no one can delete files without an explicit DELETE_CHILD bit set on the directory. Add this mapping. Jeremy.
* Oops. Fix the build (don't use 3.3 references in 3.2 :-).Jeremy Allison2009-02-131-2/+1
| | | | Jeremy.
* Enable total anonymization in vfs_smb_traffic_analyzer, by mappingHolger Hetterich2009-02-131-4/+16
| | | | | | any user names to the one given by anonymize_prefix, without generating a hash number. This setting is optional and is compatible with the module configuration format of Samba 3.3.
* Fix bug #6085 - In vfs_default.c change utime( ) call.Miguel Suarez2009-02-031-1/+1
|
* Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison2009-01-221-46/+36
| | | | | to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
* s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher2009-01-191-1/+7
| | | | | | | | "fileid:mapping" is still supported as fallback. metze (cherry picked from commit 554a89df0cf6d9832778e2913f9fe50b78baeedc) (cherry picked from commit fe9ad21b8cb5286845350fe2280da2cbe2647bb7)
* keep compatibility with v3-0-ctdb name for fileid:mapping optionAndrew Tridgell2009-01-191-1/+1
| | | | (cherry picked from commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)
* s3: Remove a few unnecessary checks from the streams depot module and fix to ↵Tim Prouty2009-01-161-12/+18
| | | | | | | | | | work with NTRENAME Handling of error codes when renaming a file to a stream and a stream to a file is now done in rename_internals_fsp. The NTRENAME stream path only passes in the stream name, so the new base can now be different from the old base.
* s3: Remove a few unnecessary checks from the streams xattr moduleTim Prouty2009-01-161-11/+0
| | | | | | | | Handling of error codes when renaming a file to a stream and a stream to a file is now done in rename_internals_fsp. The NTRENAME stream path only passes in the stream name, so the new base can now be different from the old base.
* Remove "strict allocate = partial" code that got accidentally committed.Jeremy Allison2009-01-081-5/+1
| | | | Jeremy.
* refresh sequence number as soon as possible when domain->sequence_number == ↵boyang2009-01-071-1/+5
| | | | -1 or domain->last_status is not ok.
* Fix a bad memleak in vfs_full_auditVolker Lendecke2009-01-051-1/+4
|
* Fix bug #5990 - strict allocate should be checked before ftruncateJeremy Allison2008-12-251-0/+14
| | | | | reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy.
* Fix bug #5929 - vfs_prealloc does not build with option ↵Henning Henkel2008-12-041-1/+1
| | | | --with-cluster-support and GPFS
* s3:streams_xattr: fstat should do a stat on the base fileStefan Metzmacher2008-12-011-1/+1
| | | | | | The behavior of stat and fstat should be the same. metze
* s3:streams_xattr: recheck fsp->fsp_name after a renameStefan Metzmacher2008-12-011-0/+65
| | | | metze
* s3:streams_depot: add an option to disable the xattr checksStefan Metzmacher2008-12-011-4/+18
| | | | | | | streams_depot:check_valid=no is useful when the filesystem has no xattr support and files are only published via samba. metze
* s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the ↵Stefan Metzmacher2008-12-011-1/+0
| | | | | | default value metze
* s3:streams_depot: add support for stream renamesStefan Metzmacher2008-12-011-0/+74
| | | | metze
* s3:streams_depot: map 'file::$DATA' to just 'file'Stefan Metzmacher2008-12-011-1/+12
| | | | metze
* s3:streams_xattr: add support for renaming streamsStefan Metzmacher2008-12-011-1/+142
| | | | metze
* vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)Michael Adam2008-12-011-1/+1
| | | | Michael
* zfsacl: return is not a function.Michael Adam2008-11-251-3/+3
| | | | Michael
* zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.Nils Goroll2008-11-251-0/+83
| | | | | | This is a proposed fix for Bugs #5135 and #5446. Signed-off-by: Michael Adam <obnox@samba.org>
* Search for gpfs functions in both libgpfs_gpl.so an libgpfs.soMathias Dietz2008-11-241-47/+45
| | | | | | | | | As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS installations, still look there. (cherry picked from commit 61468186cece7370576a2d13992f9a523067e4be) Signed-off-by: Michael Adam <obnox@samba.org>
* Revert c76e4791d3ae4f180fba209c29bd3774c00858cf - "Fix the logic bug that ↵Jeremy Allison2008-11-212-35/+36
| | | | | | caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks." as it broke make test. Jeremy.
* Fix the logic bug that caused us to run into kernel oplocks on an open for a ↵Jeremy Allison2008-11-211-34/+34
| | | | | | stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks. Jeremy.
* Use fxattr calls whenever possible (trying to work around the strange Linux ↵Jeremy Allison2008-11-211-19/+51
| | | | | | kernel oplock bug). Jeremy.
* Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of ↵Jeremy Allison2008-11-211-1/+60
| | | | | | the file Jeremy.
* When clearing out vuid cache remember to set entries = 0.Jeremy Allison2008-11-171-0/+1
| | | | Jeremy.
* Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.Jeremy Allison2008-11-171-0/+8
| | | | Jeremy.
* Fix bug 5901: Default for streams_depot locationTAKAHASHI Motonobu2008-11-161-1/+9
|
* Fix CID 606 - failed to return -1 after socket() fail.Jeremy Allison2008-10-291-0/+1
| | | | Jeremy.
* Enable optional anonymization of user names,Holger Hetterich2008-10-131-1/+20
| | | | | if the configuration parameter anonymization_prefix is defined in smb.conf, and use the prefix given there.
* Make use of ZERO_STRUCT (the first memset was actually wrong)Volker Lendecke2008-10-091-3/+3
|
* Fixed build warning "passing arg from incompatible pointer type"Tim Prouty2008-10-071-1/+3
| | | | | | | | | The fix explicitly makes the conversion from timeval to time_t using the existing time utility functions. Compiling modules/vfs_smb_traffic_analyzer.c modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data': modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
* Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison2008-10-011-44/+94
| | | | | | | | | there'll now only be one socket per smbd. Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the ";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log "as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now. Jeremy.
* Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison2008-09-301-58/+42
| | | | | | | correctly deal with EINTR. Jim and Holger please check this still works. Jeremy.
* Restructure the module so it connects to the remote data sinkJeremy Allison2008-09-301-150/+156
| | | | | | | | on connect, and closes the socket on client disconnect. This should make it much more efficient. Store the remote fd in a private data pointer off the handle. Finally we need to remove the fstrings and convert to allocated buffer storage. Jeremy.
* Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (thisJeremy Allison2008-09-251-84/+97
| | | | | | needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy.
* Fix the new vfs_smb_traffic_analyzer build for static linksJim McDonough2008-09-241-2/+2
|
* SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>Holger Hetterich2008-09-241-0/+352
| | | | | | | | Used to gather data to feed to a database for live and historical analysis of usage per user, per share, etc. Helper apps to read the data still to come. This one still needs to be made ipv6 enabled (connection is made to the helper app).
* When setting an NFSv4 ACL, map generic bitsVolker Lendecke2008-09-081-0/+4
| | | | (cherry picked from commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
* fixed an errno handling bug that could lead to an infinite loopAndrew Tridgell2008-09-051-2/+2
| | | | (cherry picked from commit 5ccdc58ce91ee40ca7171dd040191291aeb7fe02)
* fixed tsmsm_sendfile(). The logic was totally broken.Andrew Tridgell2008-09-051-4/+7
| | | | (cherry picked from commit 794e48b809036871287df8416a2c669b7e26f216)
* Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison2008-08-143-5/+4
| | | | | There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed). Jeremy.
* Fix the build of vfs_zfsacl.cVolker Lendecke2008-07-181-16/+1
|
* Change the directory parameter in streams_depot to become consistentVolker Lendecke2008-07-181-1/+1
| | | | | This is not built by default and not documented in 3.2.0, so I doubt this will break any setups :-)