1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

2563 Commits

Author SHA1 Message Date
Stefan Metzmacher
e62dc0f1ef r25289: add WINBIND-STRUCT-INFO test
this may needs --option="torture:winbindd separator=+"

metze
(This used to be commit 8bf28eecf2)
2007-10-10 15:07:06 -05:00
Stefan Metzmacher
204ca09d8e r25288: add WINBIND-STRUCT-DOMAIN_INFO test
metze
(This used to be commit f42965b6ed)
2007-10-10 15:07:06 -05:00
Stefan Metzmacher
7d5f3e290c r25284: add WINBIND-STRUCT-DOMAIN_NAME test
this may needs --option="torture:winbindd netbios domain=BAR"

metze
(This used to be commit 3aba871fc3)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
7ae4b79e94 r25283: add WINBIND-STRUCT-NETBIOS_NAME test.
this may needs --option="torture:winbindd netbios name=FOO"

metze
(This used to be commit e67df9b8de)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
3e9d7c4db3 r25282: add WINBIND-STRUCT-INTERFACE_VERSION test
metze
(This used to be commit d610281cc1)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
fc9262d57c r25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS
metze
(This used to be commit c06e7aebc5)
2007-10-10 15:07:04 -05:00
Stefan Metzmacher
18d4608e43 r25279: - test in the generic get_trusted_domains() function that we got
at least 2 domains.
- change the ordering of the tests

metze
(This used to be commit 22eb3095d6)
2007-10-10 15:07:04 -05:00
Stefan Metzmacher
a84bdcd1cb r25278: add a more extented macro for doing struct based winbind requests
metze
(This used to be commit ad3ec17408)
2007-10-10 15:07:04 -05:00
Ronnie Sahlberg
b83ce5061e r25264: add a test to verify that the ACLs are checked when a normal user connects to SAMR
(This used to be commit 2be2ab575b)
2007-10-10 15:07:02 -05:00
Ronnie Sahlberg
52857d83c1 r25263: add a test to check the accessmasks and ACLs on policy handles returned on the
SAMR pipe.

also test which bits in the accessmasks grant which right to perform operations on the returned policy handle
(This used to be commit cb5bc80136)
2007-10-10 15:07:01 -05:00
Stefan Metzmacher
fb75ce48e5 r25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test
metze
(This used to be commit 52dfec08e7)
2007-10-10 15:07:01 -05:00
Stefan Metzmacher
727386327c r25235: add simple WINBIND-STRUCT-GETDCNAME test
metze
(This used to be commit 2abd86f520)
2007-10-10 15:06:58 -05:00
Stefan Metzmacher
a75ba7c53d r25234: make WINBIND-STRUCT-PING a benchmark test
which runs WINBIND_PING for 5 seconds

metze
(This used to be commit 86809a965e)
2007-10-10 15:06:58 -05:00
Andrew Bartlett
08c97435d3 r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.

This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de>

Previously we had no knowlege of BUILTIN or well-known names.

This code needs expansion to check with winbind for trusted domains.

Andrew Bartlett
(This used to be commit e6fc0e1f54)
2007-10-10 15:06:51 -05:00
Jelmer Vernooij
65c276dfb6 r25191: Fix include for BSD systems.
(This used to be commit 24a0df2967)
2007-10-10 15:06:49 -05:00
Stefan Metzmacher
7c8e4c7cbb r25189: add first winbind test for the struct based protocol (WINBINDD_PING)
metze
(This used to be commit 84b5babae7)
2007-10-10 15:06:48 -05:00
Stefan Metzmacher
81539d4966 r25188: add infrastructure for WINBIND-* tests in smbtorture
metze
(This used to be commit 3807699c00)
2007-10-10 15:06:48 -05:00
Volker Lendecke
ab36db2f9d r25186: Fix a memory corruption in base-mangle
(This used to be commit 4822b3f0db)
2007-10-10 15:06:47 -05:00
Jeremy Allison
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597)
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
803e57da44 r25159: fix missing declarations warning
metze
(This used to be commit 3d321a5efc)
2007-10-10 15:06:44 -05:00
Stefan Metzmacher
ab309ada8b r25112: make torture_temp_dir() available via tortore/torture.h
and return more detailed errors

metze
(This used to be commit c2b645c876)
2007-10-10 15:06:41 -05:00
Andrew Bartlett
c44019e1e3 r25073: Correct test name so make test can pass again.
Andrew Bartlett
(This used to be commit adcb3c864a)
2007-10-10 15:06:25 -05:00
Andrew Bartlett
8227ffdc7c r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can't
use this as a backend for the LSA LookupNames call.

Andrew Bartlett
(This used to be commit 9266e36633)
2007-10-10 15:06:24 -05:00
Jelmer Vernooij
45d0b9a0a3 r25070: Revert DRSUAPI conversion to new API, as it broke some tests.
(This used to be commit cfb33df2d0)
2007-10-10 15:06:24 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ce0ff008b5 r25034: Remove unused variables.
(This used to be commit ec1c68e3a6)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcf)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
3b6186a676 r25008: Remove use of pstring.
(This used to be commit c57869e262)
2007-10-10 15:05:33 -05:00
Jelmer Vernooij
ff83c689cb r25004: Avoid talloc_autofree_context() when possible.
(This used to be commit 79669d28a3)
2007-10-10 15:05:30 -05:00
Jelmer Vernooij
e7efc7a533 r25003: Skipped tests should be considered successfull.
(This used to be commit 919b362009)
2007-10-10 15:05:29 -05:00
Jelmer Vernooij
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
6cf69fee18 r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa)
2007-10-10 15:05:26 -05:00
Stefan Metzmacher
039a369a4f r24988: LOCAL-IRPC needs a the pid dir setup (as LOCAL-MESSAGING)
not the lock dir...

metze
(This used to be commit bccc014757)
2007-10-10 15:05:24 -05:00
Andrew Bartlett
839e17019f r24972: Try to rat out this SAMR failure with some more cross-tests, and
format checks.

Andrew Bartlett
(This used to be commit 33deecbfc3)
2007-10-10 15:03:43 -05:00
Andrew Bartlett
2d95d73887 r24971: Test more combinations for resetting the account expiry.
Andrew Bartlett
(This used to be commit 8844f4796c)
2007-10-10 15:03:42 -05:00
Andrew Bartlett
466bd44a46 r24942: Patch from Matthias Wallnöfer <mwallnoefer@yahoo.de> and a testsuite
to prove it is correct.

This should fix bug #4824: User Manager for Domains - Account Expires.

Thanks!

Andrew Bartlett
(This used to be commit e5f0744d62)
2007-10-10 15:03:41 -05:00
Jelmer Vernooij
8e2d624a58 r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca2)
2007-10-10 15:03:39 -05:00
Stefan Metzmacher
614d7d0728 r24907: now that we support bindings without a transport
just setup torture:binding even if we get an unc
as parameter

metze
(This used to be commit 5af6d77c21)
2007-10-10 15:03:35 -05:00
Stefan Metzmacher
c009104626 r24900: - if we use try to create a 3rd dcerpc_pipe then use a 3rd variable
instead of overwritting the one of the 2nd connection
- make it possible to specify the expected ntstatus for
  DsRoleGetPrimaryDomainInformation as the alter_context
  wants it to fail when used on the wrong pipe

metze
(This used to be commit c7c72ab36b)
2007-10-10 15:03:34 -05:00
Jelmer Vernooij
033c2c07a3 r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.
(This used to be commit 527ea7fccf)
2007-10-10 15:03:33 -05:00
Jelmer Vernooij
dcb925bba7 r24897: Do some sanity checking on --basedir.
(This used to be commit 32dbaa142a)
2007-10-10 15:03:32 -05:00
Jelmer Vernooij
ba79837b1b r24895: Test for specific error.
(This used to be commit 00d6dc85f5)
2007-10-10 15:03:31 -05:00
Jelmer Vernooij
ab055fb990 r24894: Run the libnet tests over just one DCE/RPC transport. Other DCE/RPC tests already check
that the DCE/RPC library and interfaces work ok.
(This used to be commit d392d6e92b)
2007-10-10 15:03:31 -05:00
Jelmer Vernooij
0cbb232fac r24892: Skip some tests that were previously being incorrectly treated as succeeding.
(This used to be commit b5b8e879a1)
2007-10-10 15:03:30 -05:00
Jelmer Vernooij
b77fabc274 r24891: Fix smbtorture to exit non-zero if a test suite wasn't found.
(This used to be commit 44139acf30)
2007-10-10 15:03:30 -05:00
Jelmer Vernooij
78996e64b4 r24890: Integrate more of the RPC-SECRETS tests.
(This used to be commit 84cc1d42ab)
2007-10-10 15:03:29 -05:00
Jelmer Vernooij
3d7849847c r24889: Move choosing the binding options into RPC-SECRETS.
(This used to be commit 24d322b746)
2007-10-10 15:03:29 -05:00
Jelmer Vernooij
6e22419214 r24888: Use torture API.
(This used to be commit 08b64b42d0)
2007-10-10 15:03:29 -05:00
Jelmer Vernooij
b53ecda303 r24885: Convert to new torture API.
(This used to be commit 2918a05678)
2007-10-10 15:03:28 -05:00
Jelmer Vernooij
c45d43c4c2 r24884: Ignore some errors again, like they were previously.
(This used to be commit 120d8caa01)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
e5470270ba r24883: Use torture API.
(This used to be commit 9935aac0f3)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
ac2a701483 r24882: Use the torture API in BASE-CHARSET.
(This used to be commit 93910d92cd)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
4fe2da6279 r24874: Fix double free of smbcli_tree.
(This used to be commit 84f14b5dd0)
2007-10-10 15:03:25 -05:00
Jelmer Vernooij
c125a7c5a7 r24872: Use torture API a bit more
(This used to be commit a71355dfc9)
2007-10-10 15:03:24 -05:00
Jelmer Vernooij
132ddb1f46 r24871: Fix typos
(This used to be commit 7d9c898d5e)
2007-10-10 15:03:24 -05:00
Jelmer Vernooij
7fd416bd3e r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
f03fdddd88 r24852: Fix initialization
(This used to be commit 1e56698f1b)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
275a8c9183 r24851: Add --load-module argument to smbtorture.
(This used to be commit 76a713b678)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
9c006b122f r24850: Convert to torture API.
(This used to be commit 6c7a004b9d)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
edeea82ae4 r24849: Add helper function for running tests as a member server.
(This used to be commit 61b2f0a405)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
d05d5da1e8 r24846: Use metadata about dangerous tests.
(This used to be commit f914b828ff)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
9e35f00c63 r24844: Convert to torture API in preparation of helper functions for domain member
RPC tests.
(This used to be commit c2521453a9)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
2a8ff00eea r24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren't there.
(This used to be commit 1ff13ae254)
2007-10-10 15:03:17 -05:00
Jelmer Vernooij
8d182d881d r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbf)
2007-10-10 15:03:15 -05:00
Volker Lendecke
afe87d6cfc r24798: RAW-SAMBA3POSIXTIMEDLOCK
This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
(This used to be commit b0a40dd277)
2007-10-10 15:03:12 -05:00
Ronnie Sahlberg
2e5e9411d4 r24768: redo the pingpong torture using sync functions to make the code simpler
(This used to be commit b4a6a4c129)
2007-10-10 15:03:07 -05:00
Ronnie Sahlberg
c0641b4728 r24767: add a torture test that performs "ping-pong" that works the same way as
ping-pong.c

this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa74)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
aaf7df0597 r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
(This used to be commit 4c3e456426)
2007-10-10 15:03:06 -05:00
Jelmer Vernooij
748dcc3376 r24758: More use of torture API.
(This used to be commit e6f571227e)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
7ee37fdb1e r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
3e7203d0b3 r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e7739)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
0e6773525f r24741: More use of the torture API.
(This used to be commit de05c3651a)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
9cca9ddc79 r24736: Convert to using torture API.
(This used to be commit a0f1188154)
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c09)
2007-10-10 15:03:00 -05:00
Jelmer Vernooij
2fefa818a9 r24728: Use more stock torture functions.
(This used to be commit da3a7ee407)
2007-10-10 15:02:58 -05:00
Andrew Tridgell
e56566f3df r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
failover

this is based on a patch from Dmitry Shatrov, with some mods from me
(This used to be commit 737be7e2d6)
2007-10-10 15:02:50 -05:00
Andrew Bartlett
8794ffbc61 r24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett
(This used to be commit 771affed88)
2007-10-10 15:02:48 -05:00
Jelmer Vernooij
356294da18 r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e9)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
11744d9f1d r24685: Don't warn about iconv tests not being usable until they're actually being run.
(This used to be commit df34e60698)
2007-10-10 15:02:42 -05:00
Rafal Szczesniak
fa4049d8c9 r24682: forgot to actually make the new test buil...
rafal
(This used to be commit dbcf4f15a6)
2007-10-10 15:02:41 -05:00
Rafal Szczesniak
aa1d27be88 r24681: add basic test of libnet_GroupInfo function.
rafal
(This used to be commit 5ba36fe703)
2007-10-10 15:02:40 -05:00
Jelmer Vernooij
2d7e170a90 r24676: Fix pointers being used rather than the data they point at - caught by the IRIX compiler.
(This used to be commit 678b125532)
2007-10-10 15:02:38 -05:00
Jelmer Vernooij
f96b1778a4 r24674: Make sure results are always on a new line, fix typo in test name.
(This used to be commit 40c1635b39)
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
d981c69a18 r24670: Use torture functions for settings.
(This used to be commit a690667630)
2007-10-10 15:02:36 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
cc253ae4a0 r24657: Use torture functions.
(This used to be commit e95c50fc50)
2007-10-10 15:02:33 -05:00
Andrew Bartlett
dfa4e5f784 r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett
(This used to be commit 3d74d178bf)
2007-10-10 15:02:27 -05:00
Andrew Bartlett
d7f84b51f9 r24611: Following up on the re-opening of bug 4817 is it pretty clear that
machine accounts are not subject to password policy in Win2k3 R2 (at
least in terms of password quality).

In testing this, I found that Win2k3 R2 has changed the way the old
ChangePassword RPC call is handled - the 'cross-checks' between new LM
and NT passwords are not required.

Andrew Bartlett
(This used to be commit 417ea885b4)
2007-10-10 15:02:23 -05:00
Stefan Metzmacher
bd93ed4680 r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
and rename the containing functions to have a ndr_
prefix

metze
(This used to be commit cb234d43ae)
2007-10-10 15:02:23 -05:00
Andrew Tridgell
f7f2323e47 r24588: use the right type
(This used to be commit 710f6dc17f)
2007-10-10 15:02:22 -05:00
Andrew Tridgell
51aced3dc8 r24587: the elements of the array are not talloc pointers
(This used to be commit 2ebf00dc42)
2007-10-10 15:02:21 -05:00
Andrew Tridgell
2d6e6ebddc r24586: same bug in RAW-BENCH-OPEN
(This used to be commit 3bd35bb8ab)
2007-10-10 15:02:20 -05:00
Andrew Tridgell
489d23e808 r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure
(This used to be commit c61415b05d)
2007-10-10 15:02:20 -05:00
Volker Lendecke
d9b9acd232 r24570: Attempt to fix make test
Samba4 seems not to survive the newly added tests
(This used to be commit b8a8a81ffe)
2007-10-10 15:02:18 -05:00
Volker Lendecke
7e43f973c4 r24569: Add two tests
A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug
(This used to be commit 786706322a)
2007-10-10 15:02:17 -05:00
Andrew Bartlett
7c9312a885 r24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk rename.
Andrew Bartlett
(This used to be commit 6e730d43e4)
2007-10-10 15:02:17 -05:00
Stefan Metzmacher
0d7d5a6d49 r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5da)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Rafal Szczesniak
6a29604c36 r24555: Add a test for libnet's group info call.
rafal
(This used to be commit 40ad66dd75)
2007-10-10 15:02:13 -05:00
Stefan Metzmacher
b8cdadced4 r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
(This used to be commit 4adbebef5d)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
ce84ab9a83 r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl

The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.

metze
(This used to be commit 2ed014cfb8)
2007-10-10 15:02:11 -05:00
Volker Lendecke
fb19fe7a51 r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Many hosts in the build farm don't have EA support
(This used to be commit 3cca299c72)
2007-10-10 15:02:11 -05:00
Andrew Bartlett
1133678c34 r24502: More work to get LOCAL-EVENT passing on all platforms:
- Make the epoll_event_context_init() call fail if epoll_create() fails.

  This should cause this backend to be skipped on host with epoll() in
  libc but not in the kernel.

- At the moment, there is no sensible way to handle failures to add an
  epoll() event, and 'fallback to select' is misnamed (so we now
  abort()).

Andrew Bartlett
(This used to be commit fb1e1eebda)
2007-10-10 15:02:02 -05:00
Jeremy Allison
103b1ead98 r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
to ERRDOS, ERRrename.
Jeremy.
(This used to be commit 7cc8be50b6)
2007-10-10 15:01:55 -05:00
Jeremy Allison
255c24eb8f r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
is mapped to ERRDOS, ERRrename on a rename error, but mapped
to ERRDOS, ERRfilexists on an open error.
Jeremy.
(This used to be commit e634c627b1)
2007-10-10 15:01:55 -05:00
Jeremy Allison
e42ff21109 r24473: Prove this is also the same for NTcreateX. It's pretty much
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should
map to ERRDOS, ERRfilexists on all open calls at least.
Jeremy.
(This used to be commit 125590e008)
2007-10-10 15:01:55 -05:00
Jeremy Allison
a97fa8124f r24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in
the errormap. This will break the build farm against Samba3 until I start adding
in the hand mapping from the above. Tridge - we may need to reconsider the mapping
here.
Jeremy.
(This used to be commit 74a871ce70)
2007-10-10 15:01:54 -05:00
Andrew Bartlett
1ea23c2a95 r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build farm hosts.
Andrew Bartlett
(This used to be commit 1abd8edb57)
2007-10-10 15:01:49 -05:00
Jelmer Vernooij
a43b026ef0 r24333: Add convenience function for checking the contents of a file in tests.
(This used to be commit 4e30410124)
2007-10-10 15:01:38 -05:00
Andrew Bartlett
cf9972a1bd r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() in
glibc, but not in the host kernel.

Andrew Bartlett
(This used to be commit bd70b0d106)
2007-10-10 15:01:37 -05:00
Andrew Bartlett
5f6b501f21 r24146: It is not an error for a Win2k3-only server not to support the NT4
replication call.

Andrew Bartlett
(This used to be commit 59cba32c09)
2007-10-10 15:01:28 -05:00
Andrew Bartlett
e0779e2d3b r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo
return full SIDs for the user SID and primary group sid.

This should help kai with his getpwnam work in winbind.

Andrew Bartlett
(This used to be commit 078671d501)
2007-10-10 15:01:27 -05:00
Andrew Bartlett
50a66a2e81 r24083: Don't fail the test (looking for the user in the enum) if we didn't
create the user in the first place.

Andrew Bartlett
(This used to be commit db0f81734d)
2007-10-10 15:01:24 -05:00
Andrew Bartlett
97859bc760 r24081: Domain Controllers are also shown in this enumeration.
Andrew Bartlett
(This used to be commit 3e332ff771)
2007-10-10 15:01:23 -05:00
Andrew Bartlett
008b840760 r24080: Set the primary group (matching windows) when creating new users in
SAMR.  This can't be done in the ldb templates code, as it doesn't
happen over direct LDAP.

As noted in bug #4829.

Andrew Bartlett
(This used to be commit 3bfa6dbf7d)
2007-10-10 15:01:23 -05:00
Andrew Bartlett
649d4bf8aa r24074: Test both permitted logon hours and permitted workstations in the
RPC-SAMLOGON test.

This showed that, as noted by bug #4823, we didn't test for invalid
workstations.  In fact, the code had been ported across, but because
untested code is broken code, it never worked...

Andrew Bartlett
(This used to be commit 5e07417ada)
2007-10-10 15:01:21 -05:00
Andrew Bartlett
fe60cd993d r24059: Fix bug 4822 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>.
Any SAMR client (usrmgr.exe in this case) that attempted to set a
property to a zero length string found instead the the old value was
kept.

In fixing this, rework the macros to be cleaner (add the
always-present .string) to every macro, and remove the use of the
samdb_modify() and samdb_replace() wrappers where possible.

Andrew Bartlett
(This used to be commit b05fe69304)
2007-10-10 15:01:20 -05:00
Andrew Bartlett
41ab04e37c r24053: Ensure we filter EnumDomainUsers with the supplied mask.
Should fix another part (list of domains in usrmgr incorrectly
including accounts) of bug #4815 by mwallnoefer@yahoo.de.

Andrew Bartlett
(This used to be commit 7f7e4fe298)
2007-10-10 15:01:19 -05:00
Andrew Bartlett
32d55960b5 r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815.
- The icons in usermgr were incorrect, because the acct_flags were
   not filled in (due to missing attribute in ldb query)

 - The Full name was missing, and the description used as the full
   name (due to missing attributes in ldb query and incorrect IDL)

To prove the correctness of these fixes, I added a substantial new
test to RPC-SAMR-USERS, to ensure cross-consistancy between
QueryDisplayInfo and QueryUserInfo on each user.

This showed that for some reason, we must add ACB_NORMAL to the
acct_flags on level 2 queries (for machine trust accounts)...

Getting this right is important, because Samba3's RPC winbind methods
uses these queries.

Andrew Bartlett
(This used to be commit 9475d94a61)
2007-10-10 15:01:19 -05:00
Rafal Szczesniak
a47313851f r24051: more monitor function calls and monitor msg names
convention change.

rafal
(This used to be commit 6ab10b2ed2)
2007-10-10 15:01:18 -05:00
Volker Lendecke
890c42045d r24041: After metze's ack, check in torture_comment from Zack Krisch
<zack.kirsch@isilon.com>
(This used to be commit b1148b7ab8)
2007-10-10 15:01:18 -05:00
Michael Adam
57484f56c0 r23821: Extend the winreg test by a test for DeleteKey on a
key that has subkeys. This should return WERR_ACCESS_DENIED.

Michael
(This used to be commit 9b8789a4b5)
2007-10-10 14:59:23 -05:00
Andrew Bartlett
a0fa5051bd r23816: A little more static, but leave the dead code testjoin.c as documentation.
Andrew Bartlett
(This used to be commit 6679003c05)
2007-10-10 14:59:23 -05:00
Andrew Bartlett
d57cb82663 r23811: Try to ensure struct nbt_name is always pre-declared. Might fix the
build on aico.

Andrew Bartlett
(This used to be commit 5609bd9d21)
2007-10-10 14:59:21 -05:00
Andrew Bartlett
a87dea2a08 r23810: Make things static, and remove unsued code.
This includes some of the original ildap ldap client API.  ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.

Andrew Bartlett
(This used to be commit dc27a7e41c)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Jeremy Allison
4f2fe8e947 r23734: Add a test to prove tridge's theory that the mask, once set
on an open directory handle, is never changed. (He's right btw :-).
Jeremy.
(This used to be commit bf9242ad45)
2007-10-10 14:59:09 -05:00
Stefan Metzmacher
5dd8496af6 r23687: not every compiler supports __typeof__()
metze
(This used to be commit d0f77f7bd7)
2007-10-10 14:59:01 -05:00
Jim McDonough
698093b028 r23643: Fix the build farm tests. We were incorrectly passing the
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration
fixes, because if you create a user and only set the password
administratrively, the "last set time" should not get updated.  Needed
to add some more of the fields_present flags to do this.
(This used to be commit ce5637de22)
2007-10-10 14:53:30 -05:00
Michael Adam
f604ee4320 r23561: Fix an output message.
(This used to be commit bf1edba3f1)
2007-10-10 14:53:28 -05:00
Andrew Bartlett
d291b8bf93 r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett
(This used to be commit 96ef5259c6)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
9ed016b692 r23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not only when file is written but at initial write as well.
(This used to be commit 0258f9d3c2)
2007-10-10 14:53:26 -05:00
Andrew Tridgell
dc4f1f6754 r23535: accept numeric ntstatus codes in nbench load files (ronnies wireshark
script generates numeric codes)
(This used to be commit 455895c4b1)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
551575012b r23534: honour the targetrate even for loadfiles with timestamps
(This used to be commit 24b6aabd11)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
2a3282f872 r23533: added --option torture:targetrate=rate to target a particular
throughput in MBytes/sec
(This used to be commit 35477e8e3d)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
428373743a r23531: added optional latency reporting in BENCH-NBENCH. To use it, you need
to have a load file that puts a timestamp in the first column. That
tells NBENCH to target the same throughput as the capture, and to
report the maximum amount of latency miss in the test

This allows you to quickly see how many clients you can run with while
still meeting a given target
(This used to be commit 7f045ca4f5)
2007-10-10 14:53:24 -05:00
Alexander Bokovoy
de4f15a3ad r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
(This used to be commit 9bb079d70d)
2007-10-10 14:53:24 -05:00
Alexander Bokovoy
7e02cb2101 r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
(This used to be commit a580d19cb3)
2007-10-10 14:53:23 -05:00
Alexander Bokovoy
5b2e3e8bd8 r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
(This used to be commit 5530b38bbf)
2007-10-10 14:53:23 -05:00
Volker Lendecke
a7601c9829 r23492: Also activate the split out test...
(This used to be commit a3cb4bcae7)
2007-10-10 14:53:22 -05:00
Volker Lendecke
25abee0505 r23491: Split out the RENAME trans2 call into a separate test
(This used to be commit 80244f1ee6)
2007-10-10 14:53:22 -05:00
Kai Blin
b163ab8008 r23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/
(This used to be commit 4e7dc9eae4)
2007-10-10 14:53:19 -05:00
Kai Blin
c2dc9a4d7c r23403: Make nsstest build on Samba4.
For now, only build on Linux systems. If the build farm is happy with this,
I will gradually turn on this feature for other platforms, too.
(This used to be commit c2d4cc1c61)
2007-10-10 14:53:15 -05:00
Günther Deschner
38af1b1c05 r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.
Guenther
(This used to be commit 2fc02ab992)
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 7b19df13a4)
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 eaa17d5a8f)
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 841ad140a3)
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 7f3671bf11)
2007-10-10 14:53:12 -05:00