summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2008-10-07Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison8-23/+19
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison1-22/+36
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-06Fixed build warning "passing arg from incompatible pointer type"Tim Prouty1-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
2008-10-01Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison1-44/+95
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.
2008-09-30Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison1-58/+42
correctly deal with EINTR. Jim and Holger please check this still works. Jeremy.
2008-09-30Revert erroneous commit.Jeremy Allison1-1/+1
Jeremy.
2008-09-30Remove current_user_info - not needed.Jeremy Allison2-5/+3
Jeremy.
2008-09-30Restructure the module so it connects to the remote data sinkJeremy Allison1-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.
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)