1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

1871 Commits

Author SHA1 Message Date
Volker Lendecke
c7d7022e77 r16956: Walk some of the samba3 srvsvc code
(This used to be commit bd84fde777366899391d122e0aa5034ba0b80037)
2007-10-10 14:10:03 -05:00
Stefan Metzmacher
7e04c0032b r16951: add the year to the copyright...
metze
(This used to be commit 97157d5c4a829108f1da89b23b91a6cf87879b3a)
2007-10-10 14:10:03 -05:00
Volker Lendecke
70b5c605c0 r16909: Change torture_open_connection to look at torture:unclist.
Volker
(This used to be commit 3413ad5c31b24d490744ad61229372ef74a707b0)
2007-10-10 14:09:58 -05:00
Volker Lendecke
b7c5bc522b r16907: Add an index parameter to torture_open_connection. Next step is to enable the
unclist parameter for all tests that do two connections, to enable cluster
testing.

Volker
(This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10 14:09:58 -05:00
Rafal Szczesniak
56bb8f4062 r16900: Nicer display of the test results.
rafal
(This used to be commit bb0e9297b2d0b25866b31937b553434a2dc6aac4)
2007-10-10 14:09:58 -05:00
Rafal Szczesniak
82f1374d2b r16897: Don't pass allocated buffer for returned string as the lookup
function allocates it using memory context.
Also, give nicer output of the result of lookup performed.

rafal
(This used to be commit 1bd5661258dffc01afdb11da50f2da8f0b0b9046)
2007-10-10 14:09:57 -05:00
Rafal Szczesniak
304c8fbfbe r16896: Allow to use both binding and unc string to specify host name
being looked up.

rafal
(This used to be commit e597e9867f50f495a338bed05cee76ff84fd38b6)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
1fcd8c8a90 r16874: query all information
metze
(This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
2007-10-10 14:09:56 -05:00
Andrew Bartlett
0f215e9947 r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sids
to be created as foreign, even if they are in a local domain.

Also we do need the user to exist for the life of the test, as we add
it to a group.

Andrew Bartlett
(This used to be commit ae470ff7014e52b55d88e9fe12e2322e069daf9d)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
5768d1298f r16851: Put a clue in as to which domain might have failed, due to the length
of this test.

Andrew Bartlett
(This used to be commit b4d75f01d9cb2d1c9d5facfd5eb39c8a062886d4)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
ba968d6684 r16847: Add the parts of the SAMR test that pass back into 'make test'.
I still need to figure out what causes the rest to fail...

Andrew Bartlett
(This used to be commit aa34bd46cb1446b9fb6fd8f1b8ffca5f81b3c052)
2007-10-10 14:09:53 -05:00
Jeremy Allison
ec3be5b908 r16843: Confirm that openX uses the same mapping table as getatr.
Jeremy.
(This used to be commit 1c84e57e712b03f03035abe26fd8adb71aa16994)
2007-10-10 14:09:52 -05:00
Volker Lendecke
a5cbc9a01c r16842: Jeremy, I almost don't dare checking this in.....
Volker
(This used to be commit ec36c49c08bdd222d5514611a39f3caf096dac7b)
2007-10-10 14:09:50 -05:00
Stefan Metzmacher
af0a9eb529 r16834: split the level's of smb_search_first/smb_search_next and the levels
of smb_search_data

metze
(This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10 14:09:49 -05:00
Andrew Bartlett
f2e8b3202c r16827: Factor out some code into common samdb functions:
- creation of ForeignSecurityPrincipals
 - template duplication code

Rework much of the LSA server to pass the RPC-LSA test.  Much of the
server code was untested.  In implementing the LSA Accounts feature, I
have opted to have it only create entires when privilages are applied,
and not to delete entries, but to delete the privilages.

We skip some parts of the test, but it is much better than not testing
it at all.

Andrew Bartlett
(This used to be commit 10eeea6da465564ed9f785d06e2d2ed06cfe29a4)
2007-10-10 14:09:48 -05:00
Andrew Bartlett
3aa8a700e6 r16826: Ensure we don't segfault if the remote server fails to set a password
in RPC-SAMR test.

Andrew Bartlett
(This used to be commit 08ec74d620ffe613655f28d002e60ca8201fadd9)
2007-10-10 14:09:47 -05:00
Andrew Bartlett
3c9281f014 r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There are
still a couple of unimplemented functions, but this is far better than
not testing this at all.  In particular, this exercises the
password_hash module.

Specific changes:
 - Add support for SetDomainInfo
 - Add many more info levels to QueryDomainInfo
 - Set a domain comment in RPC-SAMR, and verify it is kept
 - Refactor QueryUserInfo not to always serach for all attributes
 - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls
 - Make OemChangePassword2 search under the samdb_base_dn(), so it
   finds the user when partitions are active.
 - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and
  'Multiple' alias operations in RPC-SAMR for Samba4
 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow)

Andrew Bartlett
(This used to be commit 01d25c9d6ca8d036d40040e5ee87a330e5b84d55)
2007-10-10 14:09:46 -05:00
Andrew Bartlett
23f8579e8a r16770: Get closer to having Samba4 pass some of the RPC-SAMR test, by
skipping some checks.

These should be removed, and the code fixed, but currently we are
loosing quality because the test isn't run by default.

Andrew Bartlett
(This used to be commit 1306f60c97562a71ae15f0ab257ddcd5e0af36d4)
2007-10-10 14:09:44 -05:00
Jeremy Allison
5517249fad r16761: Added additional NTSTATUS and DOS error test for "."
This confirms a theory of mine...
Added RAW-SAMBA3BADPATH to selectable options.
Jeremy.
(This used to be commit 4cd7a8ed621d6215202d4b60d183a013a221581b)
2007-10-10 14:09:44 -05:00
Volker Lendecke
81d09a7f2e r16759: Jeremy, another little error case for you :-)
For the paths with illegal characters we should return ERRDOS:ERRbadpath in
the DOS error case. We return ERRDOS:ERRinvalidname...

Volker
(This used to be commit c2203068f46064d067bf43fe50f330ce49dfc08a)
2007-10-10 14:09:43 -05:00
Volker Lendecke
81d5901044 r16756: Some machines on the build farms sporadically fail the test
/* Test 21 -- Test removal of file after socket close. */

I think it might be because they are too slow to delete the file.

Jeremy, can you check this test does not change semantics in a way you don't
want it?

Volker
(This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
946e1c1b87 r16741: add a RPC-LSA-GETUSER test,
which is very useful for analysing a windows machine remotely

with this I found that vista-beta2 doesn't have an 'administrator' account
and mapps any not known user to MACHINENAME\Guest

metze
(This used to be commit 97ae93627527f65b6ecded9884a26d4cffa1409d)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
2e56d833b4 r16739: test SMB2-GETINFO SMB2-SETINFO by make test
metze
(This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
dd44e2415c r16738: vista beta2 use FILE_CLOSED as error for an invalid file handle
metze
(This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
d584033c6c r16737: if an error happens report it
metze
(This used to be commit 52ce898cf9f11293005683844b8ea428a5d66f8e)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
f0c737b924 r16736: - convert unix times to nttime before sending it to the wire...
- return an error code if an error happens

metze
(This used to be commit 9b52322e90003302ec99e2808c80c6c733a84358)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
348ad95ea7 r16725: don't ignore errors
metze
(This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
4357d9f5de r16707: - test attrib = 0 in BASIC_INFO
- return an error when value doesn't match the expected value!

metze
(This used to be commit 1f0ecba77344af4dcec71143de0b14ee2565d422)
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
4da57142b4 r16672: we don't need this twice:-)
metze
(This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
1ce7b027e6 r16668: test setting of security descriptors vis smb2 setinfo
metze
(This used to be commit 377562e891ccb6ff9104bbefca71a8e2c18a34de)
2007-10-10 14:09:37 -05:00
Volker Lendecke
414c47633d r16657: Test Jerry's iTunes bug, along with some more error conditions
Volker
(This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
0646a91bc9 r16569: - use push_string()
metze
(This used to be commit f099fcb6e3a38d6df22cb3a0c7c666333e41f11b)
2007-10-10 14:09:35 -05:00
James Peach
0168e973d8 r16557: Silently succeed when torture_register_suite is passed NULL.
(This used to be commit dbcb190aa0a687e62cc109ab6314aa705a0c7aca)
2007-10-10 14:09:34 -05:00
Rafal Szczesniak
1db2f0d3a1 r16533: Perform a cleanup after testing. Also, add changed name argument.
This test currently triggers internal corruption in ldb database,
according to status code returned. I'm investigating win servers
behaviour here.

rafal
(This used to be commit c73f4e11e4747b907dffafed09d354e12307435a)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
fb3afe422f r16529: Fix type.
(This used to be commit f9a9884c0da038f2a390444d1ab9219049f95cc3)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
1afab0e36f r16527: Add target argument for smbtorture.
Remove duplicate unc path separator conversion.
Add prefix for tempdirs.
(This used to be commit 3763ed3092fa89558390a9721be8437a7c380790)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
6b749f225e r16526: Add torture_setup_server() with test.
(This used to be commit 6a1ed8ad756b97f61d4af9df2c7a7d889a2d09ef)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
3fc105b106 r16524: Fix double evaluation.
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
c692456f24 r16518: Split up torture_util.c in smb and non-smb specific parts.
Add torture_temp_dir() function, with test.
(This used to be commit c9d287dc0e3f8fc4e8399cd5095ef38f2b9f40c6)
2007-10-10 14:09:31 -05:00
Jelmer Vernooij
509fd041aa r16514: Fix build (not run!) of --enable-dso.
(This used to be commit cebabc7588b171f575f2193f4f6ead01b524acb2)
2007-10-10 14:09:31 -05:00
Andrew Bartlett
cb93d28e7c r16489: Because the torture/ui.h file isn't automaticly generated, the
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than
_PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto
files, but not C files).

This found a number of missing descriptions in the LOCAL-SOCKET test.

Andrew Bartlett
(This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
d44c28b3a9 r16463: TORTURE_NBENCH should be a module...
thanks to jpeach!

metze
(This used to be commit fc63205e0c63b3e4767889e1a981736519d12deb)
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
a94f2fc7e7 r16441: - give old tests a chance to report errors
- display the correct test name

metze
(This used to be commit 7d62b0b7e96222f29dd3cd6066523f517d757620)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
d3b3436ce1 r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
(This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
15db7a53e8 r16405: fix compiler warning of missing smb2_handle
metze
(This used to be commit 73194e9ec3d1c18e7042bdaa008c7fd503e6e534)
2007-10-10 14:09:13 -05:00
Rafal Szczesniak
66cc0cbefc r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.
rafal
(This used to be commit 82ac02dd18e96312ca15b8f79f6f1e3c330d01de)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
845df42a19 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
(This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
835d8ed2f6 r16332: Fix two small bugs found by the buildfarm.
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
a3545383fb r16331: Split out registering of multi fn tests, fix typo in name of pac suite.
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
e4684e6632 r16330: Show number of succeeded, failed and skipped tests and success rate at the
end of a smbtorture run.
(This used to be commit 745f3d544bb1158c7c0001d36181916cd932bc08)
2007-10-10 14:09:10 -05:00