1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

2020 Commits

Author SHA1 Message Date
Andrew Tridgell
67e2cf9217 r19298: make sure torture_fail() gives a useful message
Jelmer, is there a better approach for this?
2007-10-10 14:21:04 -05:00
Andrew Tridgell
10f8260455 r19294: a little speed tester for ldb/tdb
I wrote this to see if using a ldb for idmap store (the equivalent of
winbindd_idmap.tdb) makes sense. It's a long lived database that
administrators may wish to edit, so ldb makes sense, but at the moment
ldb is too slow. This test will help us speed it up.
2007-10-10 14:21:03 -05:00
Volker Lendecke
f381232c3a r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
2007-10-10 14:21:03 -05:00
Andrew Bartlett
0546f487f4 r19266: Add a target_hostname element to the binding struct. This allows us
to perform a lookup once, resolve the name to an IP, while still
communicating the full name to the lower layers, for kerberos etc.

This fixes 'net samdump', which was failing due to the schannel target
name being *smbserver.

Andrew Bartlett
2007-10-10 14:21:00 -05:00
Rafal Szczesniak
dba5e642a0 r19251: fix silly typos causing the test to fail at account_name
and acct_expiry fields.

rafal
2007-10-10 14:20:57 -05:00
Volker Lendecke
b7e54501f7 r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
had tested that w2k3 copies the input server name to output.

Volker
2007-10-10 14:20:57 -05:00
Volker Lendecke
6991864a03 r19205: Some consolidation 2007-10-10 14:20:54 -05:00
Volker Lendecke
603ecde9bc r19204: Samba3 does level6 now 2007-10-10 14:20:53 -05:00
Volker Lendecke
f67a0159d1 r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again 2007-10-10 14:20:53 -05:00
Volker Lendecke
15c3b5d26e r19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state 2007-10-10 14:20:53 -05:00
Volker Lendecke
03eaf0edf9 r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
f8afdac471 r19187: this function should be static...
(this also fix compiler warnings)

metze
2007-10-10 14:20:51 -05:00
Rafal Szczesniak
795a37e170 r19174: fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).

rafal
2007-10-10 14:20:49 -05:00
Volker Lendecke
bd50a59294 r19153: Simple consistency check for enumprinters level 2 as well 2007-10-10 14:20:44 -05:00
Volker Lendecke
593b17c8e5 r19152: A simple consistency check for enumprinters 2007-10-10 14:20:44 -05:00
Stefan Metzmacher
e95a1ab2cd r19035: add LOCAL-REPLACE test
metze
2007-10-10 14:20:30 -05:00
Volker Lendecke
7304abe595 r19027: Modify RPC-SAMBA3-SPOOLSS so that it can be activated in the build farm 2007-10-10 14:20:30 -05:00
Rafal Szczesniak
16fde3b8e2 r19025: - remove read-only and policy dependent fields and flags
- do not stop NET-API-USERMODIFY test when a single field fails
- add account flags to the fields tested
- separate "cleanup" step from closing domain at the end

rafal
2007-10-10 14:20:29 -05:00
Stefan Metzmacher
49755f2224 r18994: - torture_register_suite should be public
- some whitespace cleanups

metze
2007-10-10 14:20:27 -05:00
Andrew Tridgell
6cce709d08 r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.
2007-10-10 14:20:25 -05:00
Andrew Tridgell
fddb85bfa8 r18860: fixed some code that bitrotted while we didn't have the safety check
with NTSTATUS, WERROR etc.
2007-10-10 14:20:16 -05:00
Günther Deschner
dc1b8a3aae r18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead of
WERR_OK) in the dfs torture test.

Guenther
2007-10-10 14:20:15 -05:00
Andrew Tridgell
54894fb8b8 r18838: make sure we cleanup after SMB2-MAXWRITE (it creates a large file) 2007-10-10 14:20:14 -05:00
Andrew Tridgell
1e34e4d5a1 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs. 2007-10-10 14:19:16 -05:00
Günther Deschner
5af5c18774 r18822: Automatically remove a forced dfs standard root creation.
Guenther
2007-10-10 14:19:14 -05:00
Günther Deschner
0ee0873869 r18821: Correctly name dfs_AddStdRootForced() test.
Guenther
2007-10-10 14:19:13 -05:00
Andrew Tridgell
355c6e78a9 r18808: added SMB2-MAXWRITE test and SMB2-DIR tests
expanded size of dangerous level for write in SMB2-CONNECT test
2007-10-10 14:19:13 -05:00
Andrew Tridgell
6f2b585f8e r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\ 2007-10-10 14:19:13 -05:00
Stefan Metzmacher
3c08e29f4f r18800: fix a write behind the buffer bug...
Thanks Herb for finding this:-)

This was my bug, I typed it in on gd's laptop and he just run 'svn ci'

metze
2007-10-10 14:19:12 -05:00
Günther Deschner
f193c5347c r18782: Do not send random data to the password change (although that reveals
interesting new password set tests), make sure to send valid characters.

Guenther
2007-10-10 14:19:11 -05:00
Günther Deschner
3e0e9506b6 r18776: Fill in and test dfs_ManagerInitialize().
Guenther
2007-10-10 14:19:10 -05:00
Günther Deschner
dc9045b30c r18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Guenther
2007-10-10 14:19:09 -05:00
Günther Deschner
54f41ac444 r18764: Test all standalone DFS root functions in the torture test.
Guenther
2007-10-10 14:19:08 -05:00
Günther Deschner
eca9c20084 r18763: Removing old dfs_Add test, will be replaced with another one soon.
Guenther
2007-10-10 14:19:08 -05:00
Günther Deschner
ea313d5565 r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Thanks metze.

Guenther
2007-10-10 14:19:08 -05:00
Simo Sorce
f84a130c4b r18757: Disable this for now 2007-10-10 14:19:08 -05:00
Rafal Szczesniak
652a291145 r18753: expand the test so that it does a growing number of changes
(up to 8, currently) randomly generated _and_ verify if the
change has actually been made.

surprising results when running the test (I hope it's just
a bug somewhere in it or in the libnet code).

rafal
2007-10-10 14:19:07 -05:00
Günther Deschner
8f9ab07e78 r18751: Check for samr reject codes and their particular order.
Guenther
2007-10-10 14:19:07 -05:00
Günther Deschner
de5fe8350d r18741: test dfs_Enum and dfs_EnumEx in the torture test.
Guenther
2007-10-10 14:19:06 -05:00
Simo Sorce
be2f4a2c44 r18740: Some more work around srvsvc 2007-10-10 14:19:06 -05:00
Rafal Szczesniak
1289d419a8 r18691: Forgot to add copyright info.
rafal
2007-10-10 14:19:02 -05:00
Rafal Szczesniak
0040c08748 r18683: NET-USERMOD test changed to be able to perform multiple simultaneous
changes.

Also, some common definitions for user mod tests have been put into
a separate file.

rafal
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
35da9e4f4f r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
6df2c04e03 r18658: make the test change fields sequentially each one in turn.
now to multiple changes...

rafal
2007-10-10 14:19:00 -05:00
Jelmer Vernooij
d1364ef0cd r18639: Get rid of the keepref support 2007-10-10 14:18:59 -05:00
Günther Deschner
d6cc668a6c r18637: Fix the build. Sorry,
Guenther
2007-10-10 14:18:59 -05:00
Rafal Szczesniak
c68ec9109e r18631: correct unintentional commit.
rafal
2007-10-10 14:18:58 -05:00
Rafal Szczesniak
f6d4f356b3 r18626: fix cleanup function to safely recover after interrupted test
and add one requested field in to the function creating testing
set of changes for user modify routine.

rafal
2007-10-10 14:18:57 -05:00
Günther Deschner
3e42ccc609 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
2007-10-10 14:18:57 -05:00
Andrew Tridgell
fb5b8c4f8c r18585: 50 open searches is still too many for some of the build farm hosts,
which have a ulimit -n of 100. Drop the number of searches to 20.

That should limit the maximum total fd count to about 76, most of
which is all the listening sockets on the various interfaces
2007-10-10 14:18:52 -05:00