summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8807: Modifying datetime field using struct timeval argument rather thanRafal Szczesniak1-5/+8
text-based, after recent discussion with both Andrews :) Basic test seems to work (at least it doesn't fail now). rafal (This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)
2007-10-10r8792: Clarify commentsAndrew Bartlett1-4/+6
(This used to be commit 6174cf826fac8288b6604d9140b741aab2156cb3)
2007-10-10r8781: - fixed a memory leak in BASE-SECLEAK (ironic, isn't it). There isAndrew Tridgell1-2/+4
another leak in the ASN.1 code that andrew has volunteered to look at - make the timelimit controllable with -t (This used to be commit 227d4d2115e768bbae13db2559d27bf8508aa18d)
2007-10-10r8780: make numops controllable in BASE-DISCONNECTAndrew Tridgell1-1/+2
(This used to be commit 1cb91a11d46b49ae296abae9c8304e267e922df4)
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-10r8761: Propagate changes in monitor messaging code.Rafal Szczesniak2-4/+16
rafal (This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)
2007-10-10r8759: Another couple of fields in usermod routine.Rafal Szczesniak1-2/+5
rafal (This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)
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-10r8721: Further work on libnet_rpc_usermod function. Now it can changeRafal Szczesniak1-5/+21
both account name and full name. rafal (This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
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-10r8693: Test code for usermod routine.Rafal Szczesniak2-0/+72
rafal (This used to be commit 19f5ea9c9c2a46c110e5946605432116cb2ad7b3)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell5-5/+5
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8634: we are still getting occasional test failures due to disk spaceAndrew Tridgell1-1/+1
changing. I suspect it is a signed/unsigned problem with the approx equal test. Hopefully this will fix it. (This used to be commit 668dd29259198698c556c50e28a9070085db89ea)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij2-5/+8
- Fixes annoying array-of-pointers bug in pidl. - No longer "inherit" alignment thru subcontexts - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see (This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
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 Tridgell2-3/+3
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell20-48/+56
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8497: prevent a fd leak in RAW-SEARCH testAndrew Tridgell1-1/+1
(This used to be commit efb151ba797a5473316ca2dc9ec7f40fead9dab2)
2007-10-10r8495: allow for up 10% change in allocated disk space during QFSINFO testsAndrew Tridgell1-2/+10
(This used to be commit 16d752b55189780a038aed1d54ef28201a9859a4)
2007-10-10r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on ↵Andrew Tridgell1-0/+2
different platforms (This used to be commit 9264555541a0e251730010a75d063f56971249a2)
2007-10-10r8491: lower the offset limit that filesystems need to support to pass ↵Andrew Tridgell1-1/+1
RAW-WRITE to 2^33 (This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)
2007-10-10r8430: readd my hack to display the hashes with -d 100Stefan Metzmacher1-0/+9
metze (This used to be commit b3f01ef0df2579decbbb67586157d089f528dd13)
2007-10-10r8412: cope with some lost messages in the ping test (netbsd gets this)Andrew Tridgell1-2/+4
(This used to be commit fcf60823c6171ec109195cb8d61de5b0e02fd005)
2007-10-10r8368: the type filed depends on the user being present or notStefan Metzmacher1-12/+7
call ndr_print for each call metze (This used to be commit 0a07e4ef8d869d35ceb0761495e367077f2361ba)
2007-10-10r8273: fixed some memory leaks in smbscript. This required convertingAndrew Tridgell2-3/+3
file_load() to use talloc, which impacted quite a few bits of code, including our smb.conf processing. took the opportunity to remove the gloabls in params.c while doing this (This used to be commit b220756cb4f1d201ba3e771ca67e4bfae5eae748)
2007-10-10r8252: Steal metze's thunder, and prove that with a few small tweaks, we canAndrew Bartlett1-1/+8
now push/pull a sample PAC, and still have the same byte buffer. (Metze set up the string code, and probably already has a similar patch). Unfortunetly win2k3 still doesn't like what we provide, but every step helps. Also use data_blob_const() when we are just wrapping data for API reasons. Andrew Bartlett (This used to be commit e7c8076fc1459ff2ccefdaf0b091d04ee6137957)
2007-10-10r8250: More PAC work. We now sucessfully verify the KDC signature from my DCAndrew Bartlett1-4/+35
(I have included the krbtgt key from my test network). It turns out the krbtgt signature is over the 16 (or whatever, enc-type dependent) bytes of the signature, not the entire structure. Also do not even try to use Kerberos or GSSAPI on an IP address, it will only fail. Andrew Bartlett (This used to be commit 3b9558e82fdebb58f240d43f6a594d676eb04daf)
2007-10-10r8235: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher8-53/+53
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8229: A level2 oplock does not conflict a no-oplock open, but is broken on ↵Volker Lendecke1-0/+119
first write. Test that. Volker (This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
2007-10-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher1-6/+6
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r8185: Delete on close on directories:Volker Lendecke2-4/+142
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-10r8182: Little more testing delete-on-close: Check flag with qfileinfo.Volker Lendecke1-16/+79
Volker (This used to be commit 47a9df946d5ff967289fba0ff4209711ead11e31)
2007-10-10r8179: Delete-on-close is really a shared DB. Setting it on one ↵Volker Lendecke1-84/+138
connection(!) and resetting it on another resets it for both. Volker (This used to be commit 30bd7e36669dbb2fd7d85a1cd72927370267d616)
2007-10-10r8177: More explorations.Volker Lendecke1-1/+46
The share mode db is actually checked on qpathinfo even before the delete-on-close is executed. Volker (This used to be commit 124f3b74ca2ece9ba73737c3ccb75e1730973f19)
2007-10-10r8176: Exploring the share mode database...Volker Lendecke2-9/+50
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-10r8174: Check DOS error codes in torture chkpath test.Jeremy Allison2-65/+65
Jeremy. (This used to be commit ff58ecad044dc7a3cdb4c010ea5cc1ea5e2e4b3b)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter1-16/+4
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8156: I found out that the unknown[2] field of the unknown[4] array is a ↵Stefan Metzmacher1-3/+3
length too, it's always 16 bytes smaller than the size in the PAC_BUFFER we now dump the blob's on LOCAL-PAC with -d 10 metze (This used to be commit 4ef721ce53539ac56ca8ac4d601f512149ca7283)
2007-10-10r8154: - fix some mem_lealsStefan Metzmacher1-0/+14
- check if the buffer length of the original and created buffer are equal metze (This used to be commit 84ff2d87e28df3e2b3c1495a9ea48f40221b96ae)
2007-10-10r8148: - make the PAC generation code a bit more readable and add some outof ↵Stefan Metzmacher1-2/+26
memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5)
2007-10-10r8123: fixed the RAW-NOTIFY and RAW-QFSINFO tests against w2k3Andrew Tridgell2-1/+4
(This used to be commit acd9fad3a4c578e20cd4bdb79a000a7ff70f680c)
2007-10-10r8122: more fixes from testing dos error code handling against w2k3Andrew Tridgell2-4/+4
(This used to be commit b71fbcf5e2c627d918aef555b8cc8dd4591d8fe7)
2007-10-10r8121: yuck. w2k3 seems to choose ERRDOS:ERRbaduid orAndrew Tridgell1-1/+3
NT_STATUS_INVALID_HANDLE on a per call basis for a bad vuid. That means it is doing checking for a valid vuid in each backend function, rather than globally. I don't want to emulate that as it is way too error prone, and could easily lead to a security hole, so instead accept either error code in our test suite. (This used to be commit aefa9e53fa97551c1b15bdd50565881e63aea9a8)
2007-10-10r8118: remove a debugging hack that should not have been in the last commitAndrew Tridgell1-1/+1
(This used to be commit 0f76449a08955cfe50178b6accfd631d7cf42da3)
2007-10-10r8117: fixed a bunch more dos error code handing.Andrew Tridgell8-35/+34
The biggest change was fixing the RAW-CONTEXT test. It was forcing capabilities to zero in an attempt to not negotiated extended security, but as a side effect it was forcing negotiation of dos error codes. This confused the hell out of the test code! Also fixed a bunch of places incorrectly using NT_STATUS_V() instead of NT_STATUS_EQUAL() and several places that had the wrong dos status codes (This used to be commit 0b22744f40804a0d6dc94bfc40ec09306f584f7e)
2007-10-10r8112: Remove extra headers, and add #ifdef to allow the 'not yet usingAndrew Bartlett1-3/+13
Heimdal' case. Andrew Bartlett (This used to be commit b7c3c2f67188d8c8478d93e6890a81fa7d468061)
2007-10-10r8110: More PAC work. I still can't get WinXP to accept the PAC, but we areAndrew Bartlett3-2/+257
much closer. This changes PIDL to allow a subcontext to have a pad8 flag, saying to pad behind to an 8 byte boundary. This is the only way I can explain the 4 trainling zeros in the signature struct. Far more importantly, the PAC code is now under self-test, both in creating/parsing our own PAC, but also a PAC from my win2k3 server. This required changing auth_anonymous, because I wanted to reuse the anonymous 'server_info' generation code. I'm still having trouble with PIDL, particulary as surrounds value(), but I'll follow up on the list. Andrew Bartlett (This used to be commit 50a54bf4e9bf04d2a8e0aebb3482a2ff655c8bbb)
2007-10-10r8107: now that we properly separate DOS and NT status codes all the placesAndrew Tridgell1-2/+2
that relied on the mapping need to be fixed. The first thing is to get all the torture tests working against w2k3 again with nt status codes enabled. The 2nd step will be to make them pass with nt status disabled. This starts on the first task, fixing the assumption that NT_STATUS_INVALID_LOCK_SEQUENCE is a valid substitute for ERRDOS:ERRbadaccess (This used to be commit 87cdd117081193d215c5a9e3603438e058ad777b)