Matthias Dieter Wallnöfer
5e89476730
Add a torture test for the new 'netlogon' flags.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit a484334fb4
)
2008-08-20 12:46:37 +10:00
Andrew Bartlett
f1df6744f1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 3731f7eaea
)
2008-08-15 20:47:52 +10:00
Andrew Bartlett
4bdb752cc5
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit b4b14b748e
)
2008-08-15 20:41:50 +10:00
Andrew Bartlett
427b3baba3
Don't segfault in RPC-ATSVC.
...
(This used to be commit e711f7d26a
)
2008-08-15 09:46:51 +10:00
Andrew Bartlett
ac503b140d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit b337369d5c
)
2008-08-15 07:58:03 +10:00
Stefan Metzmacher
c1c6c1b609
RAW-OPEN: be more strict in create_option checking
...
metze
(This used to be commit d548f5dee5
)
2008-08-14 15:14:53 +02:00
Stefan Metzmacher
affba1f75c
SMB2-CREATE: add a special test for FILE_ATTRIBUTE_ENCRYPTED
...
Some standalone server (and samba4) doesn't support this.
metze
(This used to be commit 6d8fd4c008
)
2008-08-14 13:13:52 +02:00
Stefan Metzmacher
d6abf13510
SMB2-CREATE: be more strict in checking file attributes
...
metze
(This used to be commit ba9d0f6b3c
)
2008-08-14 13:13:51 +02:00
Stefan Metzmacher
80f2f10839
SMB2-CREATE: be more strict in error checking
...
metze
(This used to be commit d7d4df78c1
)
2008-08-14 13:13:51 +02:00
Stefan Metzmacher
8b585deae4
NBT-WINSREPLICATION: be more robust to timing errors
...
Also reenable disabled tests.
metze
(This used to be commit 76878a9c79
)
2008-08-14 13:13:48 +02:00
Andrew Tridgell
336f6810ce
expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how the
...
create options fields are supposed to work
(This used to be commit 0576875ecc
)
2008-08-14 17:26:30 +10:00
Andrew Tridgell
88ec1aead4
cope with not knowing the kdc key
...
(This used to be commit 7e48dad4c7
)
2008-08-14 15:27:22 +10:00
Andrew Bartlett
cb98944be3
Assert on failure to join domain in NBT-DGRAM
...
(This used to be commit 0a8080d0f2
)
2008-08-14 11:54:19 +10:00
Andrew Bartlett
a0b5ec7797
We can't use ndr_pull_struct_blob_all in combinatin with relative pointers
...
(This used to be commit d0a128f35b
)
2008-08-08 10:41:48 +10:00
Stefan Metzmacher
8275d511bc
drsuapi: fix callers after idl change
...
metze
(This used to be commit 7dee6fb62d
)
2008-08-07 19:15:58 +02:00
Andrew Bartlett
358a11c6f3
Print trustAuthOutgoing and trustAuthIncoming in RPC-DSSYNC
...
(This used to be commit 6673a6e623
)
2008-07-31 21:23:48 +10:00
Andrew Bartlett
2cc32c4988
Use the cldap reply to avoid segfaulting in RPC-DSSYNC
...
Also don't fail the test if the server does not implement the NT4
changelog.
Andrew Bartlett
(This used to be commit 514d88580b
)
2008-07-31 10:51:59 +10:00
Andrew Bartlett
2afd7d6d66
Don't fail if the domain has a trust already.
...
Andrew Bartlett
(This used to be commit c2df7ffa6d
)
2008-07-31 09:07:57 +10:00
Stefan Metzmacher
1a4f4d2cf0
SMB2-CONNECT: remove reference to req->session before calling smb2_logoff_recv() on the invalid session
...
metze
(This used to be commit 93203e8e31
)
2008-07-28 14:09:45 +02:00
Stefan Metzmacher
460356c976
smbtorture: add --extra-user option
...
This can we used to pass additional credentials to torture tests
(it can be used multiple times.
metze
(This used to be commit 4d80dbfac2
)
2008-07-26 20:11:09 +02:00
Michael Adam
1f20ca14cc
drsuapi: always set the pid field of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 1f5704e2de
)
2008-07-23 15:36:13 +02:00
Stefan Metzmacher
734d0c0a5d
RPC-DSSYNC: print 'supplementalCredentials' more verbosely
...
metze
(This used to be commit 6a7637b12e
)
2008-07-23 14:46:06 +02:00
Michael Adam
a9c3f4700c
smbtorture: add a warning for unknown BindInfo length to the RPC-DSSYNC test
...
Michael
(This used to be commit 7ee99105ea
)
2008-07-23 12:52:40 +02:00
Michael Adam
935a7b3389
smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.
...
Michael
(This used to be commit 67a99e4458
)
2008-07-23 12:52:40 +02:00
Michael Adam
7fba6c649b
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit b91bbc5fe4
)
2008-07-22 15:35:23 +02:00
Andrew Bartlett
d626a26374
Rename structures to better match the names in the WSPP IDL.
...
The 'comment' element in a number of domain structures is called
oem_information. This was picked up actually because with OpenLDAP
doing the schema checking, it noticed that 'comment' was not a valid
attribute.
The rename tries to keep this consistant in both the LDB mappings and
IDL, so we don't make the same mistake in future.
This has no real schema impact, as this value isn't actually used for
anything, as 'comment' was not used in the provision.
Andrew Bartlett
(This used to be commit 65dc0d5365
)
2008-07-21 13:42:07 +10:00
Andrew Bartlett
e16b2242e5
Remove bogus test in 'enum trusted domains' LSA server.
...
The change to the RPC-LSA test proves that when the remote server has
0 trusted domains, it will return NT_STATUS_NO_MORE_ENTRIES, not
NT_STATUS_OK.
Andrew Bartlett
(This used to be commit 40a55b34c2
)
2008-07-21 12:05:53 +10:00
Volker Lendecke
853ef0d5ef
Fix RAW-OPEN against Samba3
...
This test assumed that fnums are recycled immediately after a close. This is
not true on Samba 3.
Andrew B., I assume this is just a bug in the test. Assuming recycled fnums
might be true on Windows and Samba 4, but I don't think we should assume this
everywhere.
Volker
(This used to be commit a4c3a59d47
)
2008-07-19 12:47:31 +02:00
Andrew Bartlett
853194c308
More 'must be ignored' options from the MS-SMB doc.
...
Also in particular the 'sync' flags (which Samba has traditionally
ignored).
Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out
more flags that needed to be handled.
Andrew Bartlett
(This used to be commit 370bb39cd7
)
2008-07-18 18:40:19 +10:00
Stefan Metzmacher
29049aa670
drsuapi: print out the number of linked attribute values we got
...
metze
(This used to be commit 34f8b2abdd
)
2008-07-16 14:42:12 +02:00
Stefan Metzmacher
f0e44c35af
drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]
...
metze
(This used to be commit 35c7fa470a
)
2008-07-16 14:42:11 +02:00
Stefan Metzmacher
a24fb2b537
drsuapi: get ctr6 out of xpress compressed level
...
metze
(This used to be commit 4e0708148a
)
2008-07-16 14:42:06 +02:00
Stefan Metzmacher
c6ea7f0221
drsuapi: total_object_count was the wrong guess
...
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong
it's the error code of an extended operation.
DsGetNCChangesCtr6 has a nc_object_count value which contains
the estimated amount of objects in the naming_context.
W2k seems to have a bug and sends this number of objects
in the extended_ret field. Maybe it's just a bug and
not a feature:-)
metze
(This used to be commit 6793109212
)
2008-07-16 12:16:58 +02:00
Stefan Metzmacher
dfb1ba3d9e
NET-API-BECOME-DC: fix crash bugs because of unintialized variables
...
metze
(This used to be commit 6acf42c2e4
)
2008-07-16 12:12:29 +02:00
Andrew Bartlett
e92125e631
Ignore and handle more NT Create & X options.
...
The MS-SMB document explains that some of these options should be
ignored. The test proves it.
/* Must be ignored by the server, per MS-SMB 2.2.8 */
/* Must be ignored by the server, per MS-SMB 2.2.8 */
If we implement HSM in samba4 (likely) we should honour this bit.
/* Don't pull this file off tape in a HSM system */
Andrew Bartlett
(This used to be commit 502739ff90
)
2008-07-16 14:00:18 +10:00
Stefan Metzmacher
bbbe06fb09
torture: .in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit ba8499867a
)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
4af2de3f03
rap: trans->in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit 66e0c1754f
)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
c88ec856bd
drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
...
metze
(This used to be commit d41b3dd6ff
)
2008-06-30 17:40:01 +02:00
Simo Sorce
2daf2897d5
Use a custom init function for samba4 that sets a samba4
...
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308
)
2008-06-14 13:00:53 -04:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca3
)
2008-06-14 11:59:19 -04:00
Andrew Tridgell
5d5c8a09f0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 8e96f2edb0
)
2008-06-06 22:11:00 -07:00
Andrew Tridgell
8e45338c8d
handle NULL fields in blob comparison
...
(This used to be commit 0643b5a2bf
)
2008-06-06 10:54:17 -07:00
Jelmer Vernooij
d51904c489
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit dcdfee611c
)
2008-06-05 22:03:17 +02:00
Jelmer Vernooij
d05ca8cbba
Add convenience function for creating nbt sockets in torture.
...
(This used to be commit 1e6bfb1aa7
)
2008-06-05 22:02:41 +02:00
Andrew Tridgell
c6cc3cb88e
another SMB2-LOCK fix now that we know that the UNLOCK flag is only
...
honoured on the first lock in a set
(This used to be commit c014ffabc6
)
2008-06-04 17:52:13 -07:00
Andrew Tridgell
93d6332e7e
fixed SMB2-LOCK test for new semantics (from docs)
...
(This used to be commit d4d4d62939
)
2008-06-04 13:04:48 -07:00
Andrew Tridgell
bc8c2a50e8
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit d206517f90
)
2008-06-04 09:25:16 -07:00
Stefan Metzmacher
8699913858
lib/crypto: remove unused sha1 and hmac-sha1 code
...
metze
(This used to be commit 2c8904be3b
)
2008-06-04 09:12:24 +02:00
Andrew Tridgell
70219bee13
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 9d74201e46
)
2008-06-03 15:11:42 -07:00
Stefan Metzmacher
6610a6c49a
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
...
metze
(This used to be commit fde9880f99
)
2008-06-03 14:03:49 +02:00
Stefan Metzmacher
fb4c9dd5eb
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
...
metze
(This used to be commit 9c004df891
)
2008-06-03 11:17:17 +02:00
Andrew Tridgell
405e64c437
more updates for new info levels
...
(This used to be commit 85d1873ee9
)
2008-06-02 11:05:06 +10:00
Andrew Tridgell
fa327874bb
remove a pstring
...
(This used to be commit 12ecd7f4b8
)
2008-06-02 11:04:46 +10:00
Andrew Tridgell
e7b30f023b
remove unused macros
...
(This used to be commit 7a1877db15
)
2008-06-02 11:04:36 +10:00
Andrew Tridgell
eb8634b2f0
check for requested buffer size in getinfo call
...
(This used to be commit ed8f16379d
)
2008-05-31 13:39:51 +10:00
Andrew Tridgell
57b7b0fcf6
more useful output in scan
...
(This used to be commit 70569a78cf
)
2008-05-31 13:39:34 +10:00
Andrew Bartlett
be14efbdf9
Revert Jelmer's CFLAGS commit e2b71a0ecb
...
This commit broke the build, because not all files (libreplace, popt)
were updated.
Andrew Bartlett
(This used to be commit 3faacf4351
)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
5107f093c2
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
...
Conflicts:
source/samba4-skip
(This used to be commit 7b0e0eb346
)
2008-05-30 12:18:07 +02:00
Andrew Tridgell
beaa01e403
implemented client side SMB2 signing
...
This doessn't work against Windows yet, and I've submitted a WSPP
request for clarification of the docs to try and find out
why. Meanwhile this is no worse than what we had, as it only gets used
when the server demands signing, and we didn't work then anyway.
(This used to be commit b788096add
)
2008-05-30 17:03:54 +10:00
Jelmer Vernooij
39f50afc57
Move CFLAGS handling out of smb_build.
...
(This used to be commit e2b71a0ecb
)
2008-05-30 02:07:28 +02:00
Andrew Tridgell
b33dba845e
don't emulate broken SMB2 locking behaviour from windows
...
(This used to be commit c50e7a15f9
)
2008-05-30 07:28:29 +10:00
Andrew Tridgell
8eef2e3412
merged gentest.c and gentest_smb2.c
...
The one gentest tool now covers both SMB and SMB2, using the command
line switch --smb2 for SMB2
(This used to be commit d1125a303a
)
2008-05-29 21:32:08 +10:00
Andrew Tridgell
523a0fccf3
check maximal_access here too
...
(This used to be commit 8159b1598e
)
2008-05-29 19:30:11 +10:00
Andrew Tridgell
215fd9764f
test the maximal access return
...
(This used to be commit 23ffec5d14
)
2008-05-29 19:16:44 +10:00
Andrew Tridgell
c793faf998
check the set of file attributes which are ignored
...
(This used to be commit c818f56d8e
)
2008-05-28 22:44:54 +10:00
Andrew Tridgell
70eb8d54ae
fixed current_op.mismatch for more cases
...
(This used to be commit 8a2a31d050
)
2008-05-28 22:44:35 +10:00
Andrew Tridgell
dfdfe06dc1
added --noacls options and checking for same mismatch in backtracking
...
(This used to be commit c7d2e1bf65
)
2008-05-28 21:49:04 +10:00
Andrew Tridgell
1eabf81554
check that we can't change a file to a directory
...
(This used to be commit e013ada415
)
2008-05-28 20:06:48 +10:00
Andrew Tridgell
f7bf79043e
added testing of some strange read semantics on windows
...
(This used to be commit 46a0b65742
)
2008-05-28 20:06:38 +10:00
Andrew Tridgell
e814586bdd
generate security descriptors in gentest_smb2
...
(This used to be commit 5ca7e9590e
)
2008-05-28 20:06:22 +10:00
Andrew Tridgell
91069754f8
add testing of creating a file with an initial ACL on SMB2
...
(This used to be commit e957e86a03
)
2008-05-28 18:48:23 +10:00
Andrew Tridgell
0eb4ecc81a
test unknown tags and bad tag lengths
...
(This used to be commit 72902c1d0f
)
2008-05-28 16:59:12 +10:00
Andrew Tridgell
669c528611
added some of the new SMB2 create tags to gentest_smb2
...
(This used to be commit b3f6385816
)
2008-05-28 16:58:57 +10:00
Andrew Tridgell
082272e49d
added testing of SMB2 create blobs
...
(This used to be commit a48cbec6b9
)
2008-05-28 16:28:50 +10:00
Andrew Tridgell
275e057bea
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit ecb0e5477a
)
2008-05-28 12:07:20 +10:00
Andrew Tridgell
0dbef08a9a
expanded the SMB2-READ test, including the windows position bug
...
(This used to be commit 43e7b13027
)
2008-05-28 12:06:29 +10:00
Andrew Tridgell
17704a8df6
add exceptions for some of the strange windows SMB2 locking behaviour
...
(This used to be commit 429bbecebe
)
2008-05-28 12:05:23 +10:00
Andrew Tridgell
bbcbada5e4
added --valid option to gentest_smb2
...
(This used to be commit 91765946b0
)
2008-05-28 11:48:54 +10:00
Andrew Tridgell
d5fe193b15
added --skip-cleanup to gentest
...
(This used to be commit 0bc3de0cc4
)
2008-05-28 11:48:39 +10:00
Jelmer Vernooij
936b973acb
Use new dynconfig.h location.
...
(This used to be commit c3f556915f
)
2008-05-27 14:36:28 +02:00
Andrew Tridgell
6cdfbd8380
fixed uninitialised variable
...
(This used to be commit 8d2e20fcb9
)
2008-05-27 20:16:00 +10:00
Andrew Tridgell
ed3a095a5a
fixed file_attributes test
...
(This used to be commit 791ce0fe39
)
2008-05-27 19:10:35 +10:00
Andrew Tridgell
4f0d968d1d
added a basic SMB2 read test suite
...
(This used to be commit 4aeda5c114
)
2008-05-27 18:20:04 +10:00
Andrew Tridgell
a75d5075ea
re-enable some tests
...
(This used to be commit c15b24a2f4
)
2008-05-27 18:19:22 +10:00
Andrew Tridgell
beac55a88f
enforce lock ordering in SMB2
...
(This used to be commit 3bec932a89
)
2008-05-27 17:22:02 +10:00
Andrew Tridgell
c400933c02
added some SMB2 locking tests from gentest
...
(This used to be commit 2932fcb046
)
2008-05-27 16:02:43 +10:00
Andrew Tridgell
7ae464b548
another gentest derived test
...
(This used to be commit bb546ab377
)
2008-05-27 15:00:05 +10:00
Andrew Tridgell
6e265867ff
SEC_STD_SYNCHRONIZE is only invalid on SMB2
...
(This used to be commit 067f1271ad
)
2008-05-27 14:30:42 +10:00
Andrew Tridgell
95afe46a0e
expanded the SMB2 create testing
...
(This used to be commit 7191512849
)
2008-05-27 14:07:27 +10:00
Andrew Tridgell
892712e4e7
cleanup some warnings and add --skip-cleanup
...
(This used to be commit c73dd078ea
)
2008-05-27 12:43:10 +10:00
Andrew Tridgell
0d8d6dbfd7
the start of a SMB2 create test suite
...
(This used to be commit 16787e99f3
)
2008-05-27 12:41:50 +10:00
Andrew Tridgell
98e72f574a
remove temporary test code
...
(This used to be commit 8995c2f121
)
2008-05-26 15:03:51 +10:00
Andrew Tridgell
cf4899cf4c
check use of mincnt past EOF in SMB
...
(This used to be commit 763c9d344f
)
2008-05-26 15:00:56 +10:00
Jelmer Vernooij
72251a1b7a
Include test case name when reporting with subunit. This should make it possible to having a test fail against some test cases and success against other ones.
...
(This used to be commit 0af138a85b
)
2008-05-23 16:19:00 +02:00
Stefan Metzmacher
2f653e814a
RAW-STREAMS: better test the bahavior of streams on directories
...
Note: this has a samba3 specific code path, which we should fixed.
metze
(This used to be commit 5c5c866838
)
2008-05-23 09:55:16 +02:00
Andrew Tridgell
1ea0466289
added a --noeas option to gentest_smb2
...
(This used to be commit 9d523debb7
)
2008-05-22 22:46:43 +10:00
Andrew Tridgell
af82204f43
added testing of SMB2 setfileinfo in gentest_smb2
...
(This used to be commit c38658c6c0
)
2008-05-22 15:44:13 +10:00
Andrew Tridgell
80527a0c68
added EAs in the generated SMB2 create operation
...
(This used to be commit 607bf6a946
)
2008-05-22 15:35:52 +10:00
Andrew Tridgell
ae629621da
added --maskindexing and qfileinfo testing
...
- added --maskindexing to mask the 0x2000 noindex bit in file
attributes
- added testing of qfileinfo in gentest_smb2
(This used to be commit 3883a7286f
)
2008-05-22 14:51:32 +10:00
Andrew Tridgell
61e78a2c61
minor cleanup in SMB2 getinfo test
...
(This used to be commit b139b47107
)
2008-05-22 14:50:36 +10:00
Andrew Tridgell
8f599b3781
added SMB2 gentest generation of SMB2 echo packets
...
(This used to be commit 8f7cfa5d2e
)
2008-05-22 13:43:04 +10:00
Andrew Tridgell
7ba8dca590
fixes to the SMB2 lock test after recent SMB2 locking changes
...
(This used to be commit de7626e1c2
)
2008-05-22 13:14:36 +10:00
Andrew Tridgell
aed93a238e
fixed SMB2 flush call, and added flush to gentest_smb2
...
(This used to be commit c52fe1fe1c
)
2008-05-21 22:51:21 +10:00
Andrew Tridgell
4d39976ddd
fixed SMB2 locking
...
- SMB2 locking is different in several ways from SMB locking. To fix
it properly we will need a new generic mapping structure for
locking, but for now do a best effort mapping
- added locking to gentest_smb2
(This used to be commit ea6d9cf602
)
2008-05-21 22:12:20 +10:00
Andrew Bartlett
59105620dc
Correct an assertion in the testsuite.
...
Andrew Bartlett
(This used to be commit c3eeae2ea6
)
2008-05-21 14:49:47 +10:00
Andrew Bartlett
52a3c96a89
Extend the NBT-DGRAM torture test again.
...
Andrew Bartlett
(This used to be commit f415484640
)
2008-05-21 14:28:17 +10:00
Andrew Bartlett
f67156fc92
Extend the 'netlogon' CLDAP and NBT implementation.
...
This now handles checking if the user exists, including validating the
ACB mask on the user.
This would be a nasty security hole, if Kerberos did not already
expose this information anonymously...
Andrew Bartlett
(This used to be commit 441b286c00
)
2008-05-21 12:37:36 +10:00
James Peach
9a975a868e
smbtorture: Add RAW-BENCH-TCON benchmark.
...
Add a simple test to benchmark the rate at which a server can accept
new tree connections. You can tune the length of time to run the
benchmark for and the number of parallel connections to make.
(This used to be commit ea3f4b9305
)
2008-05-20 11:35:32 -07:00
Volker Lendecke
276fa76fa9
Change wks password in rpc-bench-schannel1
...
Prove that a workstation password change does not affect existing schannel
connections
(This used to be commit f72dc52ccc
)
2008-05-20 13:06:05 +02:00
Andrew Tridgell
cd167fd44b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e360be0b99
)
2008-05-20 15:35:49 +10:00
Andrew Tridgell
5ca6f42510
added read and write handlers. Fixed --analyse
...
(This used to be commit c05ed7bb9a
)
2008-05-20 15:16:53 +10:00
Andrew Tridgell
430f4ef666
specify which server failed to deltree
...
(This used to be commit aa9108374f
)
2008-05-20 13:37:40 +10:00
Andrew Tridgell
fc267b0510
first version of gentest_smb2. Only generates create and close so far.
...
(This used to be commit 634a4bbd98
)
2008-05-20 11:59:43 +10:00
Andrew Tridgell
f8f0cc985b
moved these util functions into libcli
...
(This used to be commit b2f1154bc3
)
2008-05-20 11:59:18 +10:00
Andrew Bartlett
aa90730e0c
Revert addition of 'mailslot' parameter.
...
It turns out that the mailslot name (and a useful private prointer) is
provided in the struct dgram_mailslot_handler.
Andrew Bartlett
(This used to be commit e17804b885
)
2008-05-20 11:54:50 +10:00
Andrew Tridgell
9551d4027d
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit ffbd222d65
)
2008-05-20 11:37:23 +10:00
Andrew Bartlett
343fea32cc
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
Fix config.mk due to changing syntax.
Conflicts:
source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f
)
2008-05-20 08:03:35 +10:00
Andrew Tridgell
03eb236f20
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit 733937e87a
)
2008-05-19 11:40:25 +10:00
Andrew Tridgell
66cbf7eb59
added mkdir to SMB2 proxy
...
(This used to be commit 1323aab11f
)
2008-05-19 11:39:16 +10:00
Jelmer Vernooij
32dfdae009
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
...
(This used to be commit 8328ff7641
)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
60ae8f0657
Fix a bunch of dependencies.
...
(This used to be commit a63f458462
)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f
)
2008-05-18 19:54:27 +02:00
Andrew Bartlett
d975cd9d8c
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 60579269d1
)
2008-05-17 21:16:22 +10:00
Andrew Bartlett
24264e9acb
Modify the LDAP-CLDAP test for better coverage.
...
This fixes up some compiled in constants and checks a couple more NT
versions.
Andrew Bartlett
(This used to be commit ca1b3fe3ad
)
2008-05-17 20:52:23 +10:00
Andrew Bartlett
4f557d7954
Show that the NTLOGON and NETLOGON mailslots are *very* similar.
...
Rework the mailslot infrustructure to cope, passing down the mailslot
name so that we can implement both in the same callback function.
Andrew Bartlett
(This used to be commit 89fdd77891
)
2008-05-17 13:24:29 +10:00
Andrew Bartlett
ceb2e20f7d
Test the use of the domain SID on the NETLOGON mailslot
...
Interestingly, despite these packets being very similar, this fails on
NTLOGON - no reply is received.
Andrew Bartlett
(This used to be commit 25ab0ad0a0
)
2008-05-17 12:39:38 +10:00
Volker Lendecke
54e4fa66d4
Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=true
...
(This used to be commit fc3bc3c4a8
)
2008-05-16 15:54:10 +02:00
Volker Lendecke
12df140671
Fix two C++ warnings
...
(This used to be commit f75f95931c
)
2008-05-16 15:54:04 +02:00
Stefan Metzmacher
7350ddeabf
torture: add RPC-BENCH-SCHANNEL1 test
...
This tests SamLogonEx() calls on multiple (smb) connections
in parallel. Sadly the smb connect needs to be serialized
because of the reset on zero VC style behavior of windows.
Call it like this:
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL
or
bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \
--option="torture:nprocs=4" --option="torture:timelimit=1" \
--extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret
or ...
Later we should add more tests, maybe using only one smb connection
and different netlogon pipes.
We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one
rpc connection.
DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/
metze
(This used to be commit 901426c24c
)
2008-05-16 15:53:49 +02:00
Volker Lendecke
ef6fd2d46d
In torture_leave_domain, say what account was deleted
...
(This used to be commit a9a0f24f72
)
2008-05-16 15:40:29 +02:00
Andrew Tridgell
c7d7577fb9
private -> private_data for struct smb2_request
...
(This used to be commit 67290e0ad6
)
2008-05-16 15:03:58 +10:00
Andrew Bartlett
58e7f253ea
Rework the CLDAP and NBT netlogon requests and responses.
...
This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows. There is still more testing
to do, and the server implementation to complete.
Andrew Bartlett
(This used to be commit 431d0c0396
)
2008-05-16 13:03:01 +10:00
Jelmer Vernooij
670122d724
Fix torture module initializion.
...
(This used to be commit d5bf4e9065
)
2008-05-10 23:46:51 +02:00
Jelmer Vernooij
08ad86ad3d
Revert "Remove copy of torture file."
...
This reverts commit 89bfca2da2
.
(This used to be commit c6c4349c44
)
2008-05-10 23:38:56 +02:00
Jelmer Vernooij
d1183291d3
Remove copy of torture file.
...
(This used to be commit 89bfca2da2
)
2008-05-10 22:26:14 +02:00
Jelmer Vernooij
7b45a4d7fa
Merge branch 'v4-0-test' into v4-0-gmake3
...
Conflicts:
source/auth/config.mk
source/auth/gensec/config.mk
source/torture/smbtorture.c
(This used to be commit edfd02e59b
)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
d0096e90ba
Fix installation of pidl perl files, torture pc file.
...
(This used to be commit 32da606e37
)
2008-05-10 00:46:25 +02:00
Michael Adam
42059c7e76
torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
...
Michael
(This used to be commit 334d76c355
)
2008-05-06 15:27:33 +02:00
Tiago Batista
674d089bea
Tiago Batista posted a patch to fix the build:
...
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.
Andrew Bartlett
(This used to be commit 95831a015a
)
2008-05-06 08:12:03 +10:00
Jelmer Vernooij
aedaba990f
Split up lcov target.
...
(This used to be commit 38f455e005
)
2008-04-27 23:29:50 +01:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
cc9c4aaa8d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/Makefile
source/auth/config.mk
source/auth/gensec/config.mk
source/build/m4/public.m4
source/build/make/python.mk
source/build/make/rules.mk
source/build/smb_build/header.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/config.mk
source/kdc/config.mk
source/lib/events/config.mk
source/lib/events/events.c
source/lib/ldb/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/util/config.mk
source/libcli/smb2/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/ntptr/ntptr_base.c
source/ntvfs/posix/config.mk
source/ntvfs/sysdep/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/rpc_server/service_rpc.c
source/scripting/ejs/config.mk
source/scripting/python/config.mk
source/smb_server/config.mk
source/smbd/server.c
source/torture/config.mk
source/torture/smb2/config.mk
source/wrepl_server/config.mk
(This used to be commit 13bbd42068
)
2008-04-25 10:04:20 +01:00
Kai Blin
240d959005
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
...
(This used to be commit 5f3a70f285
)
2008-04-24 11:17:23 +02:00
Simo Sorce
7f464f0628
Fix more failing tests to pass the event context.
...
(This used to be commit d6c5d8baf0
)
2008-04-22 16:40:44 -04:00
Simo Sorce
c8eb82816f
Fix build
...
(This used to be commit c16d1d430a
)
2008-04-21 19:53:15 -04:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
James Peach
8a3e3391fb
smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
...
This test samples the lookup rate for a non-existant filename in a
directory, while varying the number of files in the directory. The
lookup rate should continue to approximate the lookup rate for the
empty directory case.
(This used to be commit ca7e4d9166
)
2008-04-21 15:09:43 -07:00
Stefan Metzmacher
f0eb488d22
SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
...
This means we no longer have a oplock break timing out
for the "delete".
metze
(This used to be commit 50f6a72b67
)
2008-04-19 02:06:44 +02:00