Andrew Tridgell
7f2c771b0e
r3278: - rewrote the client side rpc connection code to use lib/socket/
...
rather than doing everything itself. This greatly simplifies the
code, although I really don't like the socket_recv() interface (it
always allocates memory for you, which means an extra memcpy in this
code)
- fixed several bugs in the socket_ipv4.c code, in particular client
side code used a non-blocking connect but didn't handle EINPROGRESS,
so it had no chance of working. Also fixed the error codes, using
map_nt_error_from_unix()
- cleaned up and expanded map_nt_error_from_unix()
- changed interpret_addr2() to not take a mem_ctx. It makes absolutely
no sense to allocate a fixed size 4 byte structure like this. Dozens
of places in the code were also using interpret_addr2() incorrectly
(precisely because the allocation made no sense)
2007-10-10 13:04:49 -05:00
Andrew Tridgell
bc83d823b2
r3276: - allow for more than 256 open old style searches (limit currently set at an arbitrary 5000)
...
- auto-cleanup old searches that the client forgot to close (common with old searches)
- expanded the RAW-SEARCH test to test more than 256 old searches, and
old search rewind (w2k3 fails this - it appears to not support rewind
on old style searches)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
cc93813e4a
r3271: use "struct messaging_context *" instead of "void *" in messaging API
2007-10-10 13:04:48 -05:00
Andrew Tridgell
8ba10229c3
r3270: - added another unlink test
...
- removed BASE-TRANS2 from the list of tests to be worked on (its
already in the "passes" list)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
05530bfb99
r3261: added seek to RAW-SEARCH test
2007-10-10 13:04:47 -05:00
Andrew Tridgell
cc58d249f9
r3259: expanded the RAW-SEARCH test some more
2007-10-10 13:04:47 -05:00
Andrew Tridgell
097823bbde
r3257: make the RAW-SEARCH test less sensitive to the servers directory ordering
2007-10-10 13:04:47 -05:00
Andrew Tridgell
98f6dbdba4
r3254: - expanded the RAW-IOCTL test
...
- fixed the old ioctl interface to not check handle before failing
- pvs now passes RAW-IOCTL
2007-10-10 13:04:46 -05:00
Andrew Tridgell
d4042c4364
r3251: - move the openattr test code into basic/attr.c
...
- cleaned up the RAW-WRITE test so it passes against w2k3, and gives
more useful error messages
2007-10-10 13:04:46 -05:00
Andrew Tridgell
3d5f7f4ac4
r3245: use __location__ in RAW-SEARCH
2007-10-10 13:04:45 -05:00
Andrew Tridgell
ecd4e315b9
r3242: make the RAW-READ test not exercise the 0-0 lock, which is not deterministic
2007-10-10 13:04:45 -05:00
Andrew Tridgell
5b239ad57b
r3236: test a few more combinations in RAW-UNLINK
2007-10-10 13:04:43 -05:00
Andrew Tridgell
e07c557eca
r3235: try readx beyond 64k in RAW-READ
2007-10-10 13:04:43 -05:00
Volker Lendecke
478ba62915
r3218: Fix the build
2007-10-10 13:04:42 -05:00
Andrew Tridgell
efaa0eaec4
r3207: - reformat error msgs in BASE-DIR* tests
...
- added support for mandatory attributes in old style directory search
- we now pass BASE-DIR1 and BASE-DIR2
2007-10-10 13:04:41 -05:00
Andrew Tridgell
3f247ec21c
r3206: - added the reverse map for ERRbaduid to NT_STATUS_INVALID_HANDLE
...
- force disable spnego in the RAW-CONTEXT test (it breaks the test)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
eca85d26ed
r3203: moved more test functions into torture/basic/*.c
...
the idea is that torture/torture.c should eventually be just the
harness code, which will make it easier to read
2007-10-10 13:04:40 -05:00
Andrew Tridgell
17f10a39c8
r3199: added a couple more test paths to RAW-CHKPATH
2007-10-10 13:04:40 -05:00
Andrew Tridgell
41adb385f1
r3198: check for too many .. components in filenames
...
pvfs now passes RAW-MKDIR
2007-10-10 13:04:40 -05:00
Andrew Tridgell
fb1929743a
r3191: use __location__ in RAW-UNLINK test
2007-10-10 13:04:38 -05:00
Andrew Tridgell
3f60775916
r3188: tidy up the rename test a bit more
2007-10-10 13:04:38 -05:00
Andrew Tridgell
c5e72b05d7
r3182: separate out the BASE-RENAME test into torture/basic/rename.c
2007-10-10 13:04:37 -05:00
Andrew Tridgell
0dae9fef09
r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfs
...
- RAW-CONTEXT test now passes
2007-10-10 13:04:37 -05:00
Andrew Tridgell
a10fca41de
r3173: make the RAW-QFILEINFO test cope better with null strings from the server
2007-10-10 13:04:36 -05:00
Jelmer Vernooij
45a3e2a981
r3168: Use generic function for looking up endpoints
2007-10-10 13:02:29 -05:00
Jelmer Vernooij
18582083af
r3167: Add a member 'endpoint' to the dcerpc_binding struct to use instead of
...
options[0].
2007-10-10 13:02:28 -05:00
Jelmer Vernooij
b15cfbe251
r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: transports.
...
ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets.
2007-10-10 13:02:27 -05:00
Jelmer Vernooij
a0c4138edf
r3157: Add ncacn_http
2007-10-10 13:02:27 -05:00
Jelmer Vernooij
f41dfc6c5a
r3156: Couple of fixes in the conversion functions between binding structs and
...
protocol towers
2007-10-10 13:02:26 -05:00
Andrew Tridgell
739c9e401c
r3155: reformat a delete test
2007-10-10 13:02:26 -05:00
Andrew Tridgell
d7b0dece6f
r3152: reformatted some of the delete test code
2007-10-10 13:02:26 -05:00
Andrew Tridgell
022b21460a
r3150: printing __location__ is more useful than a operation number
2007-10-10 13:02:26 -05:00
Andrew Tridgell
50379a0a58
r3149: separate the delete on close test into torture/basic/delete.c
2007-10-10 13:02:26 -05:00
Andrew Tridgell
6e87feb89c
r3148: make --failures work for the BASE-DENY1 and BASE-DENY2 tests
2007-10-10 13:02:25 -05:00
Jelmer Vernooij
d560dcbdb8
r3136: - Allow specifying socket type when adding smbd service
...
- Make sure a epm_tower struct is completely initialized
- Some more minor fixes
2007-10-10 13:02:25 -05:00
Andrew Tridgell
f8d12d4b4a
r3130: - added a LOCAL-IDTREE test suite
...
- made idtree return a "struct idr_context *" instead of a void*
- more efficient idr_remove for ids that are not present (patch from Jim Houston)
2007-10-10 13:02:24 -05:00
Jelmer Vernooij
0609f410ef
r3125: Store object UUID directly instead of using a pointer (struct dcerpc_binding)
...
Let test fail if messaging_init() fails instead of generating segfault in the LOCAL-MESSAGING test
2007-10-10 13:02:23 -05:00
Jelmer Vernooij
88c6d34bba
r3124: Add dcerpc_binding_from_tower()
...
Add tests for dcerpc_binding_from_tower()
2007-10-10 13:02:23 -05:00
Jelmer Vernooij
7a07c2c769
r3123: Add dcerpc_binding_build_tower()
...
Add local test for testing the functions dcerpc_parse_binding(),
dcerpc_binding_string() and dcerpc_binding_build_tower()
2007-10-10 13:02:23 -05:00
Jelmer Vernooij
7baf493966
r3112: Fix two more instances of epm_towers (sorry, metze!)
2007-10-10 13:02:22 -05:00
Jelmer Vernooij
53567a83cb
r3111: Add a few more protocol identifiers, rhs for ncalrpc
2007-10-10 13:02:22 -05:00
Andrew Tridgell
bed7d12f26
r3108: try to cope with servers that put FILE_ATTRIBUTE_NONINDEXED on files in the RAW-OPEN test
2007-10-10 13:02:22 -05:00
Andrew Tridgell
80dd22a1f1
r3105: using __location__ instead of __LINE__ to give info on error locations is more useful
2007-10-10 13:02:21 -05:00
Andrew Bartlett
3f0f6b38f2
r3104: My Win2k3 server, with current updates, still sends the LM key for level 6.
...
I'm not quite sure what's going on here, but adjust expected values
till I can find out how to reproduce this the other way...
Andrew Bartlett
2007-10-10 13:02:21 -05:00
Andrew Tridgell
6ea815b6d4
r3085: make the RAW-WRITE tests more robust to errors in previous parts of the test
2007-10-10 13:01:57 -05:00
Andrew Bartlett
9c911b361c
r3079: make code more pretty :-)
...
Andrew Bartlett
2007-10-10 13:01:56 -05:00
Andrew Bartlett
3759128bd3
r3074: Add in a new 'field present' flag samr.idl for the Account Flags
...
field. Add torture test for setting this feild - including all the
odd cases (not all the flags 'stick', and not others cannot be
removed).
Seperate the two 'password change' flags, and test them both in the
torture code.
Check that the password did change after every password set call.
Andrew Bartlett
2007-10-10 13:01:56 -05:00
Andrew Tridgell
4220914179
r3057: - moved the idtree.c code into lib/
...
- converted the tid handling to use a idtree instead of bitmaps
2007-10-10 13:01:54 -05:00
Andrew Tridgell
6dea60e3b9
r3053: make the maxfid test use subdirectories, so it doesn't create 64k
...
files in one directory (running the test was very slow) and can clean
up after itself easily.
2007-10-10 13:01:54 -05:00
Jelmer Vernooij
38e9290bcf
r3045: Allow object-uuid@... binding strings
2007-10-10 13:01:53 -05:00