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

2097 Commits

Author SHA1 Message Date
Andrew Tridgell
921f73c7e5 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
2007-10-10 14:19:16 -05:00
Günther Deschner
492b8d38bf r18822: Automatically remove a forced dfs standard root creation.
Guenther
(This used to be commit 5af5c1877465092b0682d4f166f6e33511e4a292)
2007-10-10 14:19:14 -05:00
Günther Deschner
677b680fcd r18821: Correctly name dfs_AddStdRootForced() test.
Guenther
(This used to be commit 0ee08738697bee4fbeebb1e45211d193a6dc7abb)
2007-10-10 14:19:13 -05:00
Andrew Tridgell
8c3b54f01d r18808: added SMB2-MAXWRITE test and SMB2-DIR tests
expanded size of dangerous level for write in SMB2-CONNECT test
(This used to be commit 355c6e78a91f4e934479829e722f873ca7e66baf)
2007-10-10 14:19:13 -05:00
Andrew Tridgell
4f913d91cb r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\
(This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f)
2007-10-10 14:19:13 -05:00
Stefan Metzmacher
ead672ea09 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
(This used to be commit 3c08e29f4fdde586084bdcf1b36eaf92ae944750)
2007-10-10 14:19:12 -05:00
Günther Deschner
da94f9ffd9 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
(This used to be commit f193c5347cf5ef019becbc98965b83c6b249483c)
2007-10-10 14:19:11 -05:00
Günther Deschner
3a3da493f0 r18776: Fill in and test dfs_ManagerInitialize().
Guenther
(This used to be commit 3e0e9506b62322cba65d992fc8d783001595e7e7)
2007-10-10 14:19:10 -05:00
Günther Deschner
448544935c r18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Guenther
(This used to be commit dc9045b30c97e676a4d77356d3430f7337089ab5)
2007-10-10 14:19:09 -05:00
Günther Deschner
1556c70f7b r18764: Test all standalone DFS root functions in the torture test.
Guenther
(This used to be commit 54f41ac444b9dd083ca1bd33bc8a2585f3c03344)
2007-10-10 14:19:08 -05:00
Günther Deschner
71f3672048 r18763: Removing old dfs_Add test, will be replaced with another one soon.
Guenther
(This used to be commit eca9c200849d02006c171b7fe87b85054c26b7a5)
2007-10-10 14:19:08 -05:00
Günther Deschner
13b3421d96 r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Thanks metze.

Guenther
(This used to be commit ea313d55655626cd4c8058cf5e89c0baa1cdcd6d)
2007-10-10 14:19:08 -05:00
Simo Sorce
a0ea586b25 r18757: Disable this for now
(This used to be commit f84a130c4bda8cc0221fff324d93a8617cacc511)
2007-10-10 14:19:08 -05:00
Rafal Szczesniak
e99a0dd94a 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
(This used to be commit 652a291145ac18de2734266ebba843abe659b7db)
2007-10-10 14:19:07 -05:00
Günther Deschner
dfddcf65a9 r18751: Check for samr reject codes and their particular order.
Guenther
(This used to be commit 8f9ab07e78a3c89085754c9f6447c2b56292980c)
2007-10-10 14:19:07 -05:00
Günther Deschner
5915254bdf r18741: test dfs_Enum and dfs_EnumEx in the torture test.
Guenther
(This used to be commit de5fe8350d7c5812d4197ad2712275f338e43243)
2007-10-10 14:19:06 -05:00
Simo Sorce
fec00fd6f8 r18740: Some more work around srvsvc
(This used to be commit be2f4a2c44ed2b4d586f0d6e9976158f33fb29d8)
2007-10-10 14:19:06 -05:00
Rafal Szczesniak
4818a6474c r18691: Forgot to add copyright info.
rafal
(This used to be commit 1289d419a8fc3e541d9d2f1812e169800d650e71)
2007-10-10 14:19:02 -05:00
Rafal Szczesniak
a76d3734ae 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
(This used to be commit 0040c087481be68d44a0b59744be5c5e569fd8a4)
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
906a74040a r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze
(This used to be commit 35da9e4f4ff6082ea938c9c72992015f8b26280c)
2007-10-10 14:19:00 -05:00
Rafal Szczesniak
07fb9f2f04 r18658: make the test change fields sequentially each one in turn.
now to multiple changes...

rafal
(This used to be commit 6df2c04e03ac6b7d518edfee7fd6a5de299bf9d4)
2007-10-10 14:19:00 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10 14:18:59 -05:00
Günther Deschner
a27d4335f2 r18637: Fix the build. Sorry,
Guenther
(This used to be commit d6cc668a6c1dcf45d06a1f666d5341f2a6e7f131)
2007-10-10 14:18:59 -05:00
Rafal Szczesniak
1eebe9cbe5 r18631: correct unintentional commit.
rafal
(This used to be commit c68ec9109e970d899672b8c9db12c181ff6c3b59)
2007-10-10 14:18:58 -05:00
Rafal Szczesniak
d9f0b24cb7 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
(This used to be commit f6d4f356b3de03baa3d1672730195668bbfdc9c7)
2007-10-10 14:18:57 -05:00
Günther Deschner
afa7c10fe8 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
(This used to be commit 3e42ccc6096198458f66841f91234f670ceb59c4)
2007-10-10 14:18:57 -05:00
Andrew Tridgell
9bda2c3ff2 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
(This used to be commit fb5b8c4f8c1ed69e3a813befeeb2a9627e84c454)
2007-10-10 14:18:52 -05:00
Andrew Tridgell
6adb5717f5 r18566: fixed the winreg pipe and winreg tests
Jerry, there is a big difference on the wire between these two:

  [out] uint32 x;
and
  [out] uint32 *x;

if you change from

  [out] uint32 x;

then you need to change to:

  [out,ref] uint32 *x;

otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.

but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).

I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.

So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)
(This used to be commit 555aed43ba3c08360ca7fa921622b80732a7f657)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
d9b4bdd5bb r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
(This used to be commit ab0a798c57564901f0adcd8aedc1ef0928e79edd)
2007-10-10 14:18:47 -05:00
Gerald Carter
dce0c9e4fd r18561: Fix [out] pointers in winreg IDL
(This used to be commit 694677dafefdd94fa0a9bed93efab70c528dcb26)
2007-10-10 14:18:46 -05:00
Andrew Tridgell
d928bce0d8 r18541: with 100 old style searches we can run out of file descriptors on some
systems. drop to 50
(This used to be commit ce5d5a187264af2b87e2919bdcc5f478cce02df9)
2007-10-10 14:18:44 -05:00
Andrew Tridgell
0541807adf r18517: I find it less confusing if tests are run in the order they are
added.
(This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
2007-10-10 14:18:41 -05:00
Andrew Tridgell
785822590c r18516: I'm surprised that compilers allowed this at all
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10 14:18:41 -05:00
Andrew Bartlett
a133601192 r18498: While passing stack values into torture_tcase_add_test is bad, values
assigned into a static initialiser must be constant.

Wishing sweet dreams on the jet-lagged tridge :-)

Andrew Bartlett
(This used to be commit 174014d956cb1d246bd07218ea289418195a73fb)
2007-10-10 14:18:39 -05:00
Andrew Tridgell
870cae2736 r18497: fixed crash bug in irpc test - the torture_tcase_add_test() call
is passed a stack pointer from values[], which is not valid when the
torture suite is run.

Jelmer, need to be careful when converting test code not to use stack
values from the torture_XXX() call in the test suite
(This used to be commit 2744a0b385f58aaf0b45f33bec0d0a16c09709d7)
2007-10-10 14:18:38 -05:00
Stefan Metzmacher
5addf852d2 r18421: support --target=samba3, I thought that was already supported
metze
(This used to be commit 47ccea11f31be878c5bdff4f6f4e5b7685a1c796)
2007-10-10 14:18:26 -05:00
Andrew Bartlett
3a577a2a9d r18408: Only output a message if the async request fails.
Andrew Bartlett
(This used to be commit 1ea6b600f42d3ccfb75da98f2013928fda524450)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
10b54fdb52 r18406: disable local iconv test as well when iconv:native=false
(This used to be commit 77e6a09e6b1a313db2bf289ac954fe4393b569fe)
2007-10-10 14:18:24 -05:00
Stefan Metzmacher
fcc7bdf874 r18392: add sidtouid and sidtogid tests to RPC-UNIXINFO
metze
(This used to be commit f1708fd9434ee2a9ae25e9d912f0c350d8e1a256)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
fc84f0d3ca r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid

metze
(This used to be commit fb92643a8b64428e8259bc21fe04f876b24bfd84)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
c4660ea569 r18385: fix crashes in the RPC-UNIXINFO test
jelmer: I think there're a few ref pointer related bugs in pidl
        we need to discuss them the next days

metze
(This used to be commit 8c4241ecbbd9686d990073cec53dc1fde0fdde9b)
2007-10-10 14:18:22 -05:00
Andrew Tridgell
bca38ba866 r18371: made the directory depth notify test independent of timing
(This used to be commit 39458e62f576c551df016a7be4d35175dc21696e)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
2d60d3b492 r18358: handle errors in the RPC-LSA async test
(This used to be commit d46c3be9f9db6666be52b5584b0210da925106d1)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
bfe8de6949 r18356: doing 1000 of these requests can take over an hour under
valgrind. Reduce to 50, which is plenty for testing the code
(This used to be commit 911c8e1c73bf3953591755ecb4c50f5644fc9c18)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
8942893c39 r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
(This used to be commit 81fd19ba3f38ac19d8bcac56210a83fdfc8237de)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
f466901945 r18352: printf("%s") is not safe for NULL strings on all platforms, but
d_printf() is. This fixes a crash on solaris
(This used to be commit 52d156671158fa25d3a84a46c98ca1d81e4a18d1)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
2c6a880321 r18348: fixed a valgrind error in RPC-SRVSVC
(This used to be commit cc89ef3e1fd2f1d550ab65d32dfa894dc7963868)
2007-10-10 14:18:14 -05:00
Simo Sorce
dc221581f0 r18345: test also flags
(This used to be commit 06469a6ba0ee1cc8701214bcefa1d6c696b0150b)
2007-10-10 14:18:13 -05:00
Simo Sorce
8f107700a5 r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
a8421e8107 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
(This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10 14:18:13 -05:00