summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-16Need to close the /dev/zero fdVolker Lendecke1-0/+2
(This used to be commit c2b2a9303d9c84ba4e059f13de9ccc401d08bd59)
2008-03-06Respect FAMChanged -- attempt to fix bug 5307Volker Lendecke1-0/+3
Thanks to Ricardo Santos (This used to be commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
2008-02-29Add vfs_aio_forkVolker Lendecke1-0/+728
This is used for two purposes: First, I'm using it to test the async I/O code. In the forked process it is pretty easy to delay a reply for a random amount of time. See the BUILD_FARM_HACKS snippet. Second, there are systems around that claim to have Posix AIO but which is broken. This might be some help for those systems. Also add tests how to pass file descriptors (This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)
2008-02-25Fix the build on OpenBSD: ENOTSUP is not always defined.Michael Adam1-0/+4
Michael (This used to be commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b)
2008-02-25Correctly check return of rename(2)Volker Lendecke1-1/+1
Bug 5279 -- Thanks to Max Matveev (This used to be commit 71641f04d4e9a41775e898f2e4ac3c8792783cd3)
2008-02-21Change option name.Karolin Seeger1-1/+1
xattr:tdb -> xattr_tdb:file (according to the other vfs option names) Karolin (This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
2008-02-20From: David Disseldorp <ddiss@sgi.com>Jeremy Allison1-2/+1
The vfs_prealloc module makes use of the now redundant fd parameter for SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct. Patch for Samba 3.2 Test branch below. Cheers, David D (This used to be commit d9b72282c63b57c8e54131306b2a3028a1ea41dc)
2008-01-29Fix typos and replace statvfs call with fs_capabilities()Alexander Bokovoy1-12/+7
(This used to be commit 863b5ed07aca0978aeaf919d7c51204a95ce03e0)
2008-01-29Merge DMAPI fixes from TridgeAlexander Bokovoy1-3/+22
Support cases when existing DMAPI session is stale. In this case we are creating another one. The code differs from 3-0_ctdb branch in that we fail when it is not possible to create more sessions and pretend that file is offline. This allows to escape endless loop in vfs_tsmsm.c. (This used to be commit 5efb57d904e25e68b09a567e260292439ad9c095)
2008-01-29Merge branch 'ctdb-merge' into dmapi-integrationAlexander Bokovoy1-41/+51
(This used to be commit 58dce4cdf277c8c68865185d9d8b4faea996dd3e)
2008-01-25Attempt to fix the build on OpenBSDVolker Lendecke1-1/+1
Thanks to metze for pointing this out (This used to be commit c94c04e3e6f6ae243a55534a76654755bff55651)
2008-01-24Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-mergeAlexander Bokovoy5-6/+1423
(This used to be commit 42d06d41bf2e9fb094f6064dc04f549d880b5f8d)
2008-01-23strtok -> strtok_rVolker Lendecke1-1/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-23Remove two unused variablesVolker Lendecke1-1/+0
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
2008-01-22Hide streams from the EA APIVolker Lendecke1-8/+6
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
2008-01-21Attempt to fix the darwin buildVolker Lendecke1-4/+4
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
2008-01-21Add SMB_VFS_FS_CAPABILITIESVolker Lendecke3-20/+19
It turns out that this is a necessary operation, separate from statvfs. statvfs can fail during tcon, so conn->fs_capabilities would never see that we support streams on a particular share. James, can you check that I got the darwin variant right? Thanks! (This used to be commit 3ad798d803b3b023533bb48e6993885f22b96095)
2008-01-20Fix some "set but never used" warningsVolker Lendecke1-0/+4
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
2008-01-20Fix valgrind errorsVolker Lendecke1-2/+2
(This used to be commit d7e6ec2258350c564053371361c8f1d7d0f775b1)
2008-01-20Do not use an unfinished fsp in streams_xattr_openVolker Lendecke1-1/+1
(This used to be commit 023b313d0d4ed3beb8d77177bc8141cadeb86658)
2008-01-20In streams_xattr_pwrite, base_fsp does not have an fdVolker Lendecke1-1/+2
These bugs haven't shown up when I did my tests with real xattrs, not with the xattr_tdb backend. It worked because the stream fsp does has the base file as fd. (This used to be commit b7022f8f7bf83c9c5e73e98d1477b7da766e8c5f)