1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1042 Commits

Author SHA1 Message Date
Andrew Bartlett
04b350acf8 r7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.
Andrew Bartlett
(This used to be commit d74b7c20b6)
2007-10-10 13:18:05 -05:00
Andrew Tridgell
694488d29c r7507: fixed the problem with users being shown too many times in acl
editors, and added a test for it.
(This used to be commit 9e428881f6)
2007-10-10 13:18:02 -05:00
Andrew Tridgell
82da98a1da r7494: added --maximum-runtime to smbtorture as well. I have seen smbtorture
get stuck waiting on no file descriptors, with no timeout, so it sits
forever. I need to fix that bug separately, but to prevent build farm
machines being totally stuck, this timeout will be used.
(This used to be commit 5cccf0a770)
2007-10-10 13:18:00 -05:00
Rafal Szczesniak
1104ca3337 r7491: libnet functions used in tests have different names now.
rafal
(This used to be commit d54bf09701)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
68ff6b1262 r7487: check both files before and after setting the attribs on file1
metze
(This used to be commit 376c0560e0)
2007-10-10 13:17:58 -05:00
Tim Potter
6412e8eeae r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it
confused with an async function.
(This used to be commit 340ad67cad)
2007-10-10 13:17:58 -05:00
Tim Potter
43d3689ecf r7479: ifdef out some more stuff to fix compiler warnings.
(This used to be commit c4d10a98ff)
2007-10-10 13:17:57 -05:00
Stefan Metzmacher
56af29caa5 r7464: add newline to printf
metze
(This used to be commit 7123cd1116)
2007-10-10 13:17:56 -05:00
Andrew Tridgell
34f48e0e09 r7431: this should fix the bug that mkaplan and I noticed which is that
BENCH-NBENCH sometimes incorrectly reports that it failed.
(This used to be commit 167c29bec6)
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
1b11f11b34 r7426: add an option to disable progress output
torture:progress=no

metze
(This used to be commit 820e5a1270)
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
be6b73de65 r7401: add config option to disable the TestSleep() test
torture:echo_TestSleep=no

metze
(This used to be commit 74bb55f3ae)
2007-10-10 13:17:50 -05:00
Rafal Szczesniak
c80aedc744 r7384: I've forgotten to commit test source.
Fix the build and get some sleep...

rafal
(This used to be commit 966d148eca)
2007-10-10 13:17:49 -05:00
Rafal Szczesniak
74c5b52962 r7383: Add CreateUser test to torture suite.
rafal
(This used to be commit bac24d9774)
2007-10-10 13:17:49 -05:00
Stefan Metzmacher
30da4d8d93 r7369: allow no entries returned by Enum*()
metze
(This used to be commit 3778da9d17)
2007-10-10 13:17:47 -05:00
Tim Potter
7d3d4d0f3b r7365: Remove unused variables.
(This used to be commit aa3dd5e8cf)
2007-10-10 13:17:47 -05:00
Andrew Tridgell
74aeab5329 r7358: make the irpc test use two messaging contexts, not one, so it better
matches the LOCAL-MESSAGING test
(This used to be commit 5883ce16d0)
2007-10-10 13:17:46 -05:00
Stefan Metzmacher
22ae788666 r7346: use StartPagePrinter(), WritePrinter() and EndPagePrinter() to print a few test pages
on each printer
(we don't actually print because we have paused the printer before...)

metze
(This used to be commit 6bccf55ab9)
2007-10-10 13:17:45 -05:00
Stefan Metzmacher
f9716b51cd r7342: submit a test job for each printer and delete this job
metze
(This used to be commit b71d577097)
2007-10-10 13:17:44 -05:00
Stefan Metzmacher
6484698ee4 r7340: fix the build
and some more error checks

metze
(This used to be commit da6263d421)
2007-10-10 13:17:44 -05:00
Stefan Metzmacher
87bbda10bf r7333: Pause and resume each printer
metze
(This used to be commit 191375f417)
2007-10-10 13:17:43 -05:00
Stefan Metzmacher
d8889b6f8d r7329: test some more PrinterData values
metze
(This used to be commit ad35bfb225)
2007-10-10 13:17:42 -05:00
Stefan Metzmacher
9a831a3963 r7328: fix GetPrinterData and SetPrinterData, with zero length subcontexts
metze
(This used to be commit 73d597bacf)
2007-10-10 13:17:42 -05:00
Rafal Szczesniak
4a456f2fbc r7325: Add composite domain open test.
rafal
(This used to be commit 2614aa6934)
2007-10-10 13:17:42 -05:00
Rafal Szczesniak
adc603731e r7324: Torture test for composite domain open function.
rafal
(This used to be commit 482ff6a780)
2007-10-10 13:17:42 -05:00
Andrew Tridgell
412e4bd820 r7321: add nbtd statistics serving over irpc
(This used to be commit 4c0ed7328b)
2007-10-10 13:17:41 -05:00
Andrew Tridgell
d934cb71d0 r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,
compared to about 20k messages/sec for the raw messaging layer. I
think that is quite acceptable given the extra functionality.
(This used to be commit a05d38d1d9)
2007-10-10 13:17:38 -05:00
Andrew Tridgell
bf1ffa283c r7294: implemented the irpc messaging system. This is the core of the
management system I proposed on samba-technical a couple of days
ago. Essentially it is a very lightweight way for any code in Samba to
make IDL based rpc calls to anywhere else in the code, without the
client or server having to go to the trouble of setting up a full rpc
service.

It can be used with any of our existing IDL, but I expect it will
mostly be used for a new set of Samba specific management calls.

The LOCAL-IRPC torture test demonstrates how it can be used by calling
the echo_AddOne() call over this transport.
(This used to be commit 3d589a0995)
2007-10-10 13:17:37 -05:00
Jelmer Vernooij
c56ddaf7ef r7195: - Fix echo pipe
- Don't allocate strings
- Give higher preference to the [out] part of variables when they
  are being used by another [out] variable. Also make sure that
  [in] variables never use [out] variables (i.e. switch_is() on an
  [in] variable can no longer use an [out] variable).
(This used to be commit 837c83d77a)
2007-10-10 13:17:25 -05:00
Jeremy Allison
2825b0cddf r7180: Missed fixing the shutdown for 1 process...
Jeremy.
(This used to be commit 997e1405cb)
2007-10-10 13:17:23 -05:00
Jeremy Allison
cbf0a4c362 r7178: If we're using one process in NETBENCH simultion only open one
connection to the server. Makes valgrind/cachegrind on the server
easier.
Jeremy.
(This used to be commit fba9462591)
2007-10-10 13:17:23 -05:00
Jelmer Vernooij
03c2d642a6 r7159: Improve the messages from pidl's validator module.
Change the IDL file for the echo interface to match the one we use for
Windows. The only thing different between the two files currently is the
names of the scalar types and the handling of strings.
(This used to be commit b264c61061)
2007-10-10 13:17:21 -05:00
Stefan Metzmacher
62480f1252 r7120: make use of the new 'noopnum' property and get rid of handwritten
parsing code for the spoolss_Enum* functions, there still same handwritten code needed
but just to stack the autogenerated code into the correct way

metze
(This used to be commit 155d18e8b7)
2007-10-10 13:17:19 -05:00
Jelmer Vernooij
c5981f6db0 r7117: Move more manpages to the source repository
(This used to be commit b00355bf0c)
2007-10-10 13:17:18 -05:00
Jeremy Allison
72cc1a1f12 r6975: Test opening filenames with control characters in fails
with INVALID_NAME.
Jeremy.
(This used to be commit ec72d7d614)
2007-10-10 13:17:01 -05:00
Jelmer Vernooij
fb52ab1446 r6961: Add RPC-WINREG to list of win2k3 tests
Fix bug in test for QueryMultipleValues
Ignore errors from CreateKey() and GetKeySecurity() for now
(This used to be commit 7b6b8d6b34)
2007-10-10 13:17:00 -05:00
Tim Potter
4867378592 r6951: Fix all calls to setup_logging() that use 'True' as a second argument.
In Samba4 this is now an enum.  Possibly by accident, True just happens
to map to the right value in this case.  (-:
(This used to be commit affacc5398)
2007-10-10 13:17:00 -05:00
Tim Potter
2b7fe67f4d r6933: Add a couple of helper functions for creating nbt names.
(This used to be commit b896daf11c)
2007-10-10 13:16:58 -05:00
Volker Lendecke
283991e1ff r6907: Unixinfo for samba4, not activated by default.
Volker
(This used to be commit 81ddffde36)
2007-10-10 13:16:56 -05:00
Andrew Tridgell
b836187484 r6875: added a BENCH-CLDAP test. Speed of the cldap server isn't all that important, but it does
help find memory leaks (and in fact, there was one, fixed in next commit)
(This used to be commit ab19e38c23)
2007-10-10 13:16:53 -05:00
Andrew Tridgell
f378a9e133 r6869: removed completely bogus BASE-RW2 test
(This used to be commit b3dd5c326e)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
f9ad3029ae r6863: lib-friendlier names + fix some dependencies
(This used to be commit cab81a51bf)
2007-10-10 13:16:52 -05:00
Tim Potter
47823c1735 r6847: Fix some unused variable warnings in the libnet torture test.
(This used to be commit 448795607f)
2007-10-10 13:16:50 -05:00
Jelmer Vernooij
e73d051e20 r6839: Add support for building subsystems as shared libraries. This can be
done by setting:
OUTPUT_TYPE = SHARED_LIBRARY
in the [SUBSYSTEM::...] section belonging to a subsystem.

The idea is to allow multiple values to OUTPUT_TYPE simultaneously
(e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST )
(This used to be commit b9d0ae93ba)
2007-10-10 13:16:50 -05:00
Andrew Tridgell
1dbe7430c7 r6816: - fixed debug display of ndr netlogon union
- send a username when scanning to make structure elements clearer
(This used to be commit 7d19eb9433)
2007-10-10 13:16:47 -05:00
Andrew Bartlett
8f96c42027 r6799: Remove a rudundent variable from the context structure - we can figure
this out by asking GENSEC, just like everybody else.

Andrew Bartlett
(This used to be commit 0268d6c46b)
2007-10-10 13:16:45 -05:00
Jelmer Vernooij
5b18cf2268 r6795: Make some functions static and remove some unused ones.
(This used to be commit 46509eb899)
2007-10-10 13:16:44 -05:00
Andrew Bartlett
ae0cf9c240 r6793: Move auth_sam to use the dnsDomain rather than the
soon-to-be-depricated 'realm'.

Add torture test for this behaviour.

Andrew Bartlet
(This used to be commit 6b9020661a)
2007-10-10 13:16:44 -05:00
Andrew Tridgell
0b8b29f070 r6776: make the cldap torture test not dependent on the realm being set
correctly - it gets the realm from an initial no-attribute search
(This used to be commit 52d10c8d99)
2007-10-10 13:16:43 -05:00
Andrew Tridgell
6f36f7cd25 r6766: some more cldap tests ...
my best guess now is that w2k3 converts the & in the cldap query to an |
for the ldap search. at least it behaves roughly like that.
(This used to be commit 1d6ab9aaef)
2007-10-10 13:16:42 -05:00
Andrew Tridgell
a90c731ec5 r6765: expanded the cldap test suite to test the usage of the DomainGuid,
AAC, and User attributes in cldap netlogon queries

interestingly, while WinXP generated cldap filters with these set, the
w2k3 cldap server seems to completely ignore them, so I didn't need to
alter our cldap server at all to pass the test :-)
(This used to be commit 177c8becd2)
2007-10-10 13:16:42 -05:00