summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-05s4:torture/gentest: make use of cli_credentials_get_username()Stefan Metzmacher1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-07-17Fix bug 10025 - Lack of Sanity Checking in calls to malloc()/calloc().Bill Parker1-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>
2011-11-29s4:gentest: get the tid from the smbcli_tree structStefan Metzmacher1-2/+4
metze
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher1-4/+13
metze
2011-06-16s4:ntvfs subsystems - rework it using concrete enum valuesMatthias Dieter Wallnöfer1-1/+21
This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply with metze's plans.
2011-06-09s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer1-9/+1
Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-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
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-1/+1
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-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>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+0
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-20/+20
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-25s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman1-1/+1
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-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.
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher1-1/+1
metze
2009-02-02s4:torture: s/private/private_dataStefan Metzmacher1-6/+6
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-11-02Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij1-1/+2
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 build for make everything.Jelmer Vernooij1-0/+2
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-1/+3
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-1/+2
2008-10-12Use common util_file code.Jelmer Vernooij1-2/+2
2008-09-30Cope with API changes.Jelmer Vernooij1-1/+4
2008-09-24fixed setpathinfo in gentest to not zero the filename/handleAndrew Tridgell1-5/+2
2008-09-24support NT_STATUS_XX:NT_STATUS_YY syntax in ignore filesAndrew Tridgell1-1/+15
2008-09-23test setinfo FULL_EA_INFORMATION in gentestAndrew Tridgell1-1/+8
2008-09-23fixed a memory error in change notify handling in gentestAndrew Tridgell1-2/+1
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-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)
2008-06-06handle NULL fields in blob comparisonAndrew Tridgell1-1/+3
(This used to be commit 0643b5a2bfc401d8318964241ad522eb427a170e)
2008-06-02more updates for new info levelsAndrew Tridgell1-7/+8
(This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
2008-05-30implemented client side SMB2 signingAndrew Tridgell1-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)
2008-05-29merged gentest.c and gentest_smb2.cAndrew Tridgell1-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)
2008-05-28Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-1/+1
(This used to be commit ecb0e5477aa63180daade5c597e7ac2aebfc1e15)
2008-05-28added --skip-cleanup to gentestAndrew Tridgell1-0/+7
(This used to be commit 0bc3de0cc4ad8a9d1a8582852f7f42cf56dd5a3e)
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-1/+1
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-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)
2008-04-16fixed popt handling on 64bit boxes in gentestAndrew Tridgell1-7/+7
(This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)
2008-02-15fixed some options that could not be overridden on the command lineAndrew Tridgell1-10/+3
(This used to be commit eea486d8942fdda769684fa6e825c0f899cf3304)
2008-02-15convert gentest to use popt and the cmdline libraryAndrew Tridgell1-83/+83
(This used to be commit 681366b956a71aa7bd16b75263ccd73ddc680082)
2008-02-15fixed loadparm handling in standalone testsAndrew Tridgell1-1/+1
(This used to be commit 2633f4259ed30ab990017c4c3205f92bf38f0135)
2008-01-11gentest: Fix a warning.Kai Blin1-1/+3
(This used to be commit d41b2e5ccd113ecf2f99896b1ce061ecb9ecc54d)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-1/+3
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-12/+13
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+1
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26352: Don't make lp_load create a new context.Jelmer Vernooij1-1/+2
(This used to be commit d0d5c1a823a6601292c061dba2b6f4bde2b9e3dd)
2007-12-21r26339: Make loadparm talloc-allocated.Jelmer Vernooij1-1/+1
(This used to be commit 1e02cd8db1d65ff72b747833904a10b47749b1fb)
2007-12-21r26275: return loadparm context in lp_load.Jelmer Vernooij1-4/+5
(This used to be commit d01f0f4c2037b531b3fd088060717f90e60471e9)
2007-12-21r26270: Require specifying the loadparm_context or NULL to ↵Jelmer Vernooij1-2/+2
cli_credentials_guess(). (This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
2007-12-21r26226: Avoid more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)