Stefan Metzmacher
ba864b83fa
s4:torture: add support for SMB_EXTENDED_SIGNATURES during SMBtconX
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
e9562530d9
s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
2012-08-02 10:54:18 +02:00
Stefan Metzmacher
18bd029ffb
s4:torture: remove unused shm_setup()
...
metze
2012-07-25 12:15:02 +02:00
Stefan Metzmacher
97b1776cb6
s4:torture: replace shm_setup() with anonymous_shared_allocate()
...
metze
2012-07-25 12:15:02 +02:00
Andrew Bartlett
e919cadcca
s4-torture: provide correct torture failures for failure to connect
2012-05-18 15:44:43 +10:00
Christof Schmitt
c892217a12
smbtorture: Do not leak child processes when exiting
...
When some child processes could not be created, smbtorture would exit
and leave the successfully started child processes running. Add a loop
to kill the existing child processes for this case.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 2 01:35:27 CET 2012 on sn-devel-104
2012-02-02 01:35:27 +01:00
David Disseldorp
281fc93c6b
libcli: move ioctl function field defs to smb_constants
...
Currently there are a lot of duplicate ioctl function field definitions
between source3 and source4.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19 15:44:29 +02:00
Jelmer Vernooij
fc720be5a2
source4/torture: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Björn Jacke
2b254c814b
s3/s4: merge msleep and smb_msleep
...
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
2010-09-16 21:38:20 +02:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Andrew Tridgell
580f955664
s4-torture: allow host-only in unc lists in smbtorture
...
Allow UNC lists like this:
192.168.2.1
192.168.2.2
192.168.2.3
the share name will be taken from the command line
2010-02-09 14:46:09 +11:00
Tim Prouty
d732fb43a6
s4 torture: Add SHARE_DELETE to create_directory_handle
...
Tests explicitly checking share modes should open the dir/file
with the share mode they want to test.
2009-12-15 09:13:24 -08:00
Zachary Loafman
4f6d5d0b86
s4 torture: Convert create_complex_file to use BASIC_INFO instead of deprecated command
...
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-03 20:46:29 -08:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Andrew Tridgell
7226ba73a0
s4-torture: add a special check for administrators and privileges
...
lsa privileges calls don't expand groups. darn.
2009-10-17 13:01:03 +11:00
Andrew Tridgell
3c028ff88b
s4-smb: declare root_fid as a file handle
...
In order to implement root_fid in the s4 SMB server we need to declare
it as a handle type, just as for other fnum values in SMB. This
required some extensive (but simple) changes in many bits of code.
2009-10-15 20:03:00 +11:00
Matthias Dieter Wallnöfer
5f58119fe5
util_smb: For some (unknown) reason the previous patch changed the permissions - Reset them
2009-09-13 10:53:30 +02:00
Matt Kraai
cce3e66665
Port the Samba 4 shm_setup to QNX.
2009-09-13 10:49:28 +02:00
Stefan Metzmacher
fb5346f3bb
s4:torture/util_smb: s/class/classnum
...
metze
2009-02-02 13:09:20 +01:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01: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
3ebc574be4
Fix the build.
2008-11-02 02:30:21 +01:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +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
235b729309
Cope with API changes.
2008-09-30 03:07:08 +02: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
4f51b0246d
Fix problems with event context not being the parent.
...
(This used to be commit 957c4d893a
)
2008-04-14 12:45:51 -04: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
3cbe47b2ae
libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
...
But the keep the default to always send it
when the server supports it too.
metze
(This used to be commit 33caaef2e4
)
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
0938fad4f1
torture: Merge util.c into util_smb.c
...
(This used to be commit d19d27f406
)
2008-02-09 14:26:46 +01:00
Jelmer Vernooij
df408d056e
r26672: Janitorial: Remove uses of global_loadparm.
...
(This used to be commit 18cd08623e
)
2008-01-05 13:06:03 -06: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
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
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56
)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
0a2f1a46a0
r26249: Remove a couple more uses of global_loadparm.
...
(This used to be commit 80a6120050
)
2007-12-21 05:47:27 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a553054
)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9
)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28
)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
ac2a701483
r24882: Use the torture API in BASE-CHARSET.
...
(This used to be commit 93910d92cd
)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
d981c69a18
r24670: Use torture functions for settings.
...
(This used to be commit a690667630
)
2007-10-10 15:02:36 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
c42219d735
r22969: fix some more places where we could end up with more than one event
...
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb656
)
2007-10-10 14:52:34 -05:00