summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11871: fixed a problem volker found with the async bind code, and a callbackAndrew Tridgell1-2/+5
destroying the dcerpc pipe (This used to be commit 0b91602fa4b9a8b40331d088bdaac76381eac7ef)
2007-10-10r11870: fixed the problem volker reported with the RPX-XPLOGIN test. TheAndrew Tridgell1-1/+37
problem was caused by a callback destroying the packet processing context while that context was being used in packet_recv() This is the first time we have used the ability of talloc destructors to 'refuse' a free request. It works well in this case as it makes the composite API simpler to use for other code, and isolates the complexity of having callbacks destroying the packet context to the packet.c code. (This used to be commit b1b2d86541a376f1ef33fae897f750005c386ebe)
2007-10-10r11869: talloc has been ported :-)Volker Lendecke1-2/+3
(This used to be commit aad52d9a5fb66fe3b595190905e7237a279f7270)
2007-10-10r11868: Get the wks and user accounts from a file.Volker Lendecke1-2/+141
Abartlet, please don't break this again, it's too darn useful for near-realistic load tests on an RPC infrastructure and can be quite easily expanded to more weird things a workstation might do during a login. Yes, I promise I will document this test, but this must wait until the weekend. I might add simulating a profile download quite soon, we have the information available from the info3. Thanks, Volker (This used to be commit 15ca9e16bbc120a4a29bedaededc266097204ec5)
2007-10-10r11850: added a test suite for the SMB2 find callsAndrew Tridgell3-1/+215
(This used to be commit 3ac32d802bba96e5cbcebc4b536258eb0981a9e4)
2007-10-10r11849: added mapping between SMB2 and SMB find/search levelsAndrew Tridgell2-1/+100
(This used to be commit 77e0cb999c776d2cfc806445d36135e5ba3a5f3d)
2007-10-10r11848: separate out the info levels common to SMB and SMB2 for raw_searchAndrew Tridgell2-121/+174
(This used to be commit ed8d3073472fbb0850209f81dd04bd94f6d1c33d)
2007-10-10r11843: fixed a valgrind error in the RPC-SAMLOGON testAndrew Tridgell1-1/+1
(This used to be commit 61cabcd7f9010f708a55165f2ff855630f4b39df)
2007-10-10r11838: lower the default numops in smbtorture. When people want lots ofAndrew Tridgell1-1/+1
repeated operations they should manually specify --num-ops=XX this should speed up a few of the build farm tests (This used to be commit d91506e1ceafc95c497973b0ecfd362f9bea3187)
2007-10-10r11837: Add a timeout before starting a torture test. It's really fun to ↵Volker Lendecke1-9/+33
watch 50 simulated logins doing stuff simultaneously. This is where the async architecture *really* pays off. Volker (This used to be commit 4cca813dff1194546e85efb9aabd36f0139e5be2)
2007-10-10r11836: More work in progressVolker Lendecke1-100/+448
(This used to be commit 3f5ad1bd3f817d99df76678f3ad733e51c00c673)
2007-10-10r11835: Restore commentsVolker Lendecke1-1/+28
(This used to be commit 94591bdb6542d4a3096074b672e19142c9236211)
2007-10-10r11834: More steps towards XP loginVolker Lendecke2-1/+623
(This used to be commit c10ccb2edb5e623def9bf167ff328a70a9a85841)
2007-10-10r11832: - some updates for the conflict resolving logicStefan Metzmacher1-35/+146
- use better function names metze (This used to be commit 35ab665957a0114e749e4045abdc2fb482867711)
2007-10-10r11831: add some SGROUP not active vs. SGROUP any testsStefan Metzmacher1-0/+119
metze (This used to be commit be622259ab1976abb800f55d5d8d329359e082db)
2007-10-10r11829: remove unused #if 1Stefan Metzmacher1-2/+0
metze (This used to be commit 80f2e50387eedecfe661f0e48e7287017a34a508)
2007-10-10r11828: split out the async helper function into a new subsystem WB_HELPERStefan Metzmacher1-3/+11
to use it in torture tests too metze (This used to be commit 364b092355cd872d52612895cd711625f5702997)
2007-10-10r11827: add more sgroup vs sgroup testsStefan Metzmacher1-33/+531
metze (This used to be commit 28a065064ef4ed60eb7d260ba02d939cfaba0bb9)
2007-10-10r11826: A few steps down the loginVolker Lendecke1-3/+242
(This used to be commit 47a91dae31d4f1de93579f705c9115cd44d4ca6e)
2007-10-10r11825: Fix a debug msgVolker Lendecke1-1/+1
(This used to be commit fc6458d0d4d9059e00b19ad6c54e3fd5a4119341)
2007-10-10r11824: fixed a valgrind error in the dcerpc_smb codeAndrew Tridgell1-1/+2
(This used to be commit 128b5ea7b369df6e7433609a24128f8bf623c4fe)
2007-10-10r11823: make the socket_connect_send() context a child of the local stateAndrew Tridgell1-0/+1
this fixes a valgrind error (This used to be commit db9c0887bd24de4d81b5afa2ff096b3ba65c9720)
2007-10-10r11822: reworked the socket_connect_multi() code so it is built on top ofAndrew Tridgell1-144/+149
socket_connect_send() rather than the lower level socket code. Also simplified the state structures a fair bit, and added name resolution, fixing a bug where the multi-port connect code did a separate name resolution for each port being tried. (This used to be commit 3e6888156c1b2d24fe0d46940773560d219498b3)
2007-10-10r11821: got rid of two more unnecessary variables and made the variable namesAndrew Tridgell1-60/+58
a bit more consistent (This used to be commit 4b6e9c7c978dfca54c05ed2d8995d1333ed21b02)
2007-10-10r11820: fixed some problems with the socket socket.c code.Andrew Tridgell1-68/+72
- removed the duplicate calls to socket_connect(), instead creating a common function socket_send_connect() used by both code paths - fixed some NULL ptr checks (probably was cut-and-paste bugs) - ensure we use the result of the name resolution - added a few comments - use 'fde' for the file description event. The variable name 'connect_ev' immediately made me think of an event context, not a fde. Using common variable name conventions makes code a bit easier to read (This used to be commit 37b73521b4c858c78013279daaa71352c704551d)
2007-10-10r11819: simplified the async rpc bind code a little.Andrew Tridgell2-207/+225
- removed the struct dcerpc_request_state as all the state information is already available on the dcerpc_pipe structure, so just use that - added a single dcerpc_recv_data() handler for receiving packets from the transport layer. This then does the initial decoding of the dcerpc packet, and then looks at the packet type in order to work out who to dispatch it to. This should allow in-flight async rpc requests to still work while a new bind or alter context is happening - ensure that if the transport indicates the connection is dead that any in-flight bind or alter context requests are given an error - removed full_request_private and instead use separate bind_private and alter_private pointers - added a few comments for some bits I found hard to understand (This used to be commit 938e372bffbee1982ad8268b83c43514fd2e5633)
2007-10-10r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell4-17/+19
option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274)
2007-10-10r11817: fixed the problem with the RPC join tests. The problem was thatAndrew Tridgell1-0/+10
revision 11809 had removed the change to the session key function after authentication succeeds. (This used to be commit c04c78d617b0d8c9f8fa724d475fefbe9e478ef7)
2007-10-10r11816: this fixes some of the problems with the recent async rpc changes andAndrew Tridgell1-0/+12
ncacn_ip_tcp/ncalrpc. The problem was that svn revision 11809 removed the logic that forced the CONNECT auth type for authenticated binds which don't have an explicit SIGN or SEAL flag set. (This used to be commit e7a1f11e8bcba3839f74c7303bd82533a6acfbcd)
2007-10-10r11815: A bit more comments and spaces for better readability.Rafal Szczesniak2-1/+11
rafal (This used to be commit 1e831aead17b399289b8161e521e1afd5873c556)
2007-10-10r11814: 1) Set name resolution methods according to smb.confRafal Szczesniak1-1/+4
2) Set credentials workstation name, otherwise rpc bind function segfaults on auth stage rafal (This used to be commit 6dc67ba6a30e6fc3fc21821d009ea940b093eec2)
2007-10-10r11813: Const-ify name resolution method list and use string listRafal Szczesniak2-11/+2
utilities to set the context field. rafal (This used to be commit 5da8b457c34236b21f6e88e3a7a12338d0390a4f)
2007-10-10r11812: Convert winbind to the async bind routines. Also remove tridge's ↵Volker Lendecke6-93/+203
hack for the winbind "bug" :-) Volker (This used to be commit fb9a3c7ef376f289288c71bc47d67f548ddb7194)
2007-10-10r11811: Revert 11808, this broke the selftest. No idea why though. Why do we ↵Volker Lendecke1-2/+2
to the resolve_name if it's not used? I know this is my code, but I don't understand why it breaks tests. Volker (This used to be commit 577a5639d3fc008480e988864bb4fb59939bc2d8)
2007-10-10r11810: Fix talloc hierarchyVolker Lendecke1-2/+2
(This used to be commit e1bf1c326f297321a6c8fdf9679130dba102669e)
2007-10-10r11809: Make dcerpc_bind_auth async.Volker Lendecke8-178/+229
This also removes dcerpc_bind_auth_password, the only user of dcerpc_bind_auth. And this was not only passwords anyway. Andrew Bartlett, as usual: Please take a close look. Thanks, Volker (This used to be commit 2ff2dae3d035af6cb0c131573cfd983fc9a58eee)
2007-10-10r11808: Fix socket_connect_evVolker Lendecke1-2/+2
(This used to be commit 95bd3ffaf7efb117206c83f7c75c302b54e6d059)
2007-10-10r11807: Make dcerpc_alter_context async. Same thing: Please look at thisVolker Lendecke1-149/+140
closely. Survives RPC-ALTERCONTEXT. Volker (This used to be commit 1875c4808f8c30a6f750b88e166d43a736d5edc7)
2007-10-10r11806: Minor cleanupVolker Lendecke1-5/+2
(This used to be commit e75080b26d76199a6006fb076cf816ac023254ee)
2007-10-10r11805: dcerpc_bind_auth is only used in dcerpc_bind_auth_passwordVolker Lendecke1-2/+2
(This used to be commit 16bc6b64f9053df3d08a05e7b7cfe77be6580d2b)
2007-10-10r11804: Asyncify the anonymous bind, convert the calls in xplogin.c.Volker Lendecke3-86/+256
Tridge et al, please take a close look at this. It survives my basic rpc-login test as well as rpc-lsa, but this is critical I think. Volker (This used to be commit bf1a55f44c84d9bb8b2f83f5d25727550ca8fcf2)
2007-10-10r11803: New start for RPC-LOGIN load test, this time async. It's gonna be ↵Volker Lendecke1-949/+454
fun to see hundreds of logins from a single process.... :-) Does not do all that is necessary yet. But as the old one was #ifdef'ed out, this does not hurt much I think. Volker (This used to be commit f7cbef3e593df0c75bfd9be5bea64f65042c4d05)
2007-10-10r11802: - add copyrightStefan Metzmacher1-4/+10
- fix crash bug when running as non root - add extra comments in the output metze (This used to be commit ffc3cd73474722d60a781fb758105f665e73c0ca)
2007-10-10r11801: - added basic SMB2 find supportAndrew Tridgell9-11/+165
- added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests (This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
2007-10-10r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell7-30/+84
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison1-1/+22
<dtucker@zip.com.au> Jeremy. (This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
2007-10-10r11796: Two more uses of !composite_is_okVolker Lendecke1-20/+5
(This used to be commit 7256157d01ff47d33706dadd45851cf2fbbce3a6)
2007-10-10r11795: used a couple more of volkers composite helper functions. TheyAndrew Tridgell1-39/+9
certainly make the code more compact. (This used to be commit 872e2a49d8a1ad1f9a6e2f2d323b3471aeb9cba6)
2007-10-10r11794: - fixed a valgrind error in libnet, caused by using a stack variableAndrew Tridgell3-10/+8
after the function has returned (the *address variable was assigned into the state). - changed libnet to use event_context_find() instead of event_context_init(), so it works as a child of existing code that uses a event context (This used to be commit 47ceb2d3558304b4c4fb00582fb25a885cea2ef5)
2007-10-10r11791: simplify the SMB2 connect code following some suggestions from volkerAndrew Tridgell1-22/+24
(This used to be commit 71e3e61941621f72f45708340f5d03b2b79580b4)