summaryrefslogtreecommitdiff
path: root/source3/script
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29s3:seltest: make test_smbclient_s3.sh more strictStefan Metzmacher3-15/+34
metze
2009-01-28selftest: abstract Samba3 provision a bitStefan Metzmacher1-1/+1
metze
2009-01-28s3:selftest: create BUILTIN\\Administrators at startupStefan Metzmacher2-10/+12
And add and remove the alias member via net rpc group instead of net sam. metze
2009-01-28s3:test: exit the net rpc registry tests when give_administrative_rights failsMichael Adam1-2/+5
Michael
2009-01-28s3:selftest: fix warnings with empty *_TEST_LOG variablesStefan Metzmacher1-3/+3
metze
2009-01-27Move S3 specific parameters to S3 conf file in make test.Steven Danneman1-2/+3
2009-01-26s3 make test: Fix a bug in the previous commitTim Prouty1-7/+8
Luckily the build farm caught this
2009-01-26s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty1-11/+44
- Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
2009-01-21expand-includes: Add simple protection against infinite recursion.Jelmer Vernooij1-0/+5
2009-01-21Automagically expand includes in Makefile.in during configure timeJelmer Vernooij1-0/+25
when make is not GNU Make.
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2-0/+4
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-08Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3)Jelmer Vernooij1-0/+1
2008-12-31Fix more asprintf and "ignoring return code" warnings from gcc 4.3.Jeremy Allison1-6/+8
Jeremy.
2008-12-31Enable individual smbtorture_s3 subtests in make testVolker Lendecke1-0/+4
2008-12-22Set right LD_LIBRARY_PATH for finding Samba4's libraries.Jelmer Vernooij1-8/+8
2008-12-16Consider shared IDL files and Samba3-specific IDL files separately, allow ↵Jelmer Vernooij1-3/+3
overriding output directory.
2008-12-01s3:selftest: test the streams_depot module as it passes make testStefan Metzmacher1-1/+1
The streams_xattr module only passes sometimes on my laptop. metze
2008-12-01Fix script installmo.sh when no .po file existsBo Yang1-0/+4
2008-11-13i18n/l10n pam_winbindBo Yang2-0/+84
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-11s3: Add support for make test to use a share dir outside of the prefix dirTim Prouty1-7/+21
Some systems need to have the tdbs (and other files required for samba to run) on a different filesystem than the share directory that samba is exporting. This patch: - Adds an optional "shrdir" argument to selftest.sh - If shrdir is specified it will be used, otherwise the default will be used: "<prefix>/tmp" - Adds a new configure option: --with-selftest-shrdir - Plumbs shrdir through Makefile.in and configure.in
2008-10-30mksyms.sh: Fix typo in comment.Jelmer Vernooij1-1/+1
2008-10-27[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.Michael Adam1-1/+1
Use whole argument string in test_one_global_option(), not only first. Michael
2008-10-23Share codepages.Jelmer Vernooij1-1/+1
2008-10-15Share idl_types.h.Jelmer Vernooij1-6/+6
2008-10-14s3-build: add and use IDL_PATH while building IDL files.Günther Deschner1-3/+3
Guenther
2008-10-09build: add "make test_wbpad" for checking winbind 32/64bit structure padding.Günther Deschner1-0/+82
Guenther
2008-09-21build: rebuild only changed IDL files.Günther Deschner1-1/+1
Let"s see how this works now. Guenther
2008-09-18Fix location of nss_wrapper.pl script.Jelmer Vernooij1-3/+3
2008-09-16Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed ↵Jelmer Vernooij1-4/+0
on the system.
2008-09-12Reorder defines for version for consistency with Samba 4.Jelmer Vernooij1-1/+15
(This used to be commit fe36d83508a6b1a8de5ad58ec1d0c80cda7b4a21)
2008-08-15buildoptions: output MODULESDIR.Michael Adam1-0/+1
Michael (This used to be commit bcb868e4340a856c4009450479628088a8a1628c)
2008-07-21testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.Michael Adam1-0/+2
Michael (This used to be commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad)
2008-07-21testsuite: fix another expr syntax error. in tests_all.sh.Michael Adam1-1/+1
Michael (This used to be commit 486b1bc5b5021565ec443fd463c8287c02c686b3)
2008-07-20testsuite: fix expr syntax error in net registry test.Michael Adam1-1/+1
Pointed out by Björn Jacke <bj@sernet.de>. Michael (This used to be commit 87e02bca04cb26d0d237f3ccd17be0ba2dd6d85f)
2008-07-17Simplify samba_version_string.Andreas Schneider1-0/+6
This adds a new macro for a vender version function which will be returned by the samba_version_string() function if defined. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 8b9301fbc73f28c657ec81c605760a0ff7a1973a)
2008-07-15testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam1-1/+1
as suggested by Karolin. That is what it really means. And per-share logic tests will be disabled by the same switch, too... Michael (This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)
2008-07-15testsuite: fix bug #5594 by using the new --skip-global-ckecks switchMichael Adam1-1/+1
Michael (This used to be commit 32f4b1443af12026c419684be45a7d8b96ccfaac)
2008-07-09testsuite: fix another expr typo in net registry test script.Michael Adam1-1/+1
Michael (This used to be commit 73312e4e21b6d14363bd0987e0c9716c4ec91834)
2008-07-09testsuite: fix expr typo in net registry testscript.Michael Adam1-1/+1
Michael (This used to be commit 5b6c32160a5d8fafc807fbefb66aa8c98662baae)
2008-06-27Revert "build: add symbol versioning when we build with gnu ld"Karolin Seeger2-29/+8
This reverts commit cb5492978b6b157f529806afb2f5fc6202888129. For more information, please have a look at the discussion on samba-technical starting with [1]. [1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html Karolin (cherry picked from commit 1e5aeb96f92fef8056ec9010e125f4d0d31dd90e) (This used to be commit d06baf0e744d779b836783f61ec97d3a6d380eb5)
2008-06-19testsuite: enable the testparm_s3 tests.Michael Adam1-0/+7
Michael (This used to be commit 0f5c13e5735990f4325f98156a7dc410276372fe)
2008-06-19testsuite: add a testparm_s3 test script.Michael Adam1-0/+90
This is a first testparm/lp_load test that runs testparm on a couple of configuration files. The main purpose for now is to test the options that have special handlers (to check whether the handlers succeed). In particular, all the Macro expansions that are available via alloc_sub_basic() are tested with the include handler. This is to catch such crashbugs as #5548 where %m expansion led to a segfault. The tests now are very simple. Just check if testparm completes successfully on the given config files. This can (and should) be elaborated in the future. Michael (This used to be commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a)
2008-06-19testsuite: update introductory comment to test_net_regsistry.shMichael Adam1-1/+2
This is now used to test rpc and local access depending on command line parameters. Michael (This used to be commit 73c17b630317b5019e5d5f2b989b8de081a73e07)
2008-06-19Fix typoVolker Lendecke1-1/+1
(This used to be commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8)
2008-06-17testsuite: give admin rights to testuser only for the "net rpc registry" test.Michael Adam1-0/+41
Remove the user from BUILTIN\Administrators at the end of the tests. Note: BUILTIN\Administrators is not deletet at the end because that functionality is not implemented. Michael (This used to be commit 1734f9305a38eff05f0147d9c7391ef34085e7b2)
2008-06-17testsuite: don't give the testuser administrative rights globally.Michael Adam1-9/+0
It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (This used to be commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521)
2008-06-17Remove references to SVN.Karolin Seeger1-1/+1
Karolin (This used to be commit 9d69a809e370f98057e514a3c755b0b86ee5f610)
2008-05-23build: add symbol versioning when we build with gnu ldStefan Metzmacher2-8/+29
There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129) (This used to be commit a739652d94300881479262648592223536fc8eec)
2008-05-18build: remove mkproto.sh and mkproto.awkMichael Adam2-217/+0
Michael (This used to be commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68)
2008-05-13tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.Karolin Seeger1-1/+4
Improve error message if no SMB4TORTURE is available. Karolin (This used to be commit 443691eb2614919043406f94e9c71b49230612d5)