1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

117 Commits

Author SHA1 Message Date
Stefan Metzmacher
ded4440335 r3915: a few updates to the DsCrackNames() torture test
metze
(This used to be commit 62d26e0b91703d667e94d016e7943b6883130579)
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
e0e6e0f99d r3512: - support DsCrackName GUID strings ('{faedf4f9-0de8-4582-b8b6-c475efefbe5a}')
- resolve the GUID's we got in DsGetDomainControllerInfo in the DsCrackNames test

metze
(This used to be commit f6310695821a7e750dd37936a6145232d81ab413)
2007-10-10 13:05:23 -05:00
Andrew Tridgell
90067934cd r3428: switched to using minimal includes for the auto-generated RPC code.
The thing that finally convinced me that minimal includes was worth
pursuing for rpc was a compiler (tcc) that failed to build Samba due
to reaching internal limits of the size of include files. Also the
fact that includes.h.gch was 16MB, which really seems excessive. This
patch brings it back to 12M, which is still too large, but
better. Note that this patch speeds up compile times for both the pch
and non-pch case.

This change also includes the addition iof a "depends()" option in our
IDL files, allowing you to specify that one IDL file depends on
another. This capability was needed for the auto-includes generation.
(This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10 13:05:09 -05:00
Andrew Tridgell
ba6d5fcb97 r3324: made the smbtorture code completely warning free
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10 13:04:55 -05:00
Stefan Metzmacher
1890e6a659 r2992: drsuapi uses WERROR not NTSTATUS
metze
(This used to be commit 757f67c08b0b1309d8a0b900539111c7bc430b0e)
2007-10-10 12:59:55 -05:00
Stefan Metzmacher
f4e4989cb7 r2991: add drsuapi_DsGetDomainControllerInfo() idl and torture test
metze
(This used to be commit 98ca7640c59aa8694abde03f5661b8908cf088bb)
2007-10-10 12:59:55 -05:00
Stefan Metzmacher
20ed511c1b r2971: fix DsBind idl
metze
(This used to be commit 9e50b3214b9de84811640296c19d6068936dfd54)
2007-10-10 12:59:53 -05:00
Stefan Metzmacher
64344b88d1 r2970: - give somefields names and typdef enums for the possible values
- do more crackname tests in the torture test

- move server code for cracknames to a different file

metze
(This used to be commit 18050ea6037b3c0c7cfe975eb9c872368b9e3328)
2007-10-10 12:59:53 -05:00
Stefan Metzmacher
78e29c0491 r2952: add idl and torture test for DsCrackNames
(I need to find out what the fields mean but it works)

metze
(This used to be commit eff51fc623f2e7b57e7e53eb81760684815db2f4)
2007-10-10 12:59:51 -05:00
Stefan Metzmacher
594082233f r2888: - add 'Ds' prefix to Bind and Unbind call on drsuapi
- rename handle -> bind_handle

- change function types to NTSTATUS

metze
(This used to be commit de73676342be8dbf39df8d3fe68817932ee71ccb)
2007-10-10 12:59:42 -05:00
Stefan Metzmacher
8f85b3f771 r2442: remove unused event_loop_once() call
metze
(This used to be commit 3cd63030b1433ddc3ae89e2f45c6f7a27b7d1756)
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
7b65585eed r2387: fix segfault
seems that [in,out,ref] vars should be initialize
the [in] and [out] part

metze
(This used to be commit 47e613a5a1063d8e93e831252db03f19cdb08590)
2007-10-10 12:58:47 -05:00
Andrew Tridgell
df2ed66bb0 r2382: considerably improved the Bind and Unbind IDL and test code. We can
now do these two calls successfully against w2k3.

note that you must use ncacn_ip_tcp, and must enable dcerpc sealing,
otherwise w2k3 refuses the first DRSUAPI call.
(This used to be commit 7d3e34742277f264e41739721dbf08036eebb598)
2007-10-10 12:58:46 -05:00
Andrew Tridgell
e7f36ff1a5 r2100: rework the dcerpc client side library so that it is async. We now
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-10 12:58:24 -05:00
Stefan Metzmacher
6766809ba8 r1961: print out the dcerpc fault code, when we got NT_STATUS_NET_WRITE_FAULT
(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-10 12:58:13 -05:00
Stefan Metzmacher
a0cb701b6f r1649: do a join as dc and run this test as the machine account
metze
(This used to be commit 59de2b1f528fb82fbfcf9c3783dd733a36d3fb6c)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
bfd8bded8e r1481: add idl file and torture test dummies
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-10 12:57:34 -05:00