summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
Commit message (Collapse)AuthorAgeFilesLines
* s4: torture: Remove talloc_autofree_context() from gentest.Jeremy Allison2017-05-051-3/+16
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* torture/gentest time_skew(): don't use labs() on unsigned NTTIMEDouglas Bagnall2015-12-241-1/+6
| | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture: avoid argv related const warningsStefan Metzmacher2014-04-021-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/gentest: make use of cli_credentials_get_username()Stefan Metzmacher2013-08-051-1/+2
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix bug 10025 - Lack of Sanity Checking in calls to malloc()/calloc().Bill Parker2013-07-171-0/+8
| | | | | | | | | | | | | In reviewing various files in Samba-4.0.7, I found a number of instances where malloc()/calloc() were called without the checking the return value for a value of NULL, which would indicate failure. (NB. The changes needed to ccan, iniparser, popt and heimdal will be reported upstream, not patched inside Samba). Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Source <idra@samba.org>
* s4:gentest: get the tid from the smbcli_tree structStefan Metzmacher2011-11-291-2/+4
| | | | metze
* s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-241-4/+13
| | | | metze
* s4:ntvfs subsystems - rework it using concrete enum valuesMatthias Dieter Wallnöfer2011-06-161-1/+21
| | | | | This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply with metze's plans.
* s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer2011-06-091-9/+1
| | | | | | Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-1/+1
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-161-1/+1
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-11/+11
| | | | | | | 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>
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-1/+0
|
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-20/+20
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman2009-11-251-1/+1
| | | | | The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-3/+3
| | | | | | 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.
* s4:libcliraw: s/private/private_dataStefan Metzmacher2009-02-021-1/+1
| | | | metze
* s4:torture: s/private/private_dataStefan Metzmacher2009-02-021-6/+6
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-5/+5
| | | | | | | | | | | | | | | | | | | | 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
* Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij2008-11-021-1/+2
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-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.
* Fix build for make everything.Jelmer Vernooij2008-11-021-0/+2
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-011-1/+3
|
* Eliminate another instance of global_loadparm.Jelmer Vernooij2008-10-241-1/+2
|
* Use common util_file code.Jelmer Vernooij2008-10-121-2/+2
|
* Cope with API changes.Jelmer Vernooij2008-09-301-1/+4
|
* fixed setpathinfo in gentest to not zero the filename/handleAndrew Tridgell2008-09-241-5/+2
|
* support NT_STATUS_XX:NT_STATUS_YY syntax in ignore filesAndrew Tridgell2008-09-241-1/+15
|
* test setinfo FULL_EA_INFORMATION in gentestAndrew Tridgell2008-09-231-1/+8
|
* fixed a memory error in change notify handling in gentestAndrew Tridgell2008-09-231-2/+1
|
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-1/+1
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* handle NULL fields in blob comparisonAndrew Tridgell2008-06-061-1/+3
| | | | (This used to be commit 0643b5a2bfc401d8318964241ad522eb427a170e)
* more updates for new info levelsAndrew Tridgell2008-06-021-7/+8
| | | | (This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
* implemented client side SMB2 signingAndrew Tridgell2008-05-301-3/+4
| | | | | | | | This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
* merged gentest.c and gentest_smb2.cAndrew Tridgell2008-05-291-476/+1401
| | | | | | The one gentest tool now covers both SMB and SMB2, using the command line switch --smb2 for SMB2 (This used to be commit d1125a303a31fbe08a9bd0064ec132b4d7cbb131)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-05-281-1/+1
|\ | | | | | | (This used to be commit ecb0e5477aa63180daade5c597e7ac2aebfc1e15)
| * Use new dynconfig.h location.Jelmer Vernooij2008-05-271-1/+1
| | | | | | | | (This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
* | added --skip-cleanup to gentestAndrew Tridgell2008-05-281-0/+7
|/ | | | (This used to be commit 0bc3de0cc4ad8a9d1a8582852f7f42cf56dd5a3e)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-13/+20
| | | | | | | | 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 3045d391626fba169aa26be52174883e18d323e9)
* fixed popt handling on 64bit boxes in gentestAndrew Tridgell2008-04-161-7/+7
| | | | (This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)
* fixed some options that could not be overridden on the command lineAndrew Tridgell2008-02-151-10/+3
| | | | (This used to be commit eea486d8942fdda769684fa6e825c0f899cf3304)
* convert gentest to use popt and the cmdline libraryAndrew Tridgell2008-02-151-83/+83
| | | | (This used to be commit 681366b956a71aa7bd16b75263ccd73ddc680082)
* fixed loadparm handling in standalone testsAndrew Tridgell2008-02-151-1/+1
| | | | (This used to be commit 2633f4259ed30ab990017c4c3205f92bf38f0135)
* gentest: Fix a warning.Kai Blin2008-01-111-1/+3
| | | | (This used to be commit d41b2e5ccd113ecf2f99896b1ce061ecb9ecc54d)
* r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2008-01-031-1/+3
| | | | | | options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
* r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij2008-01-021-1/+4
| | | | | | functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-12/+13
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r26352: Don't make lp_load create a new context.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit d0d5c1a823a6601292c061dba2b6f4bde2b9e3dd)
* r26339: Make loadparm talloc-allocated.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 1e02cd8db1d65ff72b747833904a10b47749b1fb)