summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18Add and correct some WERROR codes.Michael Adam1-1/+6
Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
2008-01-17Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testDerrell Lipman5-102/+17
(This used to be commit 7135d2aea5a68a79e2a77d4a02219436f5e154cc)
2008-01-17Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mappingDerrell Lipman1-0/+1
If we're going to cache connections to IPC$, we'd better also cache the policy handle and not use a stack-based handle that's invalid on subsequent calls. Derrell (This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
2008-01-17Include auto-generated client headers for netlogon/samr.Günther Deschner1-0/+2
Guenther (This used to be commit ad8f6933322e7175b74cc3de525fda58ae150baa)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner4-92/+5
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-17Use pidl generated data from misc.idl.Günther Deschner1-10/+10
Guenther (This used to be commit 5d8e5cbc3b3ddd1c5788d66f252e4801739243bb)
2008-01-17Remove is_remotestorage() call from VFS. We already have statvfs() there to ↵Alexander Bokovoy2-7/+0
handle FS capabilities. As discussed with Volker, it is better to calculate FS capabilities at connection time. We already do this with help of VFS statvfs() call which allows to fill-in system-specific attributes including FS capabilities. So just re-use it if you want to represent additional capabilities in your modules. The only caution is that you need to call underlying statvfs() call to actually get system-specific capabilities (and other fields) added. Then add module-specific ones. (This used to be commit e342ca0d931f9a5c8ec9e472dc9c63f1fe012b3a)
2008-01-17Rework of VFS is_offline() function to only return boolean offline/online ↵Alexander Bokovoy2-4/+4
result for a file. This makes sense as upper levels are only taking returned result of 0 (no error) into consideration when deciding whether to mark file offline/online as returned from is_offline. That means that we simply can move the decision down to VFS module and clean up upper levels so that they always see only file status. If there is an error when trying to identify file status, then VFS module could decide what to return (offline or online) by itself -- after all, it ought to have system-specific knowledge anyway. (This used to be commit 75cc08661473cce62756fa062071bb2bc1fb39ec)
2008-01-16Fix the mess that ab just made of the new VFS code.Jeremy Allison2-45/+43
NEEDS MORE TESTING ! Jeremy. (This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
2008-01-16Merge branch 'ctdb-merge' into v3-2-testAlexander Bokovoy4-0/+44
(This used to be commit 175662b5bbb5c8ecd81a60539f5846a938c26a3a)
2008-01-16Merge lsarpc.idl from samba4 and rerun make idl.Günther Deschner1-19/+0
Guenther (This used to be commit d9c8a2271d5d4ff845f1fe5986a2c63d79c41415)
2008-01-16Add support for offline files support, remote storage, and Async I/O force ↵Alexander Bokovoy2-0/+37
operations to VFS Offline files support and remote storage are for allowing communication with backup and archiving tools that mark files moved to a tape library as offline. We translate this info into corresponding CIFS offline file attribute and mark an exported volume as remote storage. Async I/O force is to allow selective redirection of I/O operations to asynchronous processing in case it is viable at VFS module discretion. It is needed for proper handling of offline files as performing regular I/O on offline file will block smbd. Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 875208724e39564fe81385dfe36e6c963e79e101)
2008-01-16Merge CTDB-related fixes from samba-ctdb 3.0 branch ↵Alexander Bokovoy2-0/+7
(http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 0c8e23afbbb2d081fc23908bafcad04650bfacea)
2008-01-16Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman1-0/+2
(This used to be commit f963d57096184dd9381fcc5f175150d27460ea7a)
2008-01-15Include libnet_join.h in the right places.Günther Deschner1-0/+2
Guenther (This used to be commit 586d6cef521cebfd6fe2d433fdef498d4a59cb1b)
2008-01-15Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman2-169/+4
(This used to be commit 3a61e663e51fe620225691bc8673bf8800a36f47)
2008-01-14Add detection for need of update to the registry db.Michael Adam1-0/+4
This only detects if the tdb sequence number has changed since the data has last been read. Michael (This used to be commit 3f081ebeadf30a7943723703ecae479e0412c60c)
2008-01-14Remove old lsa set info policy call.Günther Deschner1-16/+0
Guenther (This used to be commit b37b2b77edec72fc3f53b3461aa1c210e4366c1b)
2008-01-14Remove more redundant lsa parsing functions.Günther Deschner1-115/+0
Guenther (This used to be commit 99dd28da84c270f46535bd2ffa6bfef96d2e2eed)
2008-01-14Start removing hand-written lsa marshalling code (namelyGünther Deschner1-38/+0
rpccli_lsa_open_trusted_domain_by_name, rpccli_lsa_query_trusted_domain_info_by_sid and rpccli_lsa_query_trusted_domain_info_by_name). Guenther (This used to be commit f2fb3473455f20e7314a9d33f5a1c923d3057d97)
2008-01-13Fix smbc_listxattr() and friends (bug #5189)Derrell Lipman1-1/+1
When the capability of using full names for DOS attributes was added, a bug was introduced which caused the wrong number of bytes to be returned. This patch to smbc_listxattr_ctx() fixes the problem. Thanks to Jack Schmidt for this patch. Derrell (This used to be commit 913c335d21c503d32b35bf65da7b2bddf0473875)
2008-01-11Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam2-4/+5
Michael (This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
2008-01-11Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam2-4/+5
Michael (This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
2008-01-10Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam2-4/+5
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10Remove redundant parameter fd from SMB_VFS_READ().Michael Adam2-4/+5
Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
2008-01-10Move transfer_file and transfer_file_internal to a module of their own.Michael Adam2-0/+35
Also, don't auto-generate prototypes of the (two) exported functions but make a start in having handwritten prototypes in dedicated header files (not in includes.h ... :-) Michael (This used to be commit 395f29d8b768a56af20b37f185eccdc5f37b68d5)
2008-01-09Fixup hot paths - add macro for toupper (c < 0x80).Jeremy Allison1-0/+8
This now matches 3.0.x on my micro-tests. Jeremy. (This used to be commit 329b924cba8225002ca40db26c45b31d141a0925)
2008-01-09Add the calls to make use of talloc_pools in a talloc_stackframe.Jeremy Allison1-0/+1
Jeremy. (This used to be commit d27e6c0548d21394f6399d3b737d175ffed8420d)
2008-01-08Remove redundant parameter fd from SMB_VFS_AIO_CANCEL().Michael Adam2-4/+5
Michael (This used to be commit 3c997ae0002d4c50e8899600c17ddf74ac61f6f0)
2008-01-08Remove redundant parameter fd from SMB_VFS_FSETXATTR().Michael Adam2-4/+5
Michael (This used to be commit 0bd2643463a9160c8a1c7e1c2f8cca7b89060e09)
2008-01-08Remove redundant parameter fd from SMB_VFS_FREMOVEXATTR().Michael Adam2-4/+5
Michael (This used to be commit bfc3b5a27f707d3e4b8d5d66192891e22365fbb3)
2008-01-08Remove redundant parameter fd from SMB_VFS_FLISTXATTR().Michael Adam2-4/+5
Michael (This used to be commit 167649b3b8bc293f8434ffc9fb5f80463e4e75be)
2008-01-08Remove redundant parameter fd from SMB_VFS_FGETXATTR().Michael Adam2-4/+5
Michael (This used to be commit 2cb739a82dc6bb194d60718cc74b26ee7c1c46a7)
2008-01-08Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().Michael Adam2-4/+5
Michael (This used to be commit 9296e93588c0e795cae770765050247ac1474a74)
2008-01-08Remove redundant parameter fd from SMB_VFS_FCHMOD_ACL().Michael Adam2-4/+5
Michael (This used to be commit 7b201c177b3668f54751ba17d6a0b53ed913e7f7)
2008-01-08Add comment.Michael Adam1-0/+2
Michael (This used to be commit 8b52626f7fd30e1bdf2dd3b4263de1aff282cdd5)
2008-01-07Remove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().Michael Adam2-4/+4
Michael (This used to be commit 42663e8736e1a3dfb57e0aafdcbf5fec880da779)
2008-01-07Remove redundant parameter fd from SMB_VFS_GETLOCK().Michael Adam2-4/+6
Michael (This used to be commit ee5a20becdcdb20d7012732b324c6938fab44f67)
2008-01-07Remove redundant parameter fd from SMB_VFS_LINUX_SETLEASE().Michael Adam2-4/+4
Michael (This used to be commit 8880eb82f16d561a4023ec8426f8ea35c579a7a6)
2008-01-07Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().Michael Adam2-4/+5
Michael (This used to be commit 195c519377c2fdc655e25760b52bc0694b8dda81)
2008-01-07Fix wrong unused opaque macro for kernel_flock().Michael Adam1-1/+1
Michael (This used to be commit 5c01309a2b078f08c4f0caf802d81c9b3d53382f)
2008-01-07Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2-4/+5
Michael (This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
2008-01-07Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam2-4/+5
Michael (This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam2-4/+5
Michael (This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2-4/+5
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2-4/+6
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam2-4/+5
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
2008-01-07Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2-4/+5
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
2008-01-07Remove redundant parameter fd from SMB_VFS_PWRITE().Michael Adam2-4/+5
Michael (This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
2008-01-07Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam2-4/+5
Michael (This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)