Andrew Tridgell
cfce9458a2
added the simple HOLDCON torture test. This is used to establish
...
hundreds of idle connections to the server, which can be used to
simulate environments with large numbers of idle connections.
0001-01-01 00:00:00 +00:00
Tim Potter
54cb508c78
Convert libcli routines to return NTSTATUS instead of BOOL. Again, the
...
only users are smbclient and smbtorture.
0001-01-01 00:00:00 +00:00
Tim Potter
db1cc96af6
Convert libcli routines to use cli_tree instead of cli_state. Port
...
smbtorture to use the new interface.
Part 2 will be to eliminate cli_state from smbtorture as this is now
the only place where it is used.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
49b52cdbfe
This would appear to restore smbtorture to be able to use the syntax
...
documented in it's self-help for RPC tests.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a73825eb49
allow the specification of full dcerpc endpoint binding strings on the
...
command line. This allows you to (for example) control signing/sealing
of smbtorture RPC sessions
0001-01-01 00:00:00 +00:00
Andrew Tridgell
837d8f73a9
switch off the default of ntlmssp on rpc on smb as some windows pipes
...
can't handle it (I'd switched it on while experimenting, and forgot to
switch it off before committing)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bd3dcfe582
added auto-generation of the server side boilerplate code for each
...
pipe.
The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and
gets included in the pipe module
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ebe29305af
add the ntlmssp calls back into smbtorture on rpc over tcp. The samba4
...
rpc server doesn't do ntlmssp yet, so this breaks the tests, but that
is the next step.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
593bc29bbe
completed the linkage between the endpoint mapper and the dcerpc
...
server endpoints. We can now successfully setup listening endpoints on
high ports, then use our endpoint mapper redirect incoming clients to
the right port.
also greatly cleanup the rpc over tcp session handling.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f2d3dc9893
* patch based on work by Jim Myers to unify the ioctl handling to be
...
more like the other major SMB functions
* added SMBntrename code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3d64eefb46
started adding netlogon IDL and test suite
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d5afe7c6a8
the beginnings of an automated tool for working out IDL properties of
...
a pipe. I'm not sure how possible this will be without lots of human
intervention, but its an interesting thing to try.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ccd9ddeed6
added auto-generation of the IDL interface tables. This makes two less
...
places that need to be edited when someone adds a new IDL file.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f5821b2468
added an rpc scanner. This prints messages like this:
...
uuid 82273fdc-e32a-18c3-3f78-827929dc23ea version 0x0000:0x0000 'eventlog'
24 calls available
WARNING: local IDL defines 4 calls
when all the WARNINGs are gone then we know we have all the calls :)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
215852116c
by default sign RPC over TCP but not RPC over SMB. I will add command line control soon
0001-01-01 00:00:00 +00:00
Andrew Tridgell
448dead14d
show an error when the epmapper fails to find an interface
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4abf5376b0
added auto-determination of the DCERPC over TCP port number by asking
...
the servers endpoint mapper
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c18c9b5585
signed DCERPC over TCP now works !
...
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp
code from samba3 (thanks Andrew! the new interface is great)
* added signing/ntlmssp support in the dcerpc code
* added a dcerpc_auth.c module for the various dcerpc auth mechanisms
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8a82050fd6
* fixed byte order in epmapper parsing
...
* allow rpc transport to be specified on command line in smbtorture
0001-01-01 00:00:00 +00:00
Andrew Tridgell
39add48158
initial implementation of dcerpc over tcp. RPC-EPMAPPER works, now to
...
add epm_Map calls and support the rest of the pipes
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8bce61b8af
* prepared the dcerpc subsystem for adding the RPC over TCP transport
...
* fixed a uninitialised variable bug in pidl (found by valgrind)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f94bc07990
added the dcerpc remote management interfaces as mgmt.idl, and wrote a
...
test suite. The test suite dumps all of the interfaces available on
all pipes. There sure are a lot more interfaces on w2k3 than w2k !
0001-01-01 00:00:00 +00:00
Andrew Tridgell
11c0fe548e
* enable RPC/NDR validation in all smbtorture code
...
* allow us to distinguish between null arrays and zero length arrays,
by making the allocation size a minimum of 1 on array pull
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0eff7c519b
fix a smbtorture memory leak
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d2665f36a7
* changed the way strings are handled in pidl to a much more general
...
interface. We now support an arbitrary set of flags to each parser,
and these can be used to control the string types. I have provided
some common IDL string types in librpc/idl/idl_types.h which needs to
be included in every IDL file.
* added IDL for the endpoint mapper. Added a test suite that enumerates
all endpoints on the server.
0001-01-01 00:00:00 +00:00
Tim Potter
c8b87f5feb
Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.
0001-01-01 00:00:00 +00:00
Tim Potter
99fff7b1e2
Add initial work on eventlog - doesn't quite work yet.
0001-01-01 00:00:00 +00:00
Tim Potter
2740584867
Added ATSVC pipe.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
54d3cb22dc
srvsvc IDL and test code from metze. Thanks!
0001-01-01 00:00:00 +00:00
Andrew Tridgell
16ffeb7c80
use the auto-generated UUID, version and name rather than listing them
...
in the dcerpc core code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3305226140
added wkssvc.idl and test code
...
I think this is our first complete pipe for Samba4 (albeit a simple
one). Of course, there may be lots more info levels that Samba3 didn't
do. Time to explore :)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7c162eaf3b
added the first couple of calls from samr as IDL
...
samr_EnumDomains() works nicely
0001-01-01 00:00:00 +00:00
Tim Potter
35e889cf33
Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
...
works but without a devicemode.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
095ab42cbd
* fixed conformant arrays in structures
...
* expanded the rpcecho test
* started adding the NETDFS pipe
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f5bd301ff7
yipee! we can now do lsaOpenPolicy() via the new interfaces, without
...
using any of the old lsa code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f51a216136
added support for fragmented sends
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8cff335dab
started adding RPC-ECHO torture cases
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e925c315f5
a major revamp of the low level dcerpc code in samba4, We can now do a
...
successful LSA OpenPolicy using smbtorture
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3f20041bb9
much better synchronised startup in smbtorture - this allows us to run
...
massive NBENCH runs without killing the client
0001-01-01 00:00:00 +00:00
Tim Potter
bc17a4a8ad
Add RPC-OPEN test as an example for using the new dcerpc client code.
...
It's a bit icky so I suspect it won't last long. (-:
0001-01-01 00:00:00 +00:00
Andrew Tridgell
89f7261ba5
fixed snprintf.c for systems that have only some of the *printf() family of functions
...
cope with servers that return bogus (too large) values in max_xmit
cope with a couple more error conditions in RAW-SFILEINFO
better startup time heuristics in NBENCH
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4559208c80
better child synchronisation at startup in NBENCH
0001-01-01 00:00:00 +00:00
Andrew Tridgell
02d068ba7d
more fixes from the IRIX compiler (thanks herb!)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4cf3839b72
more fixes from the IRIX compiler (thanks herb!)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
74be55efdc
- added a raw smb scanner
...
- its not a root_fid in ntrename
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2b464472c1
- added SMBntrename test suite
...
- allow username of form DOMAIN\username or DOMAIN/username
- added ntrename to gentest
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b0510b5428
first public release of samba4 code
0001-01-01 00:00:00 +00:00