summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-01-24Add WERR_INVALID_COMPUTER_NAME.Günther Deschner1-0/+1
Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd)
2008-01-24Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner1-0/+1
Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
2008-01-24netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32Stefan Metzmacher1-1/+1
metze (cherry picked from commit 7222edb9cde5cdeb9d065e890775a7254b26648f) (This used to be commit 503082e15e03def33434d3e5ff4fbe750873aab0)
2008-01-24Re-run make idl and use generated ndr based on samba4 security.idl (except ↵Günther Deschner1-4/+1
for DOM_SID). Guenther (This used to be commit 1781a57b18f681f1bc03873330147a813f10eba2)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-0/+2
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison1-1/+26
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-23Fix tab_depth: it should not create an extra debug header.Michael Adam1-2/+5
In pstring removal 4ae4b23586, the behaviour of tab_depth was changed to create an extra debug header (by using the DEBUGLVL macro). This extracts the debug level check from DEBUGLVL into a macro CHECK_DEBUGLVL without the debug header creation and uses this instead of DEBUGLVL in tab_depth. Michael (This used to be commit cbc7d921fa696e6c3c5197ad9f87442ba679df82)
2008-01-22Move samba_extended_info_version to smbd/trans2.cVolker Lendecke1-1/+0
This is right now only used there, and in version.c it gave linker errors because some binaries (e.g. smbmnt) don't link in time.o (This used to be commit 1f0eaaa5911f893c822465a26fe49ab65afb0730)
2008-01-22Get Samba version or capability information from WindowsCorinna Vinschen1-0/+12
On Jan 21 16:18, Danilo Almeida wrote: > Corina wrote: > > > + time_t samba_gitcommitdate; > > And: > > > + SIVAL(pdata,28,extended_info.samba_gitcommitdate); > > + memcpy(pdata+32,extended_info.samba_version_string,32); > > Note that you are dropping bits on a system w/64-bit time_t, and that this has the 2038 problem. Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened samba_version_string to 28 bytes. New patch below. Thanks, Corinna (This used to be commit 28aa1c199d3a22cda34afcaab49c0561eeb0abcb)
2008-01-22Hide streams from the EA APIVolker Lendecke1-0/+2
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
2008-01-21Add SMB_VFS_FS_CAPABILITIESVolker Lendecke2-0/+6
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-20Add a registry backend perflib that replaces the former dynamic overlay.Michael Adam1-0/+2
Michael (This used to be commit c3fba415951329ee90c7250b4e8d539f91b227f6)
2008-01-20Add a registry backend current_version that replaces the former dynamic overlay.Michael Adam1-0/+1
Make sure to only respond to the exact current version key since subkeys are registered by other backends (printing and - soon - perflib). Michael (This used to be commit 2c650bf63ccd9dc5dddbf4700831489544ded055)
2008-01-20Reorder the registry key name constants in a more systematic way.Michael Adam1-5/+5
Michael (This used to be commit faf406a4a1baf2946ea754a0760204748be99541)
2008-01-20Add a registry backend tcpip_params that replaces the former dynamic overlay.Michael Adam1-0/+1
Michael (This used to be commit a8a743b693a162954948ca2438ce4b842c5cba30)
2008-01-20Add a registry backend prod_options that replaces the former dynamic overlay.Michael Adam1-0/+1
Michael (This used to be commit d9b89e9d30702f64805b3a3a3612066b19c051d1)
2008-01-20Some systems do not have XATTR_ definedVolker Lendecke1-0/+8
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
2008-01-19Add streams supportVolker Lendecke1-0/+5
This is the core of the streams support. The main change is that in files_struct there is now a base_fsp pointer that holds the main file open while a stream is open. This is necessary to get the rather strange delete semantics right: You can't delete the main file while a stream is open without FILE_SHARE_DELETE, and while a stream is open a successful unlink of the main file leads to DELETE_PENDING for all further access on the main file or any stream. (This used to be commit 6022873cc155bdbbd3fb620689715f07a24d6ed1)
2008-01-19Add the STREAMINFO vfs callVolker Lendecke2-0/+13
Based on jpeach's work, modified the streaminfo prototype Make use of it in trans2.c together with marshall_stream_info() (This used to be commit c34d729c7c0600a8f11bf7e489a634a4e37fe88e)
2008-01-19The remote storage op is goneVolker Lendecke1-1/+1
Alexander, I think this ok... (This used to be commit 197b08ad789c4968155f1c711ef43a5383a89289)
2008-01-19Fix the buildVolker Lendecke1-0/+1
... forgot to "git add" it (This used to be commit 6d0a727f26dd0945634486f18a55aa8dd5813983)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke1-0/+10
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-18Add a registry backend netlogon_params that replaces the former dynamic overlay.Michael Adam1-0/+1
This is the first step in replacing the dynamic overlays by proper backends implementing REGISTRY_OPS. Michael (This used to be commit e8a0524961d81fa83e0316905dc9d215e4aa7656)
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)