summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r8104: - added support for our client library to not negotiate nt status ↵Andrew Tridgell2-21/+12
codes, controlled with 'nt status support' option. - make nt_errstr() display nice strings for dos status codes encoded using NT_STATUS_DOS() - no longer map between dos and nt status codes in the client library, instead return using NT_STATUS_DOS() - fixed the RAW-CONTEXT test to look for NT_STATUS_DOS(ERRSRV, ERRbaduid) instead of NT_STATUS_INVALID_HANDLE (This used to be commit ff5549e87ffae9f062394f30d8fd1ae95b614735)
2007-10-10r8099: clean up after BASE-TCONVolker Lendecke1-0/+2
(This used to be commit 23bff7bf6cf437e78db50b09f69fd1fbdf6aab35)
2007-10-10r8094: Fix compiler warnings.Rafal Szczesniak1-9/+33
rafal (This used to be commit cca6d792945477b86b2dd91f3c90152b69ee2a15)
2007-10-10r8081: Add simple test for RpcConnect function.Rafal Szczesniak3-1/+98
rafal (This used to be commit 0209fc67adae9d2003f06c826557306c2141a6a8)
2007-10-10r8080: Use libnet_context where using libnet_Lookup functions now.Rafal Szczesniak1-6/+19
rafal (This used to be commit 1815a6af06aa791bfecb4aee8742701975d35318)
2007-10-10r8079: Dcerpc pipe in libnet_context is just pipe now, instead of explicit samr.Rafal Szczesniak1-1/+1
rafal (This used to be commit e7870156dacb2e0346e24f8490bfd90e8b21ea96)
2007-10-10r8058: added testing of delete on close for files and directoriesAndrew Tridgell2-4/+88
(This used to be commit 214e51b3c8021dfe31ad951603bae64fa281b0f8)
2007-10-10r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerDataStefan Metzmacher1-0/+3
metze (This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
2007-10-10r8051: separate out the MAX EAs test, as it fills disk too much to be run ↵Andrew Tridgell2-2/+30
regularly (This used to be commit dac526845ea89ba732300105b3f82210b0828102)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-9/+0
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10r8046: - add somemore failure checks in the RPC-SPOOLSS testStefan Metzmacher1-4/+29
- test AddForm on the PrintServer object - GetForm() isn't allowed on the PrintServer object so remove NTPTR function for it - accept the dns name as servername in the spoolss server metze (This used to be commit d8c308a4653d59514915021607fe55c5f2b38749)
2007-10-10r8004: added a maximum EAs size test from Kukks.Andrew Tridgell1-1/+228
(This used to be commit 426c4d08ac9191c02dcd604a21ea390b7d255a41)
2007-10-10r7993: Further work on the Krb5 PAC.Andrew Bartlett1-2/+2
We now generate the PAC, and can verifiy both our own PAC and the PAC from Win2k3. This commit adds the PAC generation code, spits out the code to get the information we need from the NETLOGON server back into a auth/ helper function, and adds a number of glue functions. In the process of building the PAC generation code, some hints in the Microsoft PAC specification shed light on other parts of the code, and the updates to samr.idl and netlogon.idl come from those hints. Also in this commit: The Heimdal build package has been split up, so as to only link the KDC with smbd, not the client utils. To enable the PAC to be veified with gensec_krb5 (which isn't quite dead yet), the keyblock has been passed back to the calling layer. Andrew Bartlett (This used to be commit e2015671c2f7501f832ff402873ffe6e53b89466)
2007-10-10r7943: Add 'make manpages', fix 'make installman' and 'make uninstallman'.Jelmer Vernooij1-0/+4
Not part of the "all" make target yet, as it requires xsltproc (This used to be commit fd3f4636438cf1d9c0dd802064033271b9e4d935)
2007-10-10r7901: check if system supports UTF-16LE at all in LOCAL-ICONV testAndrew Tridgell1-1/+9
(This used to be commit aa9e7cf63a0e5ce7c9b7d121a4df064cd6fae90f)
2007-10-10r7899: fixed a crash bug in the RAW-CONTEXT testAndrew Tridgell1-2/+0
(This used to be commit 470ad9a93fcbf961d7d89fd96f751ded39660f74)
2007-10-10r7898: don't die on bad iconv libs in LOCAL-ICONV testAndrew Tridgell1-0/+8
(This used to be commit fe7055df94ecc81d6758ee7ff82534451d620d6a)
2007-10-10r7864: fixed some const bugsAndrew Tridgell1-2/+2
(This used to be commit 616f54015ff8c7b25fa500cb03d025a9950ed6cf)
2007-10-10r7858: removed some unused variablesAndrew Tridgell1-3/+0
(This used to be commit 8d43eb5b9790a6b24c792919386cac5c0b8ea7ac)
2007-10-10r7816: Implementation of "shortcut" function for those (probably many) whoRafal Szczesniak2-4/+56
don't like to bother with netbios type names when looking for common types: hosts (servers) and domain controllers. Also, apropriate tests rafal (This used to be commit 50cd94be0f876a3463aa58b7e0898e6b3340c4c2)
2007-10-10r7757: Add NTLMv2 support to the NT1 Session setup (ie, not SPNEGO/NTLMSSP)Andrew Bartlett1-2/+4
Session Setup code. Add a mem_ctx argument to a few of the NTLMv2 support functions, and add smb.conf options to control client NTLMv2 behaviour. Andrew Bartlett (This used to be commit 3f35cdb218a3dae08a05e77452ca9f73716ceb28)
2007-10-10r7738: It's actually an API function test.Rafal Szczesniak1-1/+1
rafal (This used to be commit ec29a1ffa7aec6f1822a92a8c62f5a0de51ec2ae)
2007-10-10r7737: Test for libnet_Lookup function.Rafal Szczesniak3-0/+54
rafal (This used to be commit 4655881fac37dbf26a5d60385e5f0a70b8c1c775)
2007-10-10r7704: - fixed open_nbt_connection() to return NULL when the connection failedAndrew Tridgell4-10/+13
- got rid of smbcli_shutdown() and use talloc_free() instead. (This used to be commit 1011b1bf51d420d6702ef448c894ea8ebeafa284)
2007-10-10r7689: Add new file from previous commit (seperate file for session key test).Andrew Bartlett1-0/+1
(This used to be commit fbec0ed13bc20093da308dee0108721d88e9c322)
2007-10-10r7686: Check for a type of invalid account name.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 7520879bb08d191f0ab97508f14f525886b1b48b)
2007-10-10r7685: Simply the test for session key logic, so we pass against NT4.Andrew Bartlett2-34/+191
Now, to try and figure out why this logic failed for jra... Andrew Bartlett (This used to be commit a32066a9ecf7cd82f66eb8381e07d014f5ac5eff)
2007-10-10r7684: Add a test aimed at checking we have agreement between client andAndrew Bartlett2-0/+35
server as to the CIFS session key. JRA had pain with this being wrong against NT4 (without spnego), hence this specific test. Andrew Bartlett (This used to be commit 47f433708ba38db9bf569567cc048e65f2786ebe)