summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/testjoin.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2458: Rename policy handle parameters for the SAMR pipe. Parameters nowTim Potter1-18/+18
have the handle type implied by the parameter name. There are four types of handle: connect, domain, user and group handles. The various samr_Connect functions return a connect handle, and the samr_OpenFoo functions return a foo handle. There is one exception - the samr_{Get,Set}Security function can take any type of handle. Fix up all C callers. (This used to be commit 32f0f3154a8eb63de83145cbc8806b8906ccdc3e)
2007-10-10r2267: we no longer need to force the domain join to happen on NCACN_NP - itAndrew Tridgell1-6/+5
now works on NCACN_IP_TCP as well. (This used to be commit 9cc33d936407255b5c5fb9bde37d918cf268c784)
2007-10-10r2200: solved another piece of the lsakey puzzle - the session key for lsaAndrew Tridgell1-4/+5
encryption on ncacn_ip_tcp is a fixed buffer! I don't yet know what the buffer is, but this code proves its the same buffer for different w2k3 servers and different user passwords, plus it is independent of the negotiated NTLMSSP session key. (This used to be commit 05fd38f3cfd9476bc1cf7fed838a942a75569c0a)
2007-10-10r2182: force the torture test domain join to happen on SMB to prevent theAndrew Tridgell1-5/+5
LSAKEY problem holding up other tests (This used to be commit ad8d54fd7dd93cb984d23acecfc1c611b63a5d58)
2007-10-10r2100: rework the dcerpc client side library so that it is async. We nowAndrew Tridgell1-1/+1
generate a separate *_send() async function for every RPC call, and there is a single dcerpc_ndr_request_recv() call that processes the receive side of any rpc call. The caller can use dcerpc_event_context() to get a pointer to the event context for the pipe so that events can be waited for asynchronously. The only part that remains synchronous is the initial bind calls. These could also be made async if necessary, although I suspect most applications won't need them to be. (This used to be commit f5d004d8eb8c76c03342cace1976b27266cfa1f0)
2007-10-10r1961: print out the dcerpc fault code, when we got NT_STATUS_NET_WRITE_FAULTStefan Metzmacher1-1/+5
(this need to be done more generic for all dcerpc calls, but for now I just need it in this 2 places) metze (This used to be commit d965f84f69ada2a10e9159aa1743c0bee7790488)
2007-10-10r1041: - pulled the domain join code out of the netlogon test and made it a ↵Andrew Tridgell1-0/+277
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)