summaryrefslogtreecommitdiff
path: root/source4/torture/masktest.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+0
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-2/+0
This reduces compile time somewhat.
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-3/+6
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-1/+4
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-3/+6
2008-10-22masktest: Avoid creating new memory context, use dynamic allocation.Jelmer Vernooij1-8/+10
2008-10-22Change some dynamic allocations back to static buffers to fix build.Jelmer Vernooij1-11/+7
2008-10-22Repel pstring to nsswitch/.Jelmer Vernooij1-18/+21
2008-09-30Cope with API changes.Jelmer Vernooij1-3/+6
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-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-2/+7
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-02-15fixed masktest to use popt, and fixed the incorrect pstring conversionAndrew Tridgell1-94/+63
(This used to be commit c37133fd95e6d02a0cdf0f7b5408211740d8046c)
2008-02-15fixed loadparm handling in standalone testsAndrew Tridgell1-1/+1
(This used to be commit 2633f4259ed30ab990017c4c3205f92bf38f0135)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-3/+9
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-3/+5
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2007-12-26r26606: masktest: Dynamically allocate strings.Kai Blin1-21/+27
(This used to be commit c38f3c6fe9c54339805490ab5ecd6b3d13a35bdb)
2007-12-26r26605: masktest: Get rid of pstrings.Kai Blin1-23/+35
(This used to be commit d54fcf4f826d3c650c19eea9ccc45b786c6ae68a)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-2/+0
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-2/+3
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26382: Remove more uses of global_loadparm.Jelmer Vernooij1-2/+0
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
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-21r26278: Tallocify convenience table for iconv handles.Jelmer Vernooij1-1/+1
(This used to be commit ad64b3baa4a5383c603d17ae75c33083af4690bb)
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-1/+1
cli_credentials_guess(). (This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-1/+1
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
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-9/+9
(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-10r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij1-2/+2
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
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-4/+0
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell1-0/+4
(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-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-2/+2
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach1-7/+8
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r14980: fixed several IBM checker errors in gentest and masktestAndrew Tridgell1-0/+2
(This used to be commit 98016479a9f61b7a4aef83f7eef2876d84013e57)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-1/+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-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)
2007-10-10r10528: Add credentials.h back into includes.h as some compilers don'tJelmer Vernooij1-1/+0
seem to be able to handle incomplete enum types. (This used to be commit 540155fad3c8e3d79fb631bb3f14273f82130a73)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-0/+1
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10315: Remove use of fstring and pstring in dynconfig.cJelmer Vernooij1-1/+1
Remove unused includes of dynconfig.h (This used to be commit 59083b7ba60d518ddb59646c4fd69938afd079b3)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-1/+1
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell1-1/+1
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)