summaryrefslogtreecommitdiff
path: root/source4/torture/util_smb.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-18s4-torture: provide correct torture failures for failure to connectAndrew Bartlett1-11/+9
2012-02-02smbtorture: Do not leak child processes when exitingChristof Schmitt1-0/+8
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
2011-10-19libcli: move ioctl function field defs to smb_constantsDavid Disseldorp1-1/+1
Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-03-19source4/torture: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-2/+2
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-7/+7
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-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+0
2010-02-09s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell1-2/+5
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
2009-12-15s4 torture: Add SHARE_DELETE to create_directory_handleTim Prouty1-1/+1
Tests explicitly checking share modes should open the dir/file with the share mode they want to test.
2009-12-03s4 torture: Convert create_complex_file to use BASIC_INFO instead of ↵Zachary Loafman1-20/+26
deprecated command Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-10-17s4-torture: add a special check for administrators and privilegesAndrew Tridgell1-0/+36
lsa privileges calls don't expand groups. darn.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-1/+1
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-09-13util_smb: For some (unknown) reason the previous patch changed the ↵Matthias Dieter Wallnöfer1-0/+0
permissions - Reset them
2009-09-13Port the Samba 4 shm_setup to QNX.Matt Kraai1-0/+18
2009-02-02s4:torture/util_smb: s/class/classnumStefan Metzmacher1-3/+3
metze
2009-01-02Fix warnings in make test code.Jeremy Allison1-1/+4
Jeremy.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
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-11-02Remove another use of global_loadparm.Jelmer Vernooij1-1/+2
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-02Fix the build.Jelmer Vernooij1-0/+1
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-1/+2
2008-10-12Fix number of arguments for file_load() functions.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30Cope with API changes.Jelmer Vernooij1-1/+3
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+0
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-14Fix problems with event context not being the parent.Simo Sorce1-2/+1
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-06libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKSStefan Metzmacher1-3/+3
But the keep the default to always send it when the server supports it too. metze (This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
2008-02-09torture: Merge util.c into util_smb.cJelmer Vernooij1-0/+39
(This used to be commit d19d27f406c0377d98c9fe9da9284dcebd373bb7)
2008-01-05r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-1/+5
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij1-1/+4
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-0/+1
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26271: Remove some more uses of global_loadparm.Jelmer Vernooij1-2/+3
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-15/+16
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-1/+1
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-26/+26
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-5/+5
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-7/+7
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24882: Use the torture API in BASE-CHARSET.Jelmer Vernooij1-4/+3
(This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
2007-10-10r24670: Use torture functions for settings.Jelmer Vernooij1-1/+1
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22969: fix some more places where we could end up with more than one eventAndrew Tridgell1-1/+3
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 c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10r22838: Add in an explority test for what QFSINFO operations are valid on IPC$Andrew Bartlett1-2/+2
It seems most opertaions are supported, but that the values are not consistant. I think these are very much hand-hacked stubs, which is what they will be on Samba4 too. I'll need to add some more 'don't fail for...' hacks before this passes against Win2k3. Andrew Bartlett (This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
2007-10-10r22834: fixed a memory leak in the torture_open_connection() code, and removedAndrew Tridgell1-42/+37
the duplicate handling of the unclist. This now exposes a function torture_get_conn_index() which can be used by tests to work out which host to talk to using the unclist. I will be using that as part of a set of tests for clustered Samba that need to do auto-reconnect (to allow testing of cluster node failure) (This used to be commit b505c176a8d90e406fbf9a94840267d1d9dc34c6)
2007-10-10r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij1-0/+1
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+1
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)