summaryrefslogtreecommitdiff
path: root/source4/torture/raw/search.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-02s4:torture: s/private/private_dataStefan Metzmacher1-4/+4
metze
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+2
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-11RAW-SEARCH: skip RESUME_KEY tests against samba3Stefan Metzmacher1-0/+10
metze (This used to be commit ca5b37747107bd2941f7415fe609c8293a6b5f7c)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-51/+51
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-3/+3
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24883: Use torture API.Jelmer Vernooij1-74/+24
(This used to be commit 9935aac0f3acd50ca775b8ccd74535c56a47ee33)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-78/+73
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22838: Add in an explority test for what QFSINFO operations are valid on IPC$Andrew Bartlett1-2/+2
It seems most opertaions are supported, but that the values are not consistant. I think these are very much hand-hacked stubs, which is what they will be on Samba4 too. I'll need to add some more 'don't fail for...' hacks before this passes against Win2k3. Andrew Bartlett (This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
2007-10-10r22189: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 62faa4bce44c438a04e44a9189290333ebee9aa5)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach1-1/+1
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+1
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r18585: 50 open searches is still too many for some of the build farm hosts,Andrew Tridgell1-1/+1
which have a ulimit -n of 100. Drop the number of searches to 20. That should limit the maximum total fd count to about 76, most of which is all the listening sockets on the various interfaces (This used to be commit fb5b8c4f8c1ed69e3a813befeeb2a9627e84c454)
2007-10-10r18541: with 100 old style searches we can run out of file descriptors on someAndrew Tridgell1-1/+1
systems. drop to 50 (This used to be commit ce5d5a187264af2b87e2919bdcc5f478cce02df9)
2007-10-10r18319: fixed the directory search resume code on IRIXAndrew Tridgell1-5/+5
The problem was twofold: 1) irix returns 64 bit numbers in telldir(). The protocol uses a 32 bit resume key. We now cope with this properly using the code in pvfs_list_seek_ofs(). 2) irix returns 0xFFFFFFFF from telldir() for the last entry in the directory. When added to DIR_OFFSET_BASE this became DIR_OFFSET_DOTDOT which meant an infinite loop! (This used to be commit 8cce9740ed0da9f08d6821beb4acaa9d28d149c2)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-1/+1
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-74/+140
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r14845: expanded the number of info levels tested for continue in theAndrew Tridgell1-90/+123
RAW-SEARCH test (This used to be commit a3e7640730b756392afce4ec1b69eda0bf044e3f)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-0/+1
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-7/+7
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-6/+6
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r13004: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r11639: fixed some create_time tests that should be change_time testsAndrew Tridgell1-5/+5
(This used to be commit c4266c7f688145a9b7da8977aff7fb972b7d0aa4)
2007-10-10r9876: Fix some 64-bit warnings for Itanium machine.Tim Potter1-2/+2
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)
2007-10-10r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinkingJelmer Vernooij1-2/+2
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
2007-10-10r8773: fixed another dependency on directory ordering in RAW-SEARCHAndrew Tridgell1-1/+3
Thanks to andrew bartlett for helping to track this down (his was the only system that hit this) (This used to be commit 5edeb56bf0c86dae9cd9fe9275d1e37aedc05503)
2007-10-10r8729: make the RAW-SEARCH test more robust to servers with hash based ↵Andrew Tridgell1-8/+5
directory ordering (This used to be commit 8c4d0cd7b7063116ab08545dbe5f23390c7973c4)
2007-10-10r8712: cleanup old search test code to use tallocAndrew Tridgell1-16/+18
(This used to be commit 1d830bcd473a2166b6f89281faabb001697e35d4)
2007-10-10r8709: fixed the assumption in RAW-SEARCH that directories are returned in ↵Andrew Tridgell1-1/+10
sorted order (This used to be commit 92afff5fe7134872f12c25628d047b2a92e92a37)
2007-10-10r8537: cope better with the small file handle limit on some systems in the ↵Andrew Tridgell1-2/+2
build farm (This used to be commit 6202a9d099619a0ba78809647039cbc7622f1d3d)
2007-10-10r8522: fixed another couple of size_t warningsAndrew Tridgell1-1/+1
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
2007-10-10r8497: prevent a fd leak in RAW-SEARCH testAndrew Tridgell1-1/+1
(This used to be commit efb151ba797a5473316ca2dc9ec7f40fead9dab2)
2007-10-10r8185: Delete on close on directories:Volker Lendecke1-4/+5
Creating a file in a directory with delete-on-close set returns DELETE_PENDING, and trying to set the flag on a non-empty directory returns DIRECTORY_NOT_EMPTY. Volker (This used to be commit 5680f34778b2f5291936f4d4fb937a7713696c52)
2007-10-10r8176: Exploring the share mode database...Volker Lendecke1-9/+11
A delete-on-close deleted file is still around while open on another fd. But only for findfirst, not for qpathinfo :-) Volker (This used to be commit dbc7a1a978d782c73f593f4b46f2a81d35169713)
2007-10-10r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell1-0/+1
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
2007-10-10r5071: Reverted (per tridge request).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 554e27023f8222cb0e2791fac924bb5a0dc97ba2)
2007-10-10r5068: I'm pretty sure an old search request is allowed to return changed caseJeremy Allison1-1/+1
versions of filenames. Tridge please check I haven't screwed this up. Jeremy. (This used to be commit 40c1e16b5bcdf520db1b514d647a7c7048e13ecc)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-5/+5
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell1-3/+3
- added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
2007-10-10r4547: - added talloc_new(ctx) macro that is a neater form of the common ↵Andrew Tridgell1-2/+2
talloc(ctx, 0) call. - cleaned up some talloc usage in various files I'd like to get to the point that we have no calls to talloc(), at which point we will rename talloc_p() to talloc(), to encourage everyone to use the typesafe functions. (This used to be commit e6c81d7c9f8a6938947d3c1c8a971a0d6d50b67a)
2007-10-10r4317: check the count of replies in the os2 ea_list torture testAndrew Tridgell1-0/+1
(This used to be commit 10861b3fa0cbba7f5e0ec3377431a85608a13a32)
2007-10-10r4263: added support for the trans2 RAW_SEARCH_EA_LIST informationAndrew Tridgell1-0/+118
level. This is quite a strange level that we've never seen before, but is used by the os2 workplace shell. note w2k screws up this level when unicode is negotiated, so it only passes the RAW-SEARCH test when you force non-unicode (This used to be commit 25189b8fbf6515d573e3398dc9fca56505dc37b9)
2007-10-10r4173: - new t2open code, that can cope with "create with EAs". Many thanksAndrew Tridgell1-1/+1
to kukks on #samba-technical for the sniffs that allowed me to work this out - much simpler ntvfs open generic mapping code - added t2open create with EA torture test to RAW-OPEN test (This used to be commit a56d95ad89b4f32a05974c4fe9a816d67aa369e3)
2007-10-10r4164: added a test that simulates a OS/2 file delete. This includes seek byAndrew Tridgell1-0/+105
name back into a directory for files that no longer exist. (This used to be commit 57204a1533687c5f7f2ee169f42584aea914154f)
2007-10-10r3699: - split the delayed write testing out of RAW-WRITE, as it is not yetAndrew Tridgell1-12/+4
clear what the correct behaviour is for delayed stat info update. - use a common torture_setup_dir() function for setting up a test directory in torture tests. (This used to be commit f7fb34715b7d6ea3c35ddd684cfb27459a420339)
2007-10-10r3419: moved the libcli/raw structures into libcli/raw/libcliraw.hAndrew Tridgell1-0/+1
and made them private (This used to be commit 386ac565c452ede1d74e06acb401ca9db99d3ff3)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-1/+1
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)