1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

529 Commits

Author SHA1 Message Date
Stefan Metzmacher
484c4a5955 Revert "s3:selftest: create BUILTIN\\Administrators at startup"
This reverts commit a849183f94.

This is to racy for most of the build-farm machines,
because winbindd doesn't start fast enough.

metze
2009-02-03 17:07:44 +01:00
Stefan Metzmacher
aa9592991a Revert "s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm"
This reverts commit 20a1cb1569.

I will also revert a849183f94

metze
2009-02-03 17:07:43 +01:00
Stefan Metzmacher
20a1cb1569 s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm
metze
2009-02-03 15:05:54 +01:00
Stefan Metzmacher
c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
77bb2d6d0b s3:seltest: make test_smbclient_s3.sh more strict
metze
2009-01-29 10:36:12 +01:00
Stefan Metzmacher
6a41a2de8d selftest: abstract Samba3 provision a bit
metze
2009-01-28 21:01:49 +01:00
Stefan Metzmacher
a849183f94 s3:selftest: create BUILTIN\\Administrators at startup
And add and remove the alias member via net rpc group
instead of net sam.

metze
2009-01-28 17:32:50 +01:00
Michael Adam
5ec52659da s3:test: exit the net rpc registry tests when give_administrative_rights fails
Michael
2009-01-28 12:19:06 +01:00
Stefan Metzmacher
5da211b658 s3:selftest: fix warnings with empty *_TEST_LOG variables
metze
2009-01-28 12:06:23 +01:00
Steven Danneman
fffd94b442 Move S3 specific parameters to S3 conf file in make test. 2009-01-27 13:27:35 -08:00
Tim Prouty
7f12eb9761 s3 make test: Fix a bug in the previous commit
Luckily the build farm caught this
2009-01-26 15:38:19 -08:00
Tim Prouty
3aeee79096 s3 make test: Add the ability to specify a custom smb.conf for make test
- 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-26 12:07:27 -08:00
Jelmer Vernooij
076bb89028 expand-includes: Add simple protection against infinite recursion. 2009-01-21 17:32:08 +01:00
Jelmer Vernooij
2c1d70ab79 Automagically expand includes in Makefile.in during configure time
when make is not GNU Make.
2009-01-21 17:21:45 +01:00
Steven Danneman
19a05bf2f4 Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c
If they are not explicitely set in either place both will default to LOCKDIR.

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-12 12:16:03 +01:00
Jelmer Vernooij
2c1cd0c9fe Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3) 2009-01-08 15:23:35 +01:00
Jeremy Allison
bb23f5725f Fix more asprintf and "ignoring return code" warnings from gcc 4.3.
Jeremy.
2008-12-31 16:30:11 -08:00
Volker Lendecke
99ab198752 Enable individual smbtorture_s3 subtests in make test 2008-12-31 10:54:09 +01:00
Jelmer Vernooij
07f296b03d Set right LD_LIBRARY_PATH for finding Samba4's libraries. 2008-12-22 19:13:28 +01:00
Jelmer Vernooij
b2a01ef5dd Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory. 2008-12-16 15:42:47 +01:00
Stefan Metzmacher
a8595bf506 s3:selftest: test the streams_depot module as it passes make test
The streams_xattr module only passes sometimes on my laptop.

metze
2008-12-01 14:37:13 -08:00
Bo Yang
81fc50b486 Fix script installmo.sh when no .po file exists 2008-12-01 11:09:52 +01:00
Bo Yang
a8722a190b i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-13 12:43:58 +01:00
Tim Prouty
e6f8fd9945 s3: Add support for make test to use a share dir outside of the prefix dir
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-11-11 19:06:50 -08:00
Jelmer Vernooij
5c946b1b28 mksyms.sh: Fix typo in comment. 2008-10-30 23:50:35 +01:00
Michael Adam
268caef85e [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.
Use whole argument string in test_one_global_option(), not only first.

Michael
2008-10-27 13:02:36 +01:00
Jelmer Vernooij
5b5e36085a Share codepages. 2008-10-23 16:58:11 +02:00
Jelmer Vernooij
4f6a4b5510 Share idl_types.h. 2008-10-15 01:53:09 +02:00
Günther Deschner
da4399c509 s3-build: add and use IDL_PATH while building IDL files.
Guenther
2008-10-14 16:29:47 +02:00
Günther Deschner
4c68f3cd9b build: add "make test_wbpad" for checking winbind 32/64bit structure padding.
Guenther
2008-10-09 11:46:02 +02:00
Günther Deschner
2331c96d28 build: rebuild only changed IDL files.
Let"s see how this works now.

Guenther
2008-09-21 22:29:34 +02:00
Jelmer Vernooij
fcf6740d3f Fix location of nss_wrapper.pl script. 2008-09-18 15:16:48 +02:00
Jelmer Vernooij
4beb6731a7 Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed on the
system.
2008-09-16 18:48:56 +02:00
Jelmer Vernooij
41ebc6fe73 Reorder defines for version for consistency with Samba 4.
(This used to be commit fe36d83508)
2008-09-12 12:38:54 +02:00
Michael Adam
e069372ef8 buildoptions: output MODULESDIR.
Michael
(This used to be commit bcb868e434)
2008-08-15 23:19:57 +02:00
Michael Adam
739e9cfbe0 testsuite: fix expr error on Tru64, triggered by uninitialized failed variable.
Michael
(This used to be commit 25cd227aae)
2008-07-21 11:23:55 +02:00
Michael Adam
eac08b0fc5 testsuite: fix another expr syntax error. in tests_all.sh.
Michael
(This used to be commit 486b1bc5b5)
2008-07-21 11:17:36 +02:00
Michael Adam
a197e25713 testsuite: fix expr syntax error in net registry test.
Pointed out by Björn Jacke <bj@sernet.de>.

Michael
(This used to be commit 87e02bca04)
2008-07-20 23:51:35 +02:00
Andreas Schneider
2a8ebdca53 Simplify samba_version_string.
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 8b9301fbc7)
2008-07-17 14:16:19 +02:00
Michael Adam
7cc155bdc1 testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
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 5b8a4c3348)
2008-07-15 12:54:04 +02:00
Michael Adam
9978cc6c23 testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
Michael
(This used to be commit 32f4b1443a)
2008-07-15 00:31:10 +02:00
Michael Adam
733cf76026 testsuite: fix another expr typo in net registry test script.
Michael
(This used to be commit 73312e4e21)
2008-07-09 00:33:54 +02:00
Michael Adam
b65d497c33 testsuite: fix expr typo in net registry testscript.
Michael
(This used to be commit 5b6c32160a)
2008-07-09 00:33:14 +02:00
Karolin Seeger
006515d889 Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit cb5492978b.

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 1e5aeb96f9)
(This used to be commit d06baf0e74)
2008-06-27 13:46:26 +02:00
Michael Adam
0f32b22031 testsuite: enable the testparm_s3 tests.
Michael
(This used to be commit 0f5c13e573)
2008-06-19 17:22:27 +02:00
Michael Adam
24de341973 testsuite: add a testparm_s3 test script.
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 eb28146d40)
2008-06-19 17:22:27 +02:00
Michael Adam
b0c3f1459d testsuite: update introductory comment to test_net_regsistry.sh
This is now used to test rpc and local access depending on
command line parameters.

Michael
(This used to be commit 73c17b6303)
2008-06-19 17:22:27 +02:00
Volker Lendecke
809b992b17 Fix typo
(This used to be commit 2eef2c682c)
2008-06-19 12:02:12 +02:00
Michael Adam
ba3eee6cf8 testsuite: give admin rights to testuser only for the "net rpc registry" test.
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 1734f9305a)
2008-06-17 23:54:15 +02:00
Michael Adam
aeec9c7f55 testsuite: don't give the testuser administrative rights globally.
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 9fe99c69f3)
2008-06-17 23:51:23 +02:00