summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15818: Improve UI utilities: allow format strings and add some convenience ↵Jelmer Vernooij2-6/+56
macros. (This used to be commit f0a4547b76bdc04c4dd32fccbb1a37a040868588)
2007-10-10r15816: add SMB2-LOCK torture test, which demonstrates what possible valid ↵Stefan Metzmacher3-1/+218
and invalid requests you can do with it metze (This used to be commit adef1372c118b6c116dfa976d0277be677118fd0)
2007-10-10r15813: Use labs() rather than abs() for 32-bit integers. Caught by the IBM ↵Jelmer Vernooij1-3/+3
checker. (This used to be commit 6e37084965d17d1816256d8de326e2fc6c828e13)
2007-10-10r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of ↵Stefan Metzmacher1-0/+6
NT_STATUS_INVALID_HANDLE metze (This used to be commit aa98aad0975e59fc8cf56c624f728b33ab54e099)
2007-10-10r15788: Do not crash when no result is returnedSimo Sorce1-0/+4
(This used to be commit efb7e39e512eb71deaeef1315bc88a902e5cd848)
2007-10-10r15787: NET-API-CREATEUSER was crashing for me because of this uninitialized ↵Simo Sorce1-0/+1
value... now it still does not work (auth failure ?!) but at least it does not crash (This used to be commit 43d9bfeb22787a2d65ec00b948d51ad3321cd6fd)
2007-10-10r15784: Redesign of NET-API-RPCCONNECT tests to cover more cases of usage.Rafal Szczesniak2-76/+136
Right now, each level of libnet_RpcConnect can be tested with correct and incorrect credentials (testing against expected nt status). Various transports can be tested on NET-API-RPCCONN-BIND test which does testing on explicitly passed binding string. Tested services include LSA, SAMR, SRVSVC at the moment. rafal (This used to be commit e64084a39dca99915a2b6bdab175e0f5fdd571b4)
2007-10-10r15779: Remove keepref from atsvc and efs.Jelmer Vernooij1-4/+4
(This used to be commit b44a8c32d35bcd0dc7339793c34cb84dd6981366)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+1
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15759: samba4 currently only supports read sizes up to with UINT16_MAXStefan Metzmacher1-0/+2
metze (This used to be commit 05ced31cb91eb1f170cb87d6964cf65daba43493)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher4-26/+26
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher3-5/+10
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10r15713: - initialize ntioctl.in.max_data and ntioctl.in.blobStefan Metzmacher1-1/+4
- use define instead of hex value metze (This used to be commit 6725cbf9e221e29cbe15dbcc62eecd8749655973)
2007-10-10r15706: This is a very specific test that helps me in making sure I don't ↵Volker Lendecke1-0/+150
screw up too badly in getting rid of set_saved_ntstatus in Samba3. If this is not the appropriate place to put it, please tell me. Volker (This used to be commit cc9634d5863d8f4a5e14aa2e4411d6a3abde3b9f)
2007-10-10r15690: - disable the lock cancel test against samba3Stefan Metzmacher1-0/+10
- disable the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT test against samba3 metze (This used to be commit 620cc182b37918dc7a0cc45dbbbbf708ad76d187)
2007-10-10r15685: let samba3 pass RAW-READ and ignore one bugStefan Metzmacher1-1/+6
this demonstrates how the target:samba3=yes option passed in samba3's make test can be used in samba4's smbtorture metze (This used to be commit 856656739c8765f9591ff7982b8a708a34d4a1d1)
2007-10-10r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.Rafal Szczesniak2-0/+165
Only the sync version right now. rafal (This used to be commit 7b5ebf93923fc1b33c2f3f8933a35f35f7d8a1e5)
2007-10-10r15656: for NT IOCTL's we need to control the max_data field for some callsStefan Metzmacher1-1/+3
metze (This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10r15640: - NT IOCTL calls also have an 'in' data_blobStefan Metzmacher1-0/+2
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload not the SMB payload here metze (This used to be commit 358d03143f0a78344c1af720e33ebe2619df09df)
2007-10-10r15628: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 67a1c91c2d81ba4c6919804d2190cc9d53bf842c)
2007-10-10r15626: Modify the tests to fit them in current changes in libnetRafal Szczesniak3-13/+54
functions. rafal (This used to be commit 849e3eee9476100d629be318610369662a114dd0)
2007-10-10r15615: - add some tests for cancel pending locks by SMBexit, SMBulogoff and ↵Stefan Metzmacher1-5/+668
SMBtdis - add some tests which demonstrate the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT error cases of failed locks metze (This used to be commit 218910f9270767a7316b344212ee305f74ac93ea)
2007-10-10r15606: Fix another dependencyJelmer Vernooij1-0/+1
(This used to be commit 278ecee6adcd1d621b907ef6595daf4c5f8ebc4c)
2007-10-10r15605: Yet another dependencies fixJelmer Vernooij1-1/+2
(This used to be commit eef495a8efd8d5e8bcb42226b1885648774c5c76)
2007-10-10r15602: Another dependency fixJelmer Vernooij1-1/+1
(This used to be commit 5ef6b90faedd3dc4356c0da2ce8ceb388c673b39)
2007-10-10r15599: Fix more popt dependencies - these should be the last onesJelmer Vernooij2-4/+6
(This used to be commit b26e38cb62d6180e1896a6ab1cd291b0e7900afa)
2007-10-10r15598: Another dependency fixJelmer Vernooij1-1/+1
(This used to be commit 1f6022b11231169fe14de28f5d1ce4d3cb23d626)
2007-10-10r15596: Fix another popt dependency issueJelmer Vernooij1-1/+2
(This used to be commit 0f9406da20b414604b4bbfaa7f656d90521f4283)
2007-10-10r15595: Fix another broken dependency rlated to poptJelmer Vernooij1-1/+1
(This used to be commit 5dfea7e4d7b4f02d93a94c71dd2cd41100bbcff8)
2007-10-10r15594: Remove another unused includeJelmer Vernooij1-1/+0
(This used to be commit 0c078988715744bb4cbdf210d8ac9d7782135737)
2007-10-10r15588: Fix the build of smbtorture.Rafal Szczesniak1-0/+1
rafal (This used to be commit c4ff7aacfb97419448160af82f30f55fe8446c18)
2007-10-10r15586: Remove unused headerJelmer Vernooij1-1/+0
(This used to be commit 1ca3612255565785488a6a091dd71d48f703d5e0)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij2-1/+2
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher1-1/+1
also if the dynamic flag should be set metze (This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10r15530: added testing of generic CLDAP requests, looking at the rootDSE. JerryAndrew Tridgell1-5/+91
has found that w2k3 does respond to rootDSE cldap requests. This test shows that it does indeed work, but the expression handling is not what you would expect (This used to be commit 388e98e77cfd1603156ea431877e40ac886d9c08)
2007-10-10r15507: if we change the idl, we need to change the calling code too:-)Stefan Metzmacher1-3/+3
is it possible to run the RPC-UNIXINFO test in samba4's make test? metze (This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)
2007-10-10r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my headAndrew Bartlett1-1/+1
around the mess that is composite functions... Async might be all the rage, but it's bloody painful to debug. Andrew Bartlett (This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
2007-10-10r15502: Typo fix.Rafal Szczesniak1-1/+1
rafal (This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)
2007-10-10r15500: Add support for interactive prompting on bad passwords to the RPC ↵Andrew Bartlett1-1/+1
libraries. This support requires that the bind_ack and alter_ack recv functions also be send the DCE/RPC fault. This would be best done by having the ack run as a normal RPC reply callback, but this isn't easily possible for now. Andrew Bartlett (This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)
2007-10-10r15499: This test can't run if the remote server won't let us open a policy ↵Andrew Bartlett1-1/+4
handle. Andrew Bartlett (This used to be commit ca0ffb1218f3c2482b6b04463e627accd03d8cf9)
2007-10-10r15456: Inspired by a short discussion with abartlet on IRC.Rafal Szczesniak4-11/+34
- create "async" parameter for smbtorture to categorise async tests potentially hard for windows servers - create "num-async" parameter to specify the number of simultaneous async requests to be made - move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably do the same for many others async tests...) It's an interesting way to determine resources availability on windows servers... rafal (This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)
2007-10-10r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display receivedRafal Szczesniak1-0/+36
information. rafal (This used to be commit 76d965b0b04496ae959ba6f13d748c6dfb858591)
2007-10-10r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett1-1/+1
this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10r15412: Put the test in a dangerous category.Rafal Szczesniak1-0/+5
rafal (This used to be commit 52b4ef14a02ca1c72cef2467b214518bbe32c8f6)
2007-10-10r15394: Put initial code for testing async dcerpc binding. CurrentlyRafal Szczesniak3-1/+81
it only tests multiple simultaneous bind requests using transport specified in command line. It will be interesting to use various transports at the same time and test it agains windows servers... rafal (This used to be commit 7e4756116e59f9a0599a80fb5ac06118817f4326)
2007-10-10r15358: Fix some compiler warnings / type safety. Found by tccJelmer Vernooij2-8/+9
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)
2007-10-10r15356: Remove unused 'flags' argument from socket_send() and friends.Andrew Bartlett1-38/+7
This is in preperation for making TLS a socket library. Andrew Bartlett (This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
2007-10-10r15344: Fix shared library buildJelmer Vernooij1-4/+5
(This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8)
2007-10-10r15338: Fix build of most things with shared libs enabled.Jelmer Vernooij1-1/+2
(This used to be commit 8985093d3fba90287bd739aaaa0fbfdadca2b999)
2007-10-10r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMBJelmer Vernooij2-9/+9
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)