Stefan Metzmacher
79351f75fe
BASE-LOCK: fix LOCK5
...
We need to close all 3 file handle to make the unlink work.
metze
2008-12-18 13:31:41 +01:00
Tim Prouty
4a9b092eb4
s4: [2/3] Fix a delete on close divergence from windows and the associated torture test
...
This second patch fixes the deltest17 BASE-DELETE torture test to pass
against win2k3/win2k8/winXPsp2
2008-12-09 18:02:31 -08:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Jelmer Vernooij
b034c519f5
Add gensec_settings structure. This wraps loadparm_context for now, but
...
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
7a6190e9a7
Remove another use of global_loadparm.
2008-11-02 01:03:26 +01:00
Jelmer Vernooij
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
37d885c51a
Remove iconv_convenience argument from convert_string{,talloc}() but
...
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
c0e14d5021
Repel pstring to nsswitch/.
2008-10-22 05:14:14 +02:00
Jelmer Vernooij
3994c42f19
Fix number of arguments for file_load() functions.
2008-10-12 19:46:38 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
181ee01da6
Pass session options around; saves another use of global_loadparm.
2008-09-30 02:47:19 +02:00
Jelmer Vernooij
c8a19f0b83
Pass options struct into session initialization functions rather than
...
using global_loadparm.
2008-09-30 01:29:53 +02:00
Jelmer Vernooij
a61c9ded40
Properly report why a test didn't succeed (required for use with known
...
failures).
2008-09-18 16:05:46 +02:00
Jelmer Vernooij
8ec93160d5
Fix last few includes to use new tdb location.
2008-09-16 16:09:50 +02:00
Jeremy Allison
6ce1c893fa
Comment the delay write time tests so I know what they're
...
testing.
Jeremy.
(This used to be commit 2bf9074c77
)
2008-09-12 14:59:32 -07:00
Jeremy Allison
bc731db854
A truncate write must be a smbcli_smbwrite, not a
...
smbcli_write.
Jeremy.
(This used to be commit 8cebd4d36c
)
2008-09-09 21:24:34 -07:00
Jeremy Allison
2c2a79eefa
Make it easier to see when tests start/end.
...
Jeremy.
(This used to be commit 6f89e72827
)
2008-09-08 14:58:58 -07:00
Stefan Metzmacher
ad34034797
BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and writeX again
...
metze
(This used to be commit 66b8c8d80e
)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
f009e78864
BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite again
...
metze
(This used to be commit 051164ba0a
)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
1cf9d7e078
BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time after SET_FILE_INFO
...
metze
(This used to be commit f81014db9d
)
2008-09-08 16:22:53 +02:00
Stefan Metzmacher
a626b01193
BASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn't matter
...
metze
(This used to be commit 13d051cd63
)
2008-09-08 12:12:25 +02:00
Stefan Metzmacher
3ca48b015f
BASE-DELAYWRITE: test more details of the truncate write time update behavior
...
metze
(This used to be commit 39367ef15f
)
2008-09-08 08:31:34 +02:00
Jeremy Allison
56b6b4a68f
Don't compare identity, it'll never be different.
...
Jeremy.
(This used to be commit 840369b553
)
2008-09-05 21:47:06 -07:00
Jeremy Allison
0d0fddf8ae
Added tests that show that write time update is immediate
...
when changing file size using SMBwrite of size zero,
SET_END_OF_FILE, or SET_ALLOCATION_SIZE - no 2 second
delay in these cases.
Jeremy.
(This used to be commit 3aa7523d77
)
2008-09-05 14:24:36 -07:00
Stefan Metzmacher
bbbe06fb09
torture: .in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit ba8499867a
)
2008-07-07 20:59:18 +02:00
Andrew Tridgell
70219bee13
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 9d74201e46
)
2008-06-03 15:11:42 -07:00
Stefan Metzmacher
6610a6c49a
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
...
metze
(This used to be commit fde9880f99
)
2008-06-03 14:03:49 +02:00
Stefan Metzmacher
fb4c9dd5eb
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
...
metze
(This used to be commit 9c004df891
)
2008-06-03 11:17:17 +02:00
Andrew Tridgell
e7b30f023b
remove unused macros
...
(This used to be commit 7a1877db15
)
2008-06-02 11:04:36 +10:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1
)
2008-04-13 22:00:36 +02:00
Stefan Metzmacher
4677ac6e70
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
...
metze
(This used to be commit 9c18cf6708
)
2008-04-08 19:42:06 +02:00
Stefan Metzmacher
edb3a83a06
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
...
metze
(This used to be commit 751ab2992a
)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
db2a2382d1
BASE-DEFER_OPEN: be less strict with to late responses
...
The server might be just busy.
metze
(This used to be commit 16c60cd347
)
2008-02-26 10:31:37 +01:00
Stefan Metzmacher
a622f80c65
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
...
metze
(This used to be commit 877cc375d0
)
2008-02-25 07:39:23 +01:00
Jelmer Vernooij
d9f8232c34
Remove more uses of global_loadparm.
...
(This used to be commit 230355d2e6
)
2008-02-21 15:21:45 +01:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
dc8ccffed4
r26653: Janitorial: Remove global_loadparm use in two more places.
...
(This used to be commit 65fbb4700d
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688
r26651: libsmb: Allow specifying signing policy from higher up.
...
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
969b8579c7
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
...
(This used to be commit 0ef75e4e3c
)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
...
(This used to be commit 385ffe4f4c
)
2008-01-02 12:48:03 -06:00
Kai Blin
1786af425b
r26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
...
(This used to be commit 59286797cb
)
2007-12-21 05:50:30 +01:00
Jelmer Vernooij
5e00673a40
r26438: Store iconv convenience in tdr push contexts.
...
(This used to be commit dffef31627
)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00