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

2414 Commits

Author SHA1 Message Date
Andrew Bartlett
c74ad3546c r23365: Try to make Windows Vista join again. On my new test environment, it
wants to check for an existing domain join account, and fails.  This
test shows that we need to return NT_STATUS_NONE_MAPPED when nothing
matches.  (not yet tested if this helps vista).

Andrew Bartlett
(This used to be commit 7f3671bf11cab36a5c795d7db86f85081b73bc71)
2007-10-10 14:53:12 -05:00
Günther Deschner
adf23c651b r23240: Fill in netr_DsrGetDcSiteCoverageW.
Guenther
(This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)
2007-10-10 14:53:06 -05:00
Günther Deschner
4d1a21f24d r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
(This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)
2007-10-10 14:53:06 -05:00
Jim McDonough
0ab01a99a8 r23231: Fix make test on build farm for 64-bit hosts. There's no reason this should
be any different for 64-bit hosts, but we probably are lucking out on other
fields here as well.  The "fields_present" field shouldn't just be copied
from usrmgr traces, because it indicates which fields should be set, and
in this case, we were setting the kickoff time (NOT the expired time) to some
random date.
(This used to be commit 69270178e5b5b069cc7bcd04d04cf8ec29512da2)
2007-10-10 14:53:04 -05:00
Andrew Tridgell
95a3ca53e5 r23182: fixed valgrind error
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
aeac4f4800 r23181: prevent attempts to reopen the connection twice at the same time
(This used to be commit a25c27dbae4534f2125001c16ac9ae0b67c519cb)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
9b95f57530 r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT
(This used to be commit 32a6c268a7963382dc05f53783ac22f7fd0de429)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
12d9b33ed6 r23152: fixed some async retry issues in openbench
(This used to be commit 08eeaff0799051c3046a1101943b74d634828f6e)
2007-10-10 14:52:58 -05:00
Stefan Metzmacher
e3408e6160 r23144: splitup RAW-OPLOCK into small units
metze
(This used to be commit 0cfe152cb143165b908ef023a06c4107efbdecb9)
2007-10-10 14:52:57 -05:00
Andrew Tridgell
d142f4b0f2 r23143: error found by valgrind
(This used to be commit 268a26131ee43a673e7b79a359b2575dcef554d5)
2007-10-10 14:52:56 -05:00
Andrew Tridgell
a085d682e6 r23142: added error checking and reconnect on echo replies
(This used to be commit 0d47efe6d6d1738183c59942a077faaf1c77f004)
2007-10-10 14:52:56 -05:00
Andrew Tridgell
d79225c94a r23140: send send echos while disconnected
(This used to be commit 233172a9f71e297e255c393946ad51fad96b356e)
2007-10-10 14:52:55 -05:00
Andrew Tridgell
18a4d22880 r23139: use echo operations once a second in lockbench and openbench to ensure
we detect IP takeover on servers
(This used to be commit b5292a25edf1c071dea19877fb6b31f2501132ef)
2007-10-10 14:52:55 -05:00
Günther Deschner
d875b7d620 r23129: Merge from 3_0:
* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags
* the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags

Guenther
(This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b)
2007-10-10 14:52:52 -05:00
Jeremy Allison
45afb4fdb0 r23104: Add comment explaining the new test.
Jeremy.
(This used to be commit 7b9b5c59a4ac2afca151ba12eba7c808057a677e)
2007-10-10 14:52:49 -05:00
Jeremy Allison
6223ae4015 r23103: Add a torture test for the insane semantics Steve's cifsfs client
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c5413bb9f15d1c47a095f63d7f167e0)
2007-10-10 14:52:49 -05:00
Jeremy Allison
2087e1ce6a r23099: New interesting delete on close tests :-).
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c8f6f7e50d038d093898a1f4280be23)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
a2a49c5af7 r23090: a test showing two netlogon pipes open at once, using the LogonEx ops
(This used to be commit 576dbdc8eece5c2fef743835c7cc255f02050ad3)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
3527a578ba r23066: don't ignore errors
metze
(This used to be commit 1a1a339d48af535d60a37b6c646e3e6ca95d41b5)
2007-10-10 14:52:47 -05:00
Andrew Tridgell
5bb0dcd051 r23062: make sure one node doesn't get ahead of the others at the start
(This used to be commit 6ab736f5308aabec609408cef9e4c3629081dd75)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
9e1c88897c r23061: keep the RAW-BENCH-OPEN test balanced
(This used to be commit 453d6f5c58ef60599894749a513d45f1bf5f1c4e)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
4378af38ec r23056: added automatic reconnect to RAW-BENCH-OPEN, similar to RAW-BENCH-LOCK
(This used to be commit 30b1733d75a5f309441818be9718c0434b984f42)
2007-10-10 14:52:45 -05:00
Andrew Tridgell
fcd4f22cd6 r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
042ddf28ec r23029: fixed formatting
(This used to be commit 72ee4707725e9bbc9ab564315c7d78bdc564256f)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
df5f675d2a r22983: This should ensure that torture_create_testuser() can be called,
without needing to change the user's password afterwoulds.

(Accounts were being created with 'must change at next login' set).

Andrew Bartlett
(This used to be commit 7b94f2f6dbb7780fb12c8fad5e2ea6e07e72b24e)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
da9b4626bc r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We should
always get balanced locking now
(This used to be commit 4e6df7b9b1938b91a904ab061c36d65b169f93a8)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
e9eb862dc0 r22962: show progress separately for each client in RAW-BENCH-LOCK, this is
much more useful for seeing why we get unbalanced locking
(This used to be commit 1f1f57023b6d7d7d4938803e57f30e485ccba719)
2007-10-10 14:52:32 -05:00
Stefan Metzmacher
40cd2d7780 r22944: fix bug #4618:
rename private -> private_data

metze
(This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
d15e4d30e6 r22894: don't send a 2nd request before the last one returned (at least with
STATUS_PENDING) otherwise longhorn beta3 just drops the connection

metze
(This used to be commit 503644a5e3b005e0660aca33a880de8d87d0d8aa)
2007-10-10 14:52:29 -05:00
Volker Lendecke
e1e759585e r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
(This used to be commit 0c7a518b2dad83dc78f3e3058fd8e1267d0e928f)
2007-10-10 14:52:29 -05:00
Andrew Bartlett
61e5856403 r22883: Indentation.
(This used to be commit 7548da913d56e3420c686a7d3a924c5f987a3eb1)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
3173a3cee6 r22881: show number of connected clients
(This used to be commit 42f6c5106ea4d0e35f88e0c9523cbd13206fecb5)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
2e11a2b601 r22876: - try to reconnect once per second, not continously
- patch from ronnie to fix the lock offset on reconnect
(This used to be commit 77d7ca5590bfc416a2526bc8833158df4e9d7810)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
3a88c56346 r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
This should help with Vista joins.

Andrew Bartlett
(This used to be commit 8f85fb37862044d4b618e4184274bc67432af73b)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
d307c116c8 r22873: Make the RAW-QFILEINFO-IPC test pass against Win2k3.
Next step is working on Samba4's IPC ntvfs module.

Andrew Bartlett
(This used to be commit aca0250492144a8f582fee8459c83b17391f9471)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
5151068d5a r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
  and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED

metze
(This used to be commit 258555975d3877cff3bc3022f3439cdd61f6c8ac)
2007-10-10 14:52:24 -05:00
Andrew Bartlett
8861c4a68e r22838: Add in an explority test for what QFSINFO operations are valid on IPC$
It seems most opertaions are supported, but that the values are not
consistant.  I think these are very much hand-hacked stubs, which is
what they will be on Samba4 too.

I'll need to add some more 'don't fail for...' hacks before this
passes against Win2k3.

Andrew Bartlett
(This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
0f6b62072e r22837: make RAW-BENCH-LOCK reconnect asynchronously when one of its servers
goges away
(This used to be commit cf0cdf5171d4e0ca01b697155ceb04ffc2863231)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
ba0424fddb r22836: started adding auto-reconnect logic to lockbench. This needs to be
made async.
(This used to be commit 9e1ea3e09c80adb0b9809ee83e0c7b1ec9156e42)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
7df266a4f8 r22835: it's useful to see how much time is remaining in this test (so we can
tell if failures are due to the cleanup code)
(This used to be commit a4ff1927d452dce93403c456ea9ba3a6b4332f5c)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
af0ba915f5 r22834: fixed a memory leak in the torture_open_connection() code, and removed
the duplicate handling of the unclist. This now exposes a function
torture_get_conn_index() which can be used by tests to work out which
host to talk to using the unclist. I will be using that as part of a
set of tests for clustered Samba that need to do auto-reconnect (to
allow testing of cluster node failure)
(This used to be commit b505c176a8d90e406fbf9a94840267d1d9dc34c6)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
bb2571cb90 r22833: use EVENT_FD_AUTOCLOSE in our event test suite
(This used to be commit 9109d43595ce0a5e4b58df659f745da081ce5f4d)
2007-10-10 14:52:22 -05:00
Stefan Metzmacher
4bb3160555 r22824: - add a simple test which shows how a lock rejects
a write on a different file handle.
  SMB2-LOCK-BLOCK-WRITE

- make it possible to run each SMB2-LOCK-* test on its own

metze
(This used to be commit 9c02f690bc07ebf99cb272e255a24d7061d8e730)
2007-10-10 14:52:20 -05:00
Andrew Tridgell
5c0963acc3 r22813: improve error messages in RAW-NOTIFY test
(This used to be commit f5b2011db9b05fcca82f6a6b3976aa1b4924b0a8)
2007-10-10 14:52:20 -05:00
Rafal Szczesniak
a4e4ff9273 r22810: when a test runs against domain controller use domain name
instead of target host name specified in binding string.

metze: this fixes the problem with passing name resolution
down the socket wrapper calls. NET tests now run against
$SERVER flawlessly.

rafal
(This used to be commit 44eacd8654a26dbd473050705f28966ce08ccd70)
2007-10-10 14:52:19 -05:00
Andrew Bartlett
112728c651 r22756: Make it easier to setup an LDAP replica. Provision with
--partitions-only (suggestions for a better name welcome) will setup
the partitions records, but no any data in those partitions.  This can
then point at the already configured remote LDAP server.

Andrew Bartlett
(This used to be commit ee7b06fc832ca7c572205c7c268c3c7c552effa0)
2007-10-10 14:52:15 -05:00
Volker Lendecke
be7eb080fe r22680: Fix a talloc ctx name
(This used to be commit 3c46831f66136896b6b15c351442684ed20730d6)
2007-10-10 14:52:00 -05:00
Andrew Tridgell
5f475b80ee r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes)
(This used to be commit 12ce85aea16379b9946851806c1782272ee1c48f)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
c5693fc49d r22580: remove not yet needed line...
metze
(This used to be commit 57939600ee954c7510d8219200d3c759fbb69372)
2007-10-10 14:51:47 -05:00