summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2008-07-26smbtorture: add --extra-user optionStefan Metzmacher1-1/+13
This can we used to pass additional credentials to torture tests (it can be used multiple times. metze (This used to be commit 4d80dbfac27659046e0986a2af3d06999e2cb2f2)
2008-07-23drsuapi: always set the pid field of the outgoing DsBindInfo to 0.Michael Adam1-1/+1
This is for debugging and informational purposes only. The assignment is implementation specific. (WSPP docs, sec. 5.35). Michael (This used to be commit 1f5704e2dee5900e8d1d87699b76f67c0e12854e)
2008-07-23RPC-DSSYNC: print 'supplementalCredentials' more verboselyStefan Metzmacher1-0/+10
metze (This used to be commit 6a7637b12e4a34915a53e81a0f47571da21fdc5a)
2008-07-23smbtorture: add a warning for unknown BindInfo length to the RPC-DSSYNC testMichael Adam1-0/+3
Michael (This used to be commit 7ee99105ea3a50d8ee2c83ecd39e834ed9efb98c)
2008-07-23smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.Michael Adam1-0/+9
Michael (This used to be commit 67a99e445871861945fd0a45784cffb358bdccf3)
2008-07-22Change occurrences of the u1 member of DsBindInfo* to pid after idl change.Michael Adam1-3/+3
Michael (This used to be commit b91bbc5fe4a47e5823be6be5f2f203f1f14105de)
2008-07-21Rename structures to better match the names in the WSPP IDL.Andrew Bartlett2-24/+24
The 'comment' element in a number of domain structures is called oem_information. This was picked up actually because with OpenLDAP doing the schema checking, it noticed that 'comment' was not a valid attribute. The rename tries to keep this consistant in both the LDB mappings and IDL, so we don't make the same mistake in future. This has no real schema impact, as this value isn't actually used for anything, as 'comment' was not used in the provision. Andrew Bartlett (This used to be commit 65dc0d536590d055a5ee775606ac90ee5fcaee9a)
2008-07-21Remove bogus test in 'enum trusted domains' LSA server.Andrew Bartlett1-0/+40
The change to the RPC-LSA test proves that when the remote server has 0 trusted domains, it will return NT_STATUS_NO_MORE_ENTRIES, not NT_STATUS_OK. Andrew Bartlett (This used to be commit 40a55b34c2ce75267cf004dc4cfb8153c061e66b)
2008-07-19Fix RAW-OPEN against Samba3Volker Lendecke1-0/+1
This test assumed that fnums are recycled immediately after a close. This is not true on Samba 3. Andrew B., I assume this is just a bug in the test. Assuming recycled fnums might be true on Windows and Samba 4, but I don't think we should assume this everywhere. Volker (This used to be commit a4c3a59d47b2b1c794eda556d252c61907be1b3c)
2008-07-18More 'must be ignored' options from the MS-SMB doc.Andrew Bartlett1-34/+22
Also in particular the 'sync' flags (which Samba has traditionally ignored). Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out more flags that needed to be handled. Andrew Bartlett (This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
2008-07-16drsuapi: print out the number of linked attribute values we gotStefan Metzmacher1-16/+27
metze (This used to be commit 34f8b2abdd546f6b60ddae2ad839119f211c995c)
2008-07-16drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]Stefan Metzmacher2-3/+3
metze (This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16drsuapi: get ctr6 out of xpress compressed levelStefan Metzmacher1-0/+5
metze (This used to be commit 4e0708148a121bd41a12abf6122d5d6f3f09667a)
2008-07-16drsuapi: total_object_count was the wrong guessStefan Metzmacher1-13/+10
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong it's the error code of an extended operation. DsGetNCChangesCtr6 has a nc_object_count value which contains the estimated amount of objects in the naming_context. W2k seems to have a bug and sends this number of objects in the extended_ret field. Maybe it's just a bug and not a feature:-) metze (This used to be commit 67931092128ce89aadf689a54e20d6e4a9d7fe2c)
2008-07-16NET-API-BECOME-DC: fix crash bugs because of unintialized variablesStefan Metzmacher1-1/+4
metze (This used to be commit 6acf42c2e41bb1d44c1fcaaaa58fc3f148491836)
2008-07-16Ignore and handle more NT Create & X options.Andrew Bartlett1-0/+56
The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
2008-07-07torture: .in.max_data should not depend on the smb max sizeStefan Metzmacher2-9/+9
We now support async multi fragment SMBtrans calls. metze (This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)
2008-07-07rap: trans->in.max_data should not depend on the smb max sizeStefan Metzmacher1-1/+1
We now support async multi fragment SMBtrans calls. metze (This used to be commit 66e0c1754f14cf0100ca2d3e9c0cd8c87f9dc1e6)
2008-06-30drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)Stefan Metzmacher2-12/+12
metze (This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce5-5/+5
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce14-35/+37
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-06Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell4-7/+9
(This used to be commit 8e96f2edb003d997e71e9e237463882696279d0f)
2008-06-06handle NULL fields in blob comparisonAndrew Tridgell1-1/+3
(This used to be commit 0643b5a2bfc401d8318964241ad522eb427a170e)
2008-06-05Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij7-46/+57
(This used to be commit dcdfee611ccc0ae798e3eea2cfdf3c7642dc5677)
2008-06-05Add convenience function for creating nbt sockets in torture.Jelmer Vernooij4-7/+9
(This used to be commit 1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9)
2008-06-04another SMB2-LOCK fix now that we know that the UNLOCK flag is onlyAndrew Tridgell1-5/+1
honoured on the first lock in a set (This used to be commit c014ffabc65c30a6b83c8f9f9f9a80bb79333f59)
2008-06-04fixed SMB2-LOCK test for new semantics (from docs)Andrew Tridgell1-5/+1
(This used to be commit d4d4d62939e325f8529b11fcd2d490e8f63293b0)
2008-06-04Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-4/+1
(This used to be commit d206517f90ac02e829193c5a17e5df25059cf18d)
2008-06-04lib/crypto: remove unused sha1 and hmac-sha1 codeStefan Metzmacher1-4/+1
metze (This used to be commit 2c8904be3bac2c696712cc3160fe95d62afde43a)
2008-06-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-1/+3
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)
2008-06-03BASE-DELAYWRITE: fix test on filesystem without high resolution timestampsStefan Metzmacher1-1/+1
metze (This used to be commit fde9880f9943897549859037b0fc9341d3a032f7)
2008-06-03BASE-DELAYWRITE: add missing time checks to make sure the server has updated ↵Stefan Metzmacher1-0/+2
the write time metze (This used to be commit 9c004df8910c07d75bb3f75d7c3cfba9f9c94f51)
2008-06-02more updates for new info levelsAndrew Tridgell1-7/+8
(This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
2008-06-02remove a pstringAndrew Tridgell1-2/+1
(This used to be commit 12ecd7f4b8934e3e11e8b6019b92b82a53e55b96)
2008-06-02remove unused macrosAndrew Tridgell1-12/+0
(This used to be commit 7a1877db15e6a57f0f057dcf5da6609b9bdeef51)
2008-05-31check for requested buffer size in getinfo callAndrew Tridgell1-0/+35
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-31more useful output in scanAndrew Tridgell1-10/+7
(This used to be commit 70569a78cf3443ce5c0b0a28dcd17a3031d8aa55)
2008-05-31Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6cAndrew Bartlett1-2/+0
This commit broke the build, because not all files (libreplace, popt) were updated. Andrew Bartlett (This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-30Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defsJelmer Vernooij9-2571/+1564
Conflicts: source/samba4-skip (This used to be commit 7b0e0eb346c2f6a240b20fbcf14029539c6512b9)
2008-05-30implemented client side SMB2 signingAndrew Tridgell4-9/+15
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-30Move CFLAGS handling out of smb_build.Jelmer Vernooij1-0/+2
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-30don't emulate broken SMB2 locking behaviour from windowsAndrew Tridgell1-4/+66
(This used to be commit c50e7a15f9a7f2c5821b5ee468f9ade6eaa0ed55)
2008-05-29merged gentest.c and gentest_smb2.cAndrew Tridgell3-2615/+1401
The one gentest tool now covers both SMB and SMB2, using the command line switch --smb2 for SMB2 (This used to be commit d1125a303a31fbe08a9bd0064ec132b4d7cbb131)
2008-05-29check maximal_access here tooAndrew Tridgell1-0/+1
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
2008-05-29test the maximal access returnAndrew Tridgell1-1/+16
(This used to be commit 23ffec5d140463c8307fd7e444ae25781ea3d792)
2008-05-28check the set of file attributes which are ignoredAndrew Tridgell1-2/+6
(This used to be commit c818f56d8ea3ddc6f4cc61e9d5ed6fd195280a5d)
2008-05-28fixed current_op.mismatch for more casesAndrew Tridgell1-2/+13
(This used to be commit 8a2a31d050a31308036545414f8d180ec8148f1d)
2008-05-28added --noacls options and checking for same mismatch in backtrackingAndrew Tridgell1-1/+16
(This used to be commit c7d2e1bf65a28b6a2efd60585ae8ead2fb486e53)
2008-05-28check that we can't change a file to a directoryAndrew Tridgell1-0/+4
(This used to be commit e013ada415ebb25e925f715791757330ba003b43)
2008-05-28added testing of some strange read semantics on windowsAndrew Tridgell1-2/+59
(This used to be commit 46a0b65742bc0e4277da53df9df823abd4a0d150)