Jeremy Allison
c260bfa5d7
Add simple POSIX open, mkdir and rmdir test.
...
Jeremy.
2009-03-11 14:28:47 -07:00
Tim Prouty
2bfd2c58f8
s3 torture: Simple warning fix
2009-03-11 13:09:24 -07:00
Stefan Metzmacher
9579a6f193
s3:libsmb: add an option to cli_push to let the caller provide the buffers
...
metze
2009-03-10 14:07:56 +01:00
Volker Lendecke
0844cca1d5
Replace get_myname() with the talloc version from v3-3-test
2009-02-13 12:15:03 +01:00
Tim Prouty
abec7cfa16
s3: Remove some unused vars
2009-02-10 22:18:35 -08:00
Steven Danneman
af0e199b31
Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIR
...
* this allows VFS implementations that prefetch stat information on
readdir to return it through one VFS call
* backwards compatibility is maintained by passing in NULL
* if the system readdir doesn't return stat info, the stat struct is
set to invalid
2009-02-09 23:56:16 -08:00
Kai Blin
c3b9b6c8aa
async_sock: Use unix errnos instead of NTSTATUS
...
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would
be pointless to convert to errno first and to wbcErr later.
2009-02-09 08:36:08 +01:00
Volker Lendecke
0bd92281e4
Make cli_tcon_andx async
2009-01-30 12:47:59 +01:00
Stefan Metzmacher
c2a2006f8a
s3:torture: support SMB_CONF_PATH envvar in smbtorture
...
metze
2009-01-28 10:59:17 +01:00
todd stecher
48b0016cff
Extend NTIMES to allow setting create_time
...
1) Add in smb_file_time struct to clarify code and make room for createtime.
2) Get and set create time from SMB messages.
3) Fixup existing VFS modules + examples Some OS'es allow for the
setting of the birthtime through kernel interfaces. This value is
generically used for Windows createtime, but is not settable in the
code today.
2009-01-23 21:05:38 -08:00
Stefan Metzmacher
a4d605344b
s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() instead
...
metze
2009-01-22 12:37:31 +01:00
Volker Lendecke
1b328d9820
Add a quick test of wb_trans_send/recv
2009-01-04 16:42:40 +01:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Volker Lendecke
ff50a88331
Print the vuid in BENCH-SESSSETUP
2008-12-30 11:26:10 +01:00
Volker Lendecke
3dfb0e9467
Fix SESSSETUP_BENCH torture test for long runtimes
...
deadtime hits without any files open. To enable long runtimes, open a file with
delete_on_close set.
2008-12-29 17:15:43 +01:00
Volker Lendecke
d26a34c22f
Extend the chain1 test with write&x
2008-12-19 23:49:43 +01:00
Volker Lendecke
9915045a45
Add a torture test simulating Windows write behaviour
...
Jeremy, enjoy :-)
2008-12-19 23:44:41 +01:00
Volker Lendecke
bb8ca0fdbf
Make cli_negprot return NTSTATUS instead of bool
2008-12-19 10:28:30 +01:00
Volker Lendecke
96a3d7be31
cli_negprot_send -> cli_negprot_sendsync
2008-12-19 10:28:20 +01:00
Tim Prouty
1eb743ab8e
s3: Change sockaddr util function names for consistency
...
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Volker Lendecke
3c98d5bd98
Make memcache_add_talloc NULL out the source pointer
...
This is an orthogonality measure to make clear this pointer now belongs to the
cache.
(cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
2008-11-14 20:27:46 +01:00
Volker Lendecke
f50ad76750
Actually finish memcache_add_talloc
...
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for
looking closely!
Volker
(cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
2008-11-14 20:07:29 +01:00
Jelmer Vernooij
7b186c48d3
Remove sys_dl*() - stubs are already provided by libreplace.
2008-11-01 03:49:49 +01:00
Günther Deschner
c0cf457c85
s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.
...
Guenther
2008-10-22 21:37:36 +02:00
Jelmer Vernooij
593549fc00
Fix build of 'everything'
2008-10-18 14:28:48 +02:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Jelmer Vernooij
4746f79d50
Use {u,}int64_t instead of SMB_BIG_{U,}INT.
2008-10-14 01:59:36 +02:00
Jelmer Vernooij
aa982895e5
Add data_blob_string_const_null() function that includes the terminating
...
null byte and use it in Samba 3.
This matches the behaviour prior to my data_blob changes.
2008-10-13 05:20:26 +02:00
Jelmer Vernooij
cbe4f1b4fa
Move zlib to top-level root.
2008-10-12 18:29:36 +02:00
Steven Danneman
47feb17228
Fix build warning on FreeBSD
...
Fix for the following build warning:
Compiling torture/cmd_vfs.c
torture/cmd_vfs.c: In function `cmd_open':
torture/cmd_vfs.c:275: warning: unsigned int format, different type arg (arg 3)
torture/cmd_vfs.c: In function `cmd_mknod':
torture/cmd_vfs.c:992: warning: unsigned int format, different type arg (arg 3)
sccanf had mismatched types for mode_t between formating parameter and var args.
2008-09-15 16:13:24 -07:00
Volker Lendecke
228a12681b
Add async smbecho client support
...
(This used to be commit c1d645fbe3
)
2008-08-28 18:16:00 +02:00
Volker Lendecke
b054f14111
Activate code to enable chained requests
...
Add the CHAIN1 torture test
(This used to be commit 82992d74a9
)
2008-08-28 18:15:59 +02:00
Jeremy Allison
0a60b89335
Merge from Herb. print correct test status
...
(This used to be commit 8cb7ae011c
)
2008-08-12 14:40:01 -07:00
Volker Lendecke
d3def9a18c
Revert "Pass NULL to gencache_get when we are not interested in the timeout value"
...
This reverts commit 16062dfc3d
.
(This used to be commit 114ca85775
)
2008-07-11 17:53:25 +02:00
Volker Lendecke
962beb2872
Pass NULL to gencache_get when we are not interested in the timeout value
...
(This used to be commit 16062dfc3d
)
2008-07-03 15:17:58 +02:00
Michael Adam
50b5a7dc62
rpc_open_tcp: now drsuapi is complete, we can use it in the test program.
...
Michael
(This used to be commit 73eb8b7386
)
2008-05-24 01:33:52 +02:00
Michael Adam
5a2206f254
torture: add a test program rpc_open_tcp() to test the rpc_pipe_open_tcp() func.
...
This is still very raw and has yet to be integrated into the test suite.
Michael
(This used to be commit 3ec3ab4e53
)
2008-05-22 11:30:03 +02:00
Tim Prouty
fb37f15600
Cleanup size_t return values in callers of convert_string_allocate
...
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5
)
2008-05-20 22:40:13 +02:00
Volker Lendecke
5bda9a8af0
Remove "user" from connection_struct
...
(This used to be commit 368454a27c
)
2008-05-10 11:17:01 +02:00
Volker Lendecke
95c84dd791
Make nsstest valgrind-clean: buf is referred to by the parsed grp struct
...
(This used to be commit 20ddbcaa0c
)
2008-04-22 16:55:04 +02:00
Michael Adam
0db7aba8af
Remove redundant parameter fd from SMB_VFS_CLOSE().
...
Now all those redundant fd's have vanished from the VFS API.
Michael
(This used to be commit 1429453551
)
2008-04-21 00:22:42 +02:00
Volker Lendecke
1a3cad6e6d
Print out the used seed in smbtorture
...
(This used to be commit 26d64d22d6
)
2008-03-08 22:29:35 +01:00
Michael Adam
3e581eeee9
Remove a useless variable.
...
Michael
(This used to be commit 661b9f3d77
)
2008-02-28 12:20:43 +01:00
Michael Adam
d4123ba9ee
Fix a pointer to int conversion warning: cast the int instead.
...
Michael
(This used to be commit 3cace4b7aa
)
2008-02-15 13:14:20 +01:00
Michael Adam
a10e6183aa
Fix two const warnings.
...
Michael
(This used to be commit 03db3bd077
)
2008-02-15 13:12:38 +01:00
Michael Adam
8a63e13225
Try to fix the build of smbiconv on systems without native iconv.
...
Use the smb_iconv_t instead of iconv_t.
Michael
(This used to be commit bdc00a05b9
)
2008-02-15 13:11:41 +01:00
Michael Adam
dd255b4275
Fix compiling torture/smbiconv.c: allow to use realloc directly by #undef realloc.
...
Michael
(This used to be commit 113377a792
)
2008-02-15 11:39:25 +01:00
Michael Adam
d4ab4b3af7
Remove torture/samtest.h - last trace of late samtest.
...
Michael
(This used to be commit e846148116
)
2008-02-15 11:27:42 +01:00
Volker Lendecke
8daaa5d99b
Fix some IBM checker warnings
...
(This used to be commit 0341b0be49
)
2008-01-30 19:57:10 +01:00
Kai Blin
5b5d56d84a
ntlm_auth: test should honour configfile option to run on build farm.
...
(This used to be commit 11c9c1536b
)
2008-01-30 17:57:32 +01:00