summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2008-09-25Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (thisJeremy Allison1-84/+97
needs changing to talloc_sprintf) and fix file descriptor resource leaks in error paths. Jim and Holger please check ! Jeremy.
2008-09-24Fix the new vfs_smb_traffic_analyzer build for static linksJim McDonough1-2/+2
2008-09-24SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>Holger Hetterich1-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).
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner2-4/+4
Guenther
2008-09-17Correctly get+set the NT ACL on a file. Now to make us check it on open..Jeremy Allison1-3/+12
Jeremy.
2008-09-17Mark module experimental, fix crash bugs.Jeremy Allison1-2/+9
Jeremy.
2008-09-16First (incomplete) cut of this module. Based on Volker's original work.Jeremy Allison1-0/+315
Jeremy.
2008-09-08When setting an NFSv4 ACL, map generic bitsVolker Lendecke1-0/+4
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
2008-08-26fixed an errno handling bug that could lead to an infinite loopAndrew Tridgell1-2/+2
(This used to be commit 5ccdc58ce91ee40ca7171dd040191291aeb7fe02)
2008-08-26fixed tsmsm_sendfile(). The logic was totally broken.Andrew Tridgell1-4/+7
(This used to be commit 794e48b809036871287df8416a2c669b7e26f216)
2008-08-14Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison3-5/+4
There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed). Jeremy. (This used to be commit 221cc5e21eb27cdad51f34ec6832467a7bd89213)
2008-08-14Revert "Add a gpfs_prefetch module"Michael Adam1-308/+0
This reverts commit fc9b30bed2d774dca6660b497cb50f982b23b885. Sorry, this got pushed by accident: "This can not go upstream yet because it uses the non-GPL libgpfs." Michael (This used to be commit 26a3cf0be918fe577a979f3e358d58359e42b2f1)
2008-08-14Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the potential build problems with IRIX acls. Michael (This used to be commit 61c201d416bbc37950b980e8598b7ef1292336bc)
2008-08-14Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.Michael Adam1-0/+58
Thereby (hopefully) fixing the potential build problems with HPUX acls. Michael (This used to be commit 4f2a1de990dc9063a1db877c06a5c1d68924edcf)
2008-08-14Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the potential build problems with solaris acls. Michael (This used to be commit 8413c05afcde65006fa7c8743f30b53cc33c1729)
2008-08-14Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.Michael Adam1-0/+45
Thereby (hopefully) fixing the build with tru64 acls. Michael (This used to be commit 1ab64b69850489a2648a2543da6d0e1157df68bc)
2008-08-14Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.Michael Adam1-0/+46
Michael (This used to be commit 876f6793434174051084b17f3b02bd1bbb24ec44)
2008-08-13Add a gpfs_prefetch moduleVolker Lendecke1-0/+308
This can not go upstream yet because it uses the non-GPL libgpfs. So it will not be compiled by default and will not be included in the SOFS RPMs. But upon Sven's request, we include it in the git tree and the source RPMs, so that it can be built for in-house tests. (This used to be commit fc9b30bed2d774dca6660b497cb50f982b23b885)
2008-08-13keep compatibility with v3-0-ctdb name for fileid:mapping optionAndrew Tridgell1-1/+1
(This used to be commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)
2008-07-18Fix the build of vfs_zfsacl.cVolker Lendecke1-16/+1
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) (This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc)
2008-07-18Change the directory parameter in streams_depot to become consistentVolker Lendecke1-1/+1
This is not built by default and not documented in 3.2.0, so I doubt this will break any setups :-) (cherry picked from commit ca2dfb372cfd9096407fca67a6b65bceda6f72b6) (This used to be commit 9393cdda97a886f4bdd187d76461724edeec9ed3)
2008-07-15Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimesJeremy Allison1-2/+6
function more like POSIX and allow NULL arg. Help vfs developers. Jeremy. (This used to be commit 613f2849ad2dc25fe2e5f8a76d69797b5b302bb9)
2008-07-12Remove an unused extern reference in vfs_aixacl2.cVolker Lendecke1-2/+0
(This used to be commit 1dfb9242d1b6000d4b75327adf1a0a0882f3ea6c)
2008-07-11Fix the build of nfs4_acls.cVolker Lendecke1-1/+2
(This used to be commit 2abb7cd867be307e56c02087e700189b17efb894)
2008-07-04Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.hLars Müller1-0/+1
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported by Franz Sirl. (This used to be commit 72b96b75a4a1b523540a24fb758b1965ad66009b)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke4-7/+7
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-06-19Remove current_user_info reference from vfs_recycle.cVolker Lendecke1-3/+1
(This used to be commit fdc03c0a5ba0da4fbc4610880e06150c11d4c737)
2008-06-19Remove current_user_info reference from vfs_fake_perms.cVolker Lendecke1-6/+4
(This used to be commit a227181e8d2ed0824a323a3d4b4cfda5e438f8ce)
2008-06-19Remove current_user_info reference from vfs_expand_msdfs.cVolker Lendecke1-3/+1
(This used to be commit 05a66980a9b5a7c6222ceb038d819d23fd172186)
2008-06-19current_user is not used in vfs_aixacl2.cVolker Lendecke1-1/+0
(This used to be commit 407136abdf45ad832382dba44e1c9a3b4f253f09)
2008-06-17Remove reference to current_user from modules/nfs4_acls.c .Michael Adam1-2/+1
Michael (This used to be commit 50fbfa03483de0059d85967dc96f2896e55e6d04)
2008-06-12AIX build fixes from William Jojo -- thanksVolker Lendecke1-2/+2
(cherry picked from commit cb91a47576e820390bc62195702aaae93a2feba6) (This used to be commit 90d7bc6da3c92e104fadd5965a730fbe01be33d5)
2008-06-07Add STREAMINFO op to vfs_full_auditVolker Lendecke1-0/+27
Fix Coverity ID 552 and 553 (This used to be commit c46e10d2605b22d31675976e62e5ae61d73c8a0a)
2008-05-25Remove some references to get_current_username() and current_user_infoVolker Lendecke3-6/+4
(This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-2/+3
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-10Remove "user" from connection_structVolker Lendecke3-3/+4
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2008-05-10Remove the unix token info from connection_structVolker Lendecke3-3/+5
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
2008-05-08Yay ! Remove a VFS entry. Removed the set_nt_acl() call,Jeremy Allison9-103/+0
this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy. (This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
2008-05-05Remove connection_struct->mem_ctx, connection_struct is its own parentVolker Lendecke1-1/+1
(This used to be commit 559180f7d30606d1999399d954ceedc798c669a4)
2008-04-21Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam7-20/+19
Now all those redundant fd's have vanished from the VFS API. Michael (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
2008-04-21Change fd_close_posix() to return int instead of NTSTATUS.Michael Adam1-3/+2
The errno is handed up through the VFS layer to the callers. Michael (This used to be commit d928e6648d61cf2d3c1b77db440efb835b729a84)
2008-04-21Move the posix pending close functionality down into the VFS layer.Michael Adam1-4/+4
This hides the pending close fds from the outside. Call order of SMB_VFS_CLOSE is reversed. Originally, it was: fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close And now it is: fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close This is in preparation of removing the fd parameter from the SMB_VFS_CLOSE function. But it is also the right place for the pending close calls anyways. Michael (This used to be commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)
2008-04-20vfs_cacheprime: fix C++ warning - make implicit cast explicitMichael Adam1-1/+1
Michael (This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
2008-04-11Remove a redundant TALLOC_FREEVolker Lendecke1-1/+0
(This used to be commit 8e348ab8652e1893be78384404f57df1dbbcea48)
2008-04-08Use size_t for strlen return, not int. Karolin pleaseJeremy Allison1-1/+1
pull. Jeremy. (This used to be commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff)
2008-04-08Allow broader range of HSM systems in vfs_tsmsmAlexander Bokovoy1-5/+31
Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'. Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence* of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result. Port from Tridge's v3-0-ctdb git tree. (This used to be commit 1faa97d5cc51277abbc6cb5c37d31c429bea04e4)
2008-03-23Fix Coverity ID 450Volker Lendecke1-1/+5
(This used to be commit 700cceb6940c95997cfef374cffd50729a35528a)
2008-03-23Fix Coverity warningsVolker Lendecke2-2/+10
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437 (This used to be commit 0d50b4ee9068d04d1d9eb7786e08775d7ba16bc8)
2008-03-21Fix Coverity IDs 553, 552Volker Lendecke1-0/+4
(This used to be commit 1a0aed566b7e4fc75bf894aac6828bfa4152c3dc)
2008-03-20Fix some warnings in the tsmsm moduleVolker Lendecke1-4/+6
Alexander, please check! (This used to be commit df574fd2ee58f008b93b06f4d78c85cb909cc92c)