summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-117/+117
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-2/+2
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
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-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell1-8/+0
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell1-0/+8
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+1
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r17958: as talloc_init() enabled null tracking, we should avoid to use itStefan Metzmacher1-1/+1
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible metze (This used to be commit d1dd3df5e4fd21f5cbd00e472438fe3eadb266e5)
2007-10-10r16982: fix compiler warning, gentest will not use any SMB2 levels...Stefan Metzmacher1-0/+2
metze (This used to be commit db5a94ce0a1f1f3dda74ee5ecb0146bd762ded7c)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-25/+27
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r15813: Use labs() rather than abs() for 32-bit integers. Caught by the IBM ↵Jelmer Vernooij1-3/+3
checker. (This used to be commit 6e37084965d17d1816256d8de326e2fc6c828e13)
2007-10-10r15201: Use abs() rather then ABS()Jelmer Vernooij1-3/+3
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)
2007-10-10r14980: fixed several IBM checker errors in gentest and masktestAndrew Tridgell1-3/+4
(This used to be commit 98016479a9f61b7a4aef83f7eef2876d84013e57)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell1-25/+25
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-1/+22
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-1/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-23/+23
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell1-0/+1
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-53/+53
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r13903: Don't generate prototypes for modules and binaries in include/proto.h byJelmer Vernooij1-0/+1
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-1/+1
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij1-2/+2
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12551: fixed oplock serialisation problem in gentest as wellAndrew Tridgell1-3/+20
(This used to be commit 2055f978214c1a2732433efe38ebc0fb70ec4e70)
2007-10-10r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNSAndrew Tridgell1-1/+0
lookups in load_interfaces(). The reason was my eth0 interface was down, and it was being interpreted as a DNS name. This patch changes load_interfaces() to happening automatically when interfaces are first needed instead of on the startup of every samba binary. This means that (for example) ldbadd doesn't call load_interfaces(), which means no slow DNS lookups. I also reduced the number of static globals in interface.c to 1, and changed from malloc to talloc When you want to force a reload of the interfaces list, you now call unload_interfaces(), which means the next call that needs the interfaces list will reload it (This used to be commit f79d90bd1364b970adb2981b2572e77066431f1e)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)