summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1676: - improved the handling of username/password in locktest and gentestAndrew Tridgell4-47/+35
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey the smb.conf "max protocol" option - better handling of -M option in masktest (This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher35-1563/+1563
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1649: do a join as dc and run this test as the machine accountStefan Metzmacher1-6/+33
metze (This used to be commit 59de2b1f528fb82fbfcf9c3783dd733a36d3fb6c)
2007-10-10r1647: destroy mem_ctxStefan Metzmacher1-1/+3
metze (This used to be commit 973ac69a012e579a09807d635061ff3550a10719)
2007-10-10r1646: disable testing of group rename in the RPC-SAMR test, as it leaves theAndrew Tridgell1-0/+6
group in a state where it can't be deleted via samr, which breaks repeated runs of the test. (This used to be commit bcad9efd728983c2d8932ef93eebd3d0c6d4d085)
2007-10-10r1642: Torture test for EnumServicesStatus, almost finished.Jelmer Vernooij1-7/+10
(This used to be commit fb2ca1f4cde014c93a0741b8ba03d2d9caffd8df)
2007-10-10r1637: - w2k3 can't handle more than 1000 names in a LookupNames requestAndrew Tridgell1-3/+3
- use a SID that w2k3 likes in CreateTrustedDomain (This used to be commit b5f25fdb7440ba21f073f4ca7fa9a8771a6ebaf4)
2007-10-10r1636: improved the negnowait test so it is standalone (taking advantage of ↵Andrew Tridgell1-4/+36
the async APIs) (This used to be commit 19c22760c699aa2b000f023ff6083055a27a83cb)
2007-10-10r1632: in case of error don't send uninitialised fnums on the wireAndrew Tridgell1-1/+1
(This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c)
2007-10-10r1628: - fixed the comment on run_deferopen. (I also think that theAndrew Tridgell1-102/+65
deferopen test should probably be ripped out and redone, as it tests the wrong thing.) - removed some unused code - add progress printing to the pipe_number test - fixed the dir1 test to use deltree rather than trying to re-invent it itself (in a broken manner) - renamed all of the tests into catagories, so you can now run BASE-* for the base tests, and BENCH-* for the benchmarks. (This used to be commit 2e297be5c34086a42396acc3abf965f8dbd665cd)
2007-10-10r1617: Start working on the svcctl pipeJelmer Vernooij3-0/+143
(This used to be commit 518ff5f505446fee623365fd5bdfc75c0cb93d2a)
2007-10-10r1578: the first stage of the async client rewrite.Andrew Tridgell2-17/+8
Up to now the client code has had an async API, and operated asynchronously at the packet level, but was not truly async in that it assumed that it could always write to the socket and when a partial packet came in that it could block waiting for the rest of the packet. This change makes the SMB client library full async, by adding a separate outgoing packet queue, using non-blocking socket IO and having a input buffer that can fill asynchonously until the full packet has arrived. The main complexity was in dealing with the events structure when using the CIFS proxy backend. In that case the same events structure needs to be used in both the client library and the main smbd server, so that when the client library is waiting for a reply that the main server keeps processing packets. This required some changes in the events library code. Next step is to make the generated rpc client code use these new capabilities. (This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10r1547: rename 'enum <bla>_level' -> 'enum smb_<bla>_level'Stefan Metzmacher4-8/+8
e.g. we now have 'union smb_mkdir' and 'enum smb_mkdir_level' in sync we may should also rename 'RAW_MKDIR_*' -> 'SMB_MKDIR_*' metze (This used to be commit 0bb50dcf1ccb9797000fcbea4d8a73f2d2a3db77)
2007-10-10r1544: add some comments and fix 'return True' -> 'return ret'Stefan Metzmacher1-5/+16
metze (This used to be commit a9a22d1e0db32c7715809efc4bb08ea5a5a9a69b)
2007-10-10r1543: add srvsvc_NetRemoteTOD idl and torture testsStefan Metzmacher1-0/+30
metze (This used to be commit 3f2b77d7ec024f54dc478522d85278ced8fce617)
2007-10-10r1530: we don't need to call srvsvc_NetShareGetInfo twiceStefan Metzmacher1-13/+0
in NetShareEnum and NetShareEnumAll metze (This used to be commit e5bf65b840cd7fbc97166c6313f5eb29de9d129f)
2007-10-10r1529: add NetSrvGetInfo torture testStefan Metzmacher1-0/+42
metze (This used to be commit 0018aeb2fe8c42e49fdcdd1ecc646b277625967d)
2007-10-10r1528: add NetCharDevQ torture testsStefan Metzmacher1-1/+149
metze (This used to be commit d44c85176a79461bfb465a5643b855aa0d8da726)
2007-10-10r1527: add NetCharDev torture testsStefan Metzmacher1-0/+125
metze (This used to be commit dde75d3b346be33213e9f38db01945ee45eff9df)
2007-10-10r1526: some cleanups and fixes for the srvsvc torture testsStefan Metzmacher1-40/+106
metze (This used to be commit 3a2a8973bee1d7e4b21cf807ef549ad3498b4e9d)
2007-10-10r1510: add a commented out routine I used to test password change on NT3.Andrew Tridgell1-0/+61
(This used to be commit fb5796b0dccf7cd518db03e6456d986f17e50345)
2007-10-10r1498: (merge from 3.0)Andrew Bartlett3-8/+7
Rework our random number generation system. On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). This also requires that we start the secrets subsystem, as that is where the reseed value is stored, for systems without /dev/urandom. In order to aviod identical streams in forked children, the random state is re-initialised after the fork(), at the same point were we do that to the tdbs. Andrew Bartlett (This used to be commit b97d3cb2efd68310b1aea8a3ac40a64979c8cdae)
2007-10-10r1481: add idl file and torture test dummiesStefan Metzmacher3-1/+232
for DRSUapi (the Active Directory Replication Protocol) I'll try to fill the idl file as part of a study project together with some other students... metze (This used to be commit 3fc9abcad712c4cc5c9879df0acaa5a19a3d8718)
2007-10-10r1470: Get the smb_trans2 structure out of the rap_cli_call struct.Volker Lendecke2-16/+20
Initial attempt at RAP server infrastructure. Look at rap_server.c for the dummy functions that are supposed to implement the core functionality. ipc_rap.c contains all the data shuffling. _rap_shareenum and _rap_serverenum2 in ipc_rap.c are (I think) regular enough to be auto-generated. I did not test all the corner cases yet, but nevertheless I would like some comments on the general style. Volker P.S: samba-3 smbclient now doesn't freak out anymore, although the results are not entirely correct :-) (This used to be commit 08140cc1a838b4eaa23c897b280a46c95b7ef3e0)
2007-10-10r1453: Change the RAP client to use the ndr routines for moving bytes around.Volker Lendecke1-295/+100
Volker (This used to be commit 1506da85b9e53c71a470b1ef0579e0096451b5a7)
2007-10-10r1403: commit volkers initial RAP torture testStefan Metzmacher4-1/+651
we'll try to autogenerate the specific calls in future by pidl and create a new subsystem for the rap lib after that the server side will be added metze (This used to be commit f1bbde6bb4790f915c1fdbb53f6452c5ea454936)
2007-10-10r1402: we should prompt for a password if it's not given by -UStefan Metzmacher1-1/+0
metze (This used to be commit acde1358c940ed159a67e433e662c255103a1a02)
2007-10-10r1342: When fixing _lsa_lookupsids in samba3 I wanted to find out the number ↵Volker Lendecke1-0/+54
of SIDs w2k3 can handle in a single request. With the samba3 client rpc libs I can do about 21000 SIDs in a single request. test_many_LookupSIDs with 10000 SIDs fails on the subsequent request with a NET_WRITE_FAULT. Maybe the Samba4 DCE people want to take a look at this -- I don't see the problem. Bug fix: SID components should be treated as unsigned when parsing Volker (This used to be commit 8c997a2ad2e89a640f854b556ef76a3d52c15963)
2007-10-10r1294: A nice, large, commit...Andrew Bartlett1-1/+4
This implements gensec for Samba's server side, and brings gensec up to the standards of a full subsystem. This means that use of the subsystem is by gensec_* functions, not function pointers in structures (this is internal). This causes changes in all the existing gensec users. Our RPC server no longer contains it's own generalised security scheme, and now calls gensec directly. Gensec has also taken over the role of auth/auth_ntlmssp.c An important part of gensec, is the output of the 'session_info' struct. This is now reference counted, so that we can correctly free it when a pipe is closed, no matter if it was inherited, or created by per-pipe authentication. The schannel code is reworked, to be in the same file for client and server. ntlm_auth is reworked to use gensec. The major problem with this code is the way it relies on subsystem auto-initialisation. The primary reason for this commit now.is to allow these problems to be looked at, and fixed. There are problems with the new code: - I've tested it with smbtorture, but currently don't have VMware and valgrind working (this I'll fix soon). - The SPNEGO code is client-only at this point. - We still do not do kerberos. Andrew Bartlett (This used to be commit 07fd885fd488fd1051eacc905a2d4962f8a018ec)
2007-10-10r1228: use int64_t instead of long longStefan Metzmacher2-5/+5
(jra: please use: void, char int, uint_t, [u]int<8|16|32|64>_t types in new code) metze (This used to be commit 626bb153c45405f93a96bc5019241af506fac163)
2007-10-10r1227: use uint64_t instead of unsigned long longStefan Metzmacher1-2/+2
metze (This used to be commit 238acc5acf026d341186ed2debcf5d131f2dde96)
2007-10-10r1197: Fix my build breakage, variables at the top of a block only...Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 57ca89eab37b9d3dd83124d9d0f5a526aca0979f)
2007-10-10r1189: Now that we use a common 'base' return structure for the SamLogonAndrew Bartlett1-37/+25
call, avoid code duplication in the torture suite. Andrew Bartlett (This used to be commit b6128c2a9d8e23dad0b14106f45a0638655d6cd7)
2007-10-10r1186: Clarify why this is a 'bogus' negitive test. If we pass it, we mayAndrew Bartlett1-0/+8
still be broken. Andrew Bartlett (This used to be commit da5f311732d626c500dc5eaf6d457fee49e2da99)
2007-10-10r1173: A quick little test to show that we cannot bind twice to a single ↵Andrew Bartlett3-1/+89
endpoint. Andrew Bartlett (This used to be commit e12ad47c69098b6865f5b10527aa44ff322e4b18)
2007-10-10r1161: Include a few more self-check NTLMSSP examples.Andrew Bartlett1-0/+28
Andrew Bartlett (This used to be commit 81678f8dc6fc7ef7218c7fad2b2766355927f21c)
2007-10-10r1150: - fixed interactive sam logon in the rpc serverAndrew Tridgell1-11/+70
- added a torture test for interactive login in smbtorture These changes allow winxp to perform an interactive login (a login on the winxp console) against a Samba4 DC. Our netlogon server code is still filling in many of the fields incorrectly, but it fills in enough that winxp can login. (This used to be commit db9ea488b047b5f0f7538fd75fb7dde8277eb06b)
2007-10-10r1141: - consolidated the netr_SamInfo structures using a netr_SamBaseInfoAndrew Tridgell1-22/+22
structure (andrew, this is the type of structure consolidation I think you were asking about. It's possible here in NDR as it isn't in the top level fn code) - added validation level 6 in sam logon With these changes I can successfully authentication smbclient to a winxp server, with the winxp server using a Samba4 ADS DC for account auth (This used to be commit 705205083a6e2430c420f44436a1d1ff8826bc73)
2007-10-10r1140: added IDL and test code for validation level 6 in sam logonAndrew Tridgell1-5/+14
(This used to be commit c8541098436d2cd83538375889560405ecb50034)
2007-10-10r1137: - added torture test for netr_LogonGetDomainInfo() callAndrew Tridgell1-0/+59
(This used to be commit fdf6e4169d531c4a7d4e1b937abd3eb3af03c860)
2007-10-10r1123: Make all lp_ string functions return 'const char *'.Andrew Bartlett6-22/+23
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
2007-10-10r1113: Test for wildcards in chkpath.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 14cf961b7f8d273604e53ba9a889bb18cd8054d8)
2007-10-10r1098: Extended raw chkpath to catch regressions.Jeremy Allison1-0/+40
Jeremy. (This used to be commit 37d1fa1684b4cca125ae2cf6039f8b12e7ae1b89)
2007-10-10r1091: Added in timing tests for deferred opens. Added extra debug info to ↵Jeremy Allison1-0/+13
signing mistakes. Jeremy. (This used to be commit 5c3a2417cfe1bdbdfb35d933d49f77f6696790b3)
2007-10-10r1086: Add defer open test to check timeout on sharing violation open.Jeremy Allison2-2/+79
This has found some signing errors in the Samba3.0 implementation of the deferred open code. Still working on these... Jeremy (This used to be commit 0068cb12ef91515a95f17a1be7dfbc83fbb89eba)
2007-10-10r1062: fix typo, found by valgrindStefan Metzmacher1-1/+1
metze (This used to be commit f65cba9047c6a206e5aaade15b157e07fe4c8bd2)
2007-10-10r1061: The start of the SamLogon call for the NETLOGON pipe.Andrew Bartlett1-26/+30
Changes: - Check for a valid 'pipe_state' in netr_ServerAuthenticate3 before we dereference it - removes the expansionroom[7] in the netr_SamInfo* structs to 7 individual elements. - renames netr_SamInfo -> netr_SamInfo2 netr_SamInfo2 -> netr_SamInfo3 - Having the thing we always called an 'info3' being 'netr_SamInfo2' was just too confusing. - Expand and fill in extra details about users from the SAM, into the server_info, for processing into the SamLogon reply. - Add a dum_sid_dup() function to duplicate a struct dom_sid The SamLogon code currently does not return supplementary groups, and is only tested with Samba4 smbtorture. Andrew Bartlett (This used to be commit 6c92563b7961f15fc74b02601e105d5e1d04f04d)
2007-10-10r1058: The start of work on the SamLogon call for NETLOGON.Andrew Bartlett1-6/+6
This starts to store information about the user in the server_info struct - like the account name, the full name etc. Also, continue to make the names of the structure elements in the logon reply more consistant with those in the SAMR pipe. Andrew Bartlett (This used to be commit 3ccd96bd945e0fd95e42c69ad8ff07055af2e62b)
2007-10-10r1042: added testing of 128 bit schannel session keysAndrew Tridgell1-6/+17
(This used to be commit 96fc2b6f1e7372cc3646bd52172187b8a689c15a)
2007-10-10r1041: - pulled the domain join code out of the netlogon test and made it a ↵Andrew Tridgell6-179/+426
separate utility function, to allow multiple torture tests to temporarily join a domain - fixed a session key size problem - added a schannel test suite - allow schannel to work with ncacn_ip_tcp (This used to be commit 36f05e4d575099fcb957b8a55781c38dcd2e1177)