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

1005 Commits

Author SHA1 Message Date
Günther Deschner
38af1b1c05 r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.
Guenther
(This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)
2007-10-10 14:53:15 -05:00
Günther Deschner
8d9e0d5323 r23385: Adding netr_DsRGetForestTrustInformation() test to query transitive forest
trusts as well as our primary domain.

Guenther
(This used to be commit 7b19df13a4885fefc38cd73a9c46ee897ffa79ae)
2007-10-10 14:53:14 -05:00
Günther Deschner
09a82db7ba r23383: Query transitive forest trust info in LSA torture test once we see such trusts.
Guenther
(This used to be commit eaa17d5a8ff25ff96b3b6b71dab0effbeeb9b683)
2007-10-10 14:53:14 -05:00
Günther Deschner
eb9ae52981 r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10 14:53:13 -05:00
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
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
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
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
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
Volker Lendecke
be7eb080fe r22680: Fix a talloc ctx name
(This used to be commit 3c46831f66136896b6b15c351442684ed20730d6)
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
Stefan Metzmacher
628ff1bea3 r22579: disable progress printing in the build-farm
metze
(This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10 14:51:47 -05:00
Stefan Metzmacher
5a616802ff r22538: same day late at night in au...:-)
fix the strcasecmp_m() returns 0 for a match

also use the correct array element to fill priv->dcinfo

the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"

metze
(This used to be commit 25fffe385ea039ae19f25730cba6c7ea8684860b)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
f66bd1ae54 r22486: add a flag to ignore timeouts of a request and don't close
the connection on timeout

metze
(This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)
2007-10-10 14:51:32 -05:00
Andrew Bartlett
ca33b7e675 r22443: It isn't fatal to get the case wrong on this stuff.
Andrew Bartlett
(This used to be commit 55639277b2be2f249173f64d51ac87d176e53449)
2007-10-10 14:51:21 -05:00
Stefan Metzmacher
4194a55726 r22396: remove unused vars
metze
(This used to be commit ff3ad7e5db64a27ec95475c40be094c7d69ae008)
2007-10-10 14:51:13 -05:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10 14:51:06 -05:00
Stefan Metzmacher
3dc258faa7 r22201: crash fix...
metze
(This used to be commit 60799d171fa12debe61164b467e55a9e08485e28)
2007-10-10 14:50:37 -05:00
Stefan Metzmacher
c0bcbd448c r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
to the new torture ui functions

metze
(This used to be commit 94a5f1568d8307e1cb55df7d73cfea9ce1037238)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
9407f3d0a6 r22194: fix compiler warning and
compile in but disable NetShareAddSetDel test

metze
(This used to be commit 1091f00ce0d731568d7f2acbc6e43f87de90baa0)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
d57326a476 r22193: fix compiler warning and formating
metze
(This used to be commit b050fe9e0bf6100ef786ac38b192aaa26229d300)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
537e773892 r22192: fix compiler warnings
ClearEventLog test is compiled in but disabled now

metze
(This used to be commit 19fb09970a7bb1c52e616ae9402ea843139a5414)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
52cf4bd0e1 r22190: fix compiler warnings and remove unused talloc_reference()
metze
(This used to be commit 60145f3c5bca2227efd8de9ebfe35f536fbbd860)
2007-10-10 14:50:01 -05:00
Andrew Bartlett
ca3e134c8b r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett
(This used to be commit 99786cbaa942450c8970f5f14fbce931ab3e98ed)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
d0179f164a r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett
(This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
270248ac02 r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett
(This used to be commit cb2e4ca220ca03cd1893e7f6c18de0ab181817b8)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
98fda45351 r22116: Only query by SID if we have a SID
Andrew Bartlett
(This used to be commit 018939a8fd224f5aa404f08ec94ac49a7b43d7ec)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
e936efb26f r22086: Bail out early on some of these failures.
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
690df3ccd9 r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
40c2da7e89 r21943: don't send unitialized data
metze
(This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
37f2d53528 r21827: move comments to the place where the functionality is implemented
metze
(This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
31c674bffc r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)
2007-10-10 14:49:31 -05:00
Andrew Bartlett
aeaa440932 r21727: Walk some more of the error branches in the ChangePasswordUser server.
Andrew
(This used to be commit c1ee06703ac09708a8ff10a641b593362f1bd309)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
3e1dd63927 r21719: Try to cover more of the server-side password processing.
Don't just exit the test with 'return True', actually process the result.

Turn off password complexity checking for the password length test.

Andrew Bartlett
(This used to be commit 1a7635baa701c6268eebd84dd0dc187379c44e6e)
2007-10-10 14:49:17 -05:00
Andrew Bartlett
0a1fefe539 r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
this incorrect argument.

This also fixes the server-side valgrind issue, but we need to chase
down the real issue.

Andrew Bartlett
(This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
099a3a7f52 r21697: Try to cover the 'bad session key' codepaths too.
Andrew Bartlett
(This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)
2007-10-10 14:49:14 -05:00
Andrew Bartlett
6bca66d7d1 r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
routines for which we don't have any tests.

Andrew Bartlett
(This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
2007-10-10 14:49:14 -05:00
Jelmer Vernooij
1d75e907e2 r21694: Some more testing updates.
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10 14:49:13 -05:00
Andrew Bartlett
0a28fbae1b r21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test to
make things easier to keep working.

Andrew Bartlett
(This used to be commit 16db4c1436725e41ea05628f20fc9396d7bd7eaa)
2007-10-10 14:49:13 -05:00
James Peach
fcaeedeff3 r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add
convenience API to create an anonymous credential. Don't clobber
cmdline_credentials in the UNIX-WHOAMI test.
(This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10 14:49:07 -05:00
Stefan Metzmacher
b1a80dcec0 r21590: add RPC-HANDLES-MIXED-SHARED test, which shows that
assoc_groups are shared between idl-interfaces and connections.

But you can't close a samr policy handle on a lsa pipe.

add RPC-HANDLES-RANDOM-ASSOC test, which shows that
you can't bind with an invalid assoc_group_id

metze
(This used to be commit 26b0e03a776fbac4e93fef585dcfec5962f40387)
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
9545dc2835 r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
policy handles can be shared between connections

metze
(This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)
2007-10-10 14:49:01 -05:00
Andrew Tridgell
bedc59ca5c r21570: added a RPC-HANDLES test that tries to show that rpc policy handles
are not shared between connections. It tests three types of policy
handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp
with seal for drsuapi.

Metze, can you have a look and see how this tallies with what you've
seen?
(This used to be commit c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)
2007-10-10 14:48:57 -05:00
Andrew Tridgell
60fd088c48 r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
using the pattern in the clilsa code, it didn't fill in the p->binding
structure. This affects nearly all users of dcerpc_pipe_open_smb(), so
the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises
the binding if its not already there.

- re-enable the RAW-ACLS test
(This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10 14:48:54 -05:00
Andrew Bartlett
bf5cfb5f3d r21491: Verify that the DNS domain name is filled in on GUID searches in the
RPC-CRACKNAMES test.

Andrew Bartlett
(This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)
2007-10-10 14:48:43 -05:00