1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

816 Commits

Author SHA1 Message Date
Günther Deschner
e11f9b46c6 s3-selftest: add add and delete group scripts using nss_wrapper.
Guenther
2009-05-20 12:37:44 +02:00
Günther Deschner
9e741b34b2 s3-selftest: enable RPC-SAMR-USERS-PRIVILEGES.
Guenther
2009-05-18 23:36:57 +02:00
Jeremy Allison
4dce2dfb5b Turn on SHORTNAME-TEST in torture.
Jeremy.
2009-05-14 16:49:34 -07:00
Günther Deschner
94665adb48 s3-printing: Fix vlp testprinter application.
Jeremy, we cannot just access cache_path() here without calling lp_load and
friends as well as parsing configfile from the commandline in order to make
"make test/selftest" find the correct conffile with path, etc.

I just changed it to pass the target tdbfilename as an argument, ok ?

Guenther
2009-05-12 11:41:14 +02:00
Günther Deschner
f5cab8913b s3-selftest: enable RPC-LSA-LOOKUPNAMES against Samba 3.
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
d010094700 s3-selftest: enable running RPC-SAMR-USERS against Samba3.
Guenther
2009-05-08 22:23:51 +02:00
Günther Deschner
66cf7e1835 s3-selftest: run RPC-LSA-GETUSER against Samba 3.
Guenther
2009-05-08 11:28:45 +02:00
Günther Deschner
53713be2cb s3-selftest: finally enable RPC-SAMR-PASSWORDS which samba3 now passes.
Guenther
2009-05-08 00:47:16 +02:00
Günther Deschner
6f4b5798c9 s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.
Guenther
2009-05-08 00:46:54 +02:00
Günther Deschner
949cd77ca2 s3-selftest: run RPC-SCHANNEL, RPC-SCHANNEL2 and RPC-BENCH-SCHANNEL1 against Samba3.
Guenther
2009-05-07 13:06:03 +02:00
Jeremy Allison
2c4725462e Turn on POSIX test (small test) on buildfarm.
Jeremy.
2009-05-04 15:55:23 -07:00
Jeremy Allison
651fb412a8 Ensure we use UID-REGRESSION-TEST. It's a very short test.
Jeremy.
2009-05-04 11:22:13 -07:00
Volker Lendecke
5b7b47f015 Add getaddrinfo_send/recv 2009-05-01 12:30:59 +02:00
Günther Deschner
3316ae9d75 s3-test: make it possible to find the built vlp in "make test".
Guenther
2009-04-29 14:31:09 +02:00
Günther Deschner
59fe99027d s3-selftest: test wbinfo --allocate-uid/gid.
Guenther
2009-04-23 10:30:32 +02:00
John H Terpstra
f493755aaf Added ability to revert to old modules for make revert. 2009-04-20 10:13:10 -05:00
Günther Deschner
6f90cdaf63 s3-selftest: enable RPC-SPOOLSS.
Guenther
2009-04-17 17:28:23 +02:00
Michael Adam
d43a49d449 s3: make installmo and uninstallmo scripts executable
Michael
2009-04-17 15:57:30 +02:00
Michael Adam
bf1b7ba480 s3: Fix uninstallmo
Michael
2009-04-17 15:57:30 +02:00
Günther Deschner
4f9d3400e5 s3-selftest: samba 3 also passes RPC-JOIN so enable it.
Guenther
2009-04-17 15:14:44 +02:00
Günther Deschner
490f6c418d s3-selftest: enable RPC-SAMR-PASSWORDS-PWDLASTSET whilte testing Samba3.
Guenther
2009-04-17 11:16:00 +02:00
Günther Deschner
deb719a62e s3-selftest: enable RPC-LSA-LOOKUPSIDS against samba 3.
Guenther
2009-04-17 01:32:45 +02:00
Günther Deschner
1b9384a11f s3-nsswitch: fix make test_wbpad.
Guenther
2009-04-14 14:56:59 +02:00
Günther Deschner
f930f504e1 s3-selftest: enable the RPC-NTSVCS torture test against Samba3.
Guenther
2009-04-10 01:07:01 +02:00
Günther Deschner
c1b354531f s3-selftest: As Samba3 now passes RPC-SPOOLSS-WIN enable it against ourself.
Guenther
2009-04-08 13:52:11 +02:00
Günther Deschner
fa7f2ffe51 s3-selftest: add root for make test as well (not only make selftest).
Guenther
2009-04-08 13:11:16 +02:00
Günther Deschner
403422e1ea s3-selftest: Samba3 passes RPC-SVCCTL so enable it during make test.
Guenther
2009-04-08 11:49:24 +02:00
Volker Lendecke
86b09e84ae Re-add the CHAIN1 test 2009-04-06 21:32:07 +02:00
Volker Lendecke
0a4cdad324 Remove the CHAIN1 test -- will come back later 2009-04-06 21:32:06 +02:00
Volker Lendecke
15f6d5e805 Use the server config file for smbpasswd -a user in make test
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID
somehow ended up in the user's token for quite a number of tests, leading to
NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but
with this patch I could not reproduce the ACCESS_DENIED anymore. It might be
coincidence and this patch does not fix anything, but for me it does not really
hurt either.

Metze, please check!

Volker
2009-04-05 17:31:40 +02:00
Jeremy Allison
e235b4628b Revert 757d403dff - module
order shouldn't matter & I have a more correct fix for this.
Jeremy.
2009-03-26 14:48:34 -07:00
Jeremy Allison
757d403dff This should fix the build farm RAW-STREAMS failure. streams_depot.so
depends on xattrs, and xattr_tdb was pushed *first* in the stack...
Jeremy.
2009-03-26 14:34:25 -07:00
Michael Adam
d813a90d18 version: fix handling of SAMBA_VERSION_VENDOR_PATCH.
We need a string version of this, or else version.c does not compile.

Michael
2009-03-19 23:57:34 +01:00
Björn Jacke
da06a345cc to be portable, use options first, arguments last
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:09:15 +01:00
Jelmer Vernooij
3b181564c5 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-09 21:42:13 +01:00
Björn Jacke
0d2de5380d use LIB_PATH_VAR in selftest.sh if we have it
if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively
complain about not having it and use the most likely LD_LIBRARY_PATH.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-09 18:31:11 +01:00
Stefan Metzmacher
bf85a14182 s3:make_test: run CHAIN1 test
metze
2009-03-06 16:38:30 +01:00
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
Karolin Seeger
99e73df8e8 Remove references to SVN.
Karolin
(This used to be commit 9d69a809e3)
2008-06-17 10:43:19 +02:00
Stefan Metzmacher
7abda3fb9d build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it.

metze
(cherry picked from commit cb5492978b)
(This used to be commit a739652d94)
2008-05-23 17:19:57 +02:00
Michael Adam
be175e274e build: remove mkproto.sh and mkproto.awk
Michael
(This used to be commit 5f2983209f)
2008-05-18 23:39:15 +02:00
Karolin Seeger
5d6528e44f tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.
Improve error message if no SMB4TORTURE is available.

Karolin
(This used to be commit 443691eb26)
2008-05-13 14:17:59 +02:00
Michael Adam
5621ce6fb4 testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.
This allows for calling e.g.

TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test

Michael
(This used to be commit 7418d89b29)
2008-05-07 00:14:17 +02:00
Michael Adam
1f582b73b3 testsuite: make structuring output of net_s3 tests stand out more.
say "RUNNING SUBTESTS ..." instead of "Running ... tests"

Michael
(This used to be commit 0b879817ba)
2008-05-06 12:26:14 +02:00
Michael Adam
dadc6a4f35 testsuite: make diagnostic output more appropriate in tests_all.sh
Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..."

Michael
(This used to be commit b73821c392)
2008-05-06 12:26:14 +02:00
Michael Adam
e7fa8e2700 testsuite: give the testuser administrative rights in selftest.sh
(by adding him to builtin\administrators)

Michael
(This used to be commit baea061500)
2008-05-06 12:26:14 +02:00
Michael Adam
447df4dc85 testsuite: run the net rpc registry tests from the net_s3 tests.
Michael
(This used to be commit dcf39078cf)
2008-05-06 12:26:14 +02:00
Michael Adam
c5db4d17cd testsuite: add the ability to test "net rpc registry" with the net_registry tests
by specifying a parameter "rpc" on the commandline.

Michael
(This used to be commit 110c26374e)
2008-05-06 12:26:14 +02:00
Michael Adam
6989228d69 testsuite: adapt informative message to say "Running _local_ registry tests".
The plan is to also test remote registry  with "net rpc registry".

Michael
(This used to be commit b5507f8a95)
2008-05-06 12:26:14 +02:00
Michael Adam
41075fbfa1 testsuite: use domain==workgroup in wbinfo tests now that we are PDC.
Previously domain==netbios name was the right thing to use.

Michael
(This used to be commit a5fc47c245)
2008-05-06 12:26:14 +02:00
Kai Blin
4cbb87adad tests: Add a net_misc test.
(This used to be commit 026d701aff)
2008-05-06 12:26:13 +02:00
Kai Blin
49264b539d selftest: Advertise as PDC and time server during make test
(This used to be commit 65c619b36d)
2008-05-06 12:26:13 +02:00
Kai Blin
60fedc43e7 selftest: Use TESTS env var to specify tests to run like Samba4 does.
(This used to be commit 6fb1fe803c)
2008-05-06 12:26:13 +02:00
Gerald W. Carter
5c3b9a38f5 Use wbinfo --online-status in make test rather than --sequence
(This used to be commit f8c364da94)
2008-04-23 11:26:35 -05:00
Michael Adam
413c2e9b0a registry: remove the REGISTRY_HOOKS layer from the reghook cache.
There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael
(This used to be commit 2f9ee2f782)
2008-04-13 01:43:42 +02:00
Michael Adam
c575c85d58 test: not only pretend to call smbconftort - really do it :-}
Michael
(This used to be commit e0947537e6)
2008-04-11 10:57:50 +02:00
Björn Jacke
83a6605b3a some shells are pickier than others ...
(This used to be commit 9aabfa44d9)
2008-04-11 10:51:19 +02:00
Michael Adam
6dd73c2866 test: run smbconftort testsuite from the local_s3 tests
Michael
(This used to be commit 6641061f76)
2008-04-10 01:29:01 +02:00
Stefan Metzmacher
c5cf066c8b selftest: run the BASE-DELAYWRITE test 4 times faster in make test
metze
(This used to be commit 83b6da7c52)
2008-04-08 18:53:38 +02:00
Stefan Metzmacher
406da3a962 selftest: samba3 passes BASE-DELAYWRITE
metze
(This used to be commit 5df3463431)
2008-04-07 12:29:28 +02:00
Michael Adam
8d7257453c test: add diagnostic message to net_registry test.
Michael
(This used to be commit c04a234f8f)
2008-04-01 16:16:55 +02:00
Michael Adam
048dcbb75f test: fix net_registry test "set value to different type" to track error count
missing backslash in call... :-}

Michael
(This used to be commit 8f0c25f01f)
2008-04-01 16:16:55 +02:00
Michael Adam
fd64e6de8c test: some cosmetics to net_registry tests.
Michael
(This used to be commit dba9db5ae6)
2008-04-01 16:16:55 +02:00
Michael Adam
4a99bce736 test: fix net_registry tests to correctly capture output of commands inside one test
so that failure output is not clobbered by  output of previous
successful commands.

Michael
(This used to be commit cb3dafe5fd)
2008-04-01 16:16:55 +02:00
Michael Adam
a63c396679 test: fix use of printf in net_registry tests.
actually 'printf "%s\n"' is the proper replacement of 'echo -e'

Michael
(This used to be commit 388a40931f)
2008-04-01 16:16:55 +02:00
Michael Adam
36ade6136d mkversion: be more portable, use 'print "%s"' instead of 'echo -n'
Michael
(This used to be commit 7a23dab1ea)
2008-04-01 16:16:55 +02:00
Michael Adam
808378cda2 installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael
(This used to be commit 8b015c91c9)
2008-04-01 16:16:55 +02:00
Michael Adam
52b463917e test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.sh
Michael
(This used to be commit c0c4118427)
2008-04-01 16:16:55 +02:00
Michael Adam
e61e4eb4e5 test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.sh
Michael
(This used to be commit b6122406fe)
2008-04-01 16:16:54 +02:00
Michael Adam
41281d3525 test: make registry tests more portable: protect some grep patterns in ' '.
Michael
(This used to be commit 1cb3b2f065)
2008-04-01 13:43:30 +02:00
Michael Adam
ff08b55b45 test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'
Michael
(This used to be commit 5c1b7ee5c1)
2008-04-01 13:43:30 +02:00
Michael Adam
96801c3f63 test: add test script for testing "net registry".
Michael
(This used to be commit fa5968a26b)
2008-04-01 00:09:59 +02:00
Michael Adam
0ad8a002ce test: add (and unify) sectioning output of subtests in tests_all.sh
Michael
(This used to be commit d775194e9c)
2008-03-31 17:22:03 +02:00
Michael Adam
0c3b8e2cab test: add possibility to select tests to run via tests_all.sh (make test)
This allows to select the tests to run with tests_all.sh by setting
the environment variable "RUNTESTS". Example:

RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test

Michael
(This used to be commit bf4af79f05)
2008-03-31 17:22:03 +02:00
Michael Adam
e3aef196e4 test: in tests_all.sh, wrap calls to test scripts into shell functions.
This is in preparation for enabling running only selected test scripts
through "make test".

Michael
(This used to be commit ad1fbadf81)
2008-03-31 17:22:02 +02:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3)
2008-03-24 17:25:13 -05:00
Stefan Metzmacher
5d3a31fbe1 selftest: samba3 passes RAW-SEARCH now
As the resume key tests are skipped against samba3.

metze
(This used to be commit c765090871)
2008-03-11 22:08:24 +01:00
Michael Adam
aa4213bde7 Test: Properly track current test binary for tracking crashes.
Make sure the panic action always has the right test binary set.

Michael
(This used to be commit 567ac329dc)
2008-03-06 09:25:49 +01:00
Michael Adam
af3e746d9e Revert "make idl: Only compile idl files newer than the output to be generated."
This reverts commit 79c199d16e.

Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).

Michael
(This used to be commit 1fb69ad1f5)
2008-02-29 13:17:28 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f706)
2008-02-28 15:53:43 +01:00
Michael Adam
379fa9baae make idl: Only compile idl files newer than the output to be generated.
Fix "if" condition in build_idl.sh to not always evaluate as false.

Michael
(This used to be commit 79c199d16e)
2008-02-26 16:06:07 +01:00
Michael Adam
32dd341119 Fix build on some systems : don't pass libraries to mkproto.awk
Currently, some static libraries have gone into object lists
that are also passed to make proto. (This should probably be
changed...) Then some awk versions fail when passed an non-
existing lib/libtdb.a e.g.. This patch changes mkproto.sh to
exclude \.a files from the list of files to process.

Michael
(This used to be commit 826b9ab07b)
2008-02-25 17:24:52 +01:00
Stefan Metzmacher
1f635e3888 make test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
BASE-DEFER_OPEN is now more strict with incorrect timing

metze
(This used to be commit 9b761062df)
2008-02-25 11:34:44 +01:00
Michael Adam
b09b3ac8f8 Create symbols to export in libtdb dynamically from tdb.h.
This adds a general mechanism to create version-scripts for
linking shared libraries from one or several header files,
similar to mkproto.sh/awk.

Michael
(This used to be commit 65817703c4)
2008-02-14 14:17:57 +01:00
Kai Blin
afaacdeb8d ntlm_auth: Fix another typo in the test.
This _should_ be the last one.
(This used to be commit d12c49e60f)
2008-01-30 18:34:24 +01:00
Kai Blin
5b5d56d84a ntlm_auth: test should honour configfile option to run on build farm.
(This used to be commit 11c9c1536b)
2008-01-30 17:57:32 +01:00
Kai Blin
582e224af5 ntlm_auth: Fix typos in the torture test script.
This should fix the build farm. Sorry, wonder why it worked on my box
before.
(This used to be commit bfa919cde5)
2008-01-30 16:59:40 +01:00
Kai Blin
a626fa59cc ntlm_auth: Add a blackbox test.
(This used to be commit f02b74fc06)
2008-01-30 15:26:27 +01:00
Volker Lendecke
152c720ddb Active RAW-STREAMS in make test
(This used to be commit 63ee2ef775)
2008-01-20 15:29:58 +01:00
Volker Lendecke
c2acec43ae rename vfs_ea_tdb to vfs_xattr_tdb
(This used to be commit 151b42a150)
2008-01-15 17:30:29 +01:00
Volker Lendecke
57cc992e0f Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00
Günther Deschner
8a6f492e57 Add True/False bool cleanup script.
Guenther
(This used to be commit 9f05d2eae7)
2008-01-15 10:35:10 +01:00
Michael Adam
8a76e6aff0 Reset the failed counter in test_wbinfo_s3.sh.
Michael
(This used to be commit 3eedb89284)
2008-01-14 00:23:11 +01:00
Michael Adam
971abee490 Fix a syntax error in script/tests/test_local_s3.sh .
This will reveal the currently breaking tdbtorture to the build farm...

Michael
(This used to be commit 50f65c3c55)
2008-01-13 23:54:48 +01:00
Jelmer Vernooij
8dbeca6e9d Review feedback from metze.
(This used to be commit 015cf6b6ad)
2008-01-06 15:12:24 +01:00
Jelmer Vernooij
1f46aac357 Use metze's approach.
(This used to be commit 126cc07599)
2008-01-06 01:12:56 +01:00
Jeremy Allison
e86fd65dcd "Desting" -> "Testing"
Jeremy.
(This used to be commit c3f3ec5cd5)
2008-01-04 19:34:43 -08:00
Jeremy Allison
4a95b17fd8 Try and fix scripting errors.
Jeremy
(This used to be commit c84f2234fe)
2008-01-04 19:12:29 -08:00
Jeremy Allison
ceba96c915 Try and fix the buildfarm. There's a scripting error and
I'm hoping this is it...
Jeremy.
(This used to be commit 0356f0efc4)
2008-01-04 19:09:46 -08:00
Jeremy Allison
c513ff3675 Better way of testing enc.
Jeremy.
(This used to be commit c580023501)
2008-01-04 16:58:23 -08:00
Jeremy Allison
95fa10d596 Added -e tests for S3 smbtorture.
Jeremy.
(This used to be commit deeeae3ee9)
2008-01-04 16:09:48 -08:00
Volker Lendecke
519277fcb7 Attempt to fix the AIX make test failures
For some reason AIX does not return the sender address in the AF_UNIX recvfrom.
So the faked netbios name lookup does not work with socket wrapper, nmbd can't
know where to send the reply. This patch works around this by telling smbclient
explicitly where to connect.

If there's any AIX experts listening -- how do I get the sender address from
AF_UNIX recvfrom?

Volker
(This used to be commit 8ba3b8cf7a)
2007-12-29 13:17:01 +01:00
Stefan Metzmacher
4e53afccb1 selftest: also export LD_LIBRARY_PATH for samba4's smbtorture
metze
(This used to be commit f5570dcf50)
2007-12-23 20:09:16 +01:00
Volker Lendecke
4c364e3078 Attempt to make the build farm run s4torture again
(This used to be commit 04710626e1)
2007-12-23 16:38:28 +01:00
Michael Adam
d75d3bc021 Fix typo in output.
Michael
(This used to be commit 2fe111c19b)
2007-12-23 01:34:20 +01:00
Gerald (Jerry) Carter
98b21126a7 Fix "make test" using the LD_LIBRARY_PATH for selftest script so
smbd can locate the libwbclient library (if neccessary).
(This used to be commit 481cc9ab6a)
2007-12-21 13:50:13 -06:00
Gerald (Jerry) Carter
a2481eda8c Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).

The API in incomplete, but sufficient to merge.  See wbclienbt.h for the i
interface functions.
(This used to be commit 83d274b460)
2007-12-21 11:58:04 -06:00
Stefan Metzmacher
9f2490c251 selftest: reenable wbinfo tests and pass --configfile instead of -s
metze
(This used to be commit 56251f7852)
2007-12-14 19:39:49 +01:00
Stefan Metzmacher
4130053a57 selftest: disable wbinfo tests
wbinfo needs to take --config-file to work...

metze
(This used to be commit a8a74fc88c)
2007-12-14 18:02:05 +01:00
Stefan Metzmacher
28c7c831ed selftest: add a bunch of wbinfo based tests for winbindd
metze
(This used to be commit 88b6d2c0e8)
2007-12-14 16:56:10 +01:00
Stefan Metzmacher
9bcfb5af7d selftest: move workgroup name into WORKGROUP envvar
metze
(This used to be commit 8ace8fa82c)
2007-12-14 16:19:18 +01:00
Jeremy Allison
97cbaceec1 Forgot build options was generated... fix.
Jeremy.
(This used to be commit d78e081043)
2007-12-10 11:37:20 -08:00
Stefan Metzmacher
515eef851f make test: try to get a more portable way to get UID and GID
metze
(This used to be commit 0dc2d7ec01)
2007-11-09 14:36:20 +01:00
Stefan Metzmacher
702d227433 make test: start winbindd
metze
(This used to be commit 8ad4287cca)
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
f56e82ff81 we don't have build-farm specific tests anymore
metze
(This used to be commit bb125f3e08)
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
cfec6c3083 make test: activate nss_wrapper for make test
metze
(This used to be commit 02cfd28362)
2007-11-09 09:53:02 +01:00
Stefan Metzmacher
7404475a71 add '_PUBLIC_' prototypes into proto.h
this makes merging samba4 code easier...

metze
(This used to be commit 005909726e)
2007-11-08 14:34:02 +01:00
Jeremy Allison
8f1f2f04c7 Fix some cases where file_set_dosmode was being passed
False instead of NULL. Fix more of the notifications to
be correct for Samba4 RAW-NOTIFY torture (we had missed
one when calling set_ea_dos_attribute().
Jeremy.
(This used to be commit 39d265375c)
2007-10-31 15:45:45 -07:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
c595c8311b don't skip some tests which samba3 passes (at least on my laptop)
metze
(This used to be commit d70ddad2e8)
2007-10-18 11:05:56 +02:00
Stefan Metzmacher
801c0314b1 make gdb_backtrace executable
metze
(This used to be commit f694df1919)
2007-10-18 11:05:47 +02:00
Stefan Metzmacher
edfcfefa37 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
(This used to be commit 1bf4c7fb20)
2007-10-11 12:27:38 +02:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe9)
2007-10-10 15:34:30 -05:00
Stefan Metzmacher
4802b2d6ca r25418: fix generation of git revision calculation
metze
(This used to be commit 43df4928ec)
2007-10-10 12:31:04 -05:00
Jelmer Vernooij
679ef7b6ba r25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code. See the mailing list for details.
(This used to be commit bdc831ddb3)
2007-10-10 12:31:03 -05:00
Volker Lendecke
d7a97b4b4c r25317: Activate raw-samba3rootdirfid
(This used to be commit 1cbe40b27c)
2007-10-10 12:30:58 -05:00
Stefan Metzmacher
c44929cbea r25125: create prototypes for 'bool ' functions
metze
(This used to be commit 5afa66970e)
2007-10-10 12:30:42 -05:00
Jeremy Allison
1cc01f2249 r25104: Fix extra lines added by mistake.
Jeremy.
(This used to be commit a28a35f9cd)
2007-10-10 12:30:40 -05:00
Jeremy Allison
351eb37a25 r25102: Rewrite msdfs code to use talloced filenames. Passes make test
and make valgrindtest. Final step will be to change srvstr_get_path()
to return talloced memory in the major codepaths.
Jeremy.
(This used to be commit cf6b6f9c3a)
2007-10-10 12:30:40 -05:00
Stefan Metzmacher
993d64cde3 r24974: catch SIGINT and SIGQUIT like SIGTERM
metze
(This used to be commit ab15f5c3e7)
2007-10-10 12:30:30 -05:00
Volker Lendecke
69d25c9e3d r24802: Activate new tests
RAW-SAMBA3CASEINSENSITIVE and RAW-SAMBA3POSIXTIMEDLOCK
(This used to be commit 1f396cc237)
2007-10-10 12:30:22 -05:00
Stefan Metzmacher
e273187811 r24605: remove some stuff samba3 doesn't need any more
metze
(This used to be commit 5514e8487f)
2007-10-10 12:30:10 -05:00
Günther Deschner
1ba6b71691 r24421: Ignore long #defines (like for registry keys).
Guenther
(This used to be commit b310b1dfd6)
2007-10-10 12:29:44 -05:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362)
2007-10-10 12:28:27 -05:00
Jeremy Allison
2a9b4da0fa r23780: Find and fix more GPL2 -> GPL3.
Jeremy.
(This used to be commit c2f7ab1c17)
2007-10-10 12:28:21 -05:00
Stefan Metzmacher
1d5646f9ff r23685: merge from SAMBA_4_0:
Only use the bzr and git information when there's
a .bzr or .git in the top branch directory

I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch

metze
(This used to be commit e4df2e1c2d)
2007-10-10 12:23:45 -05:00
Volker Lendecke
0a754ca75c r23670: Fix mkversion.sh for the git case: Only use the first line where
"commit" occurs
(This used to be commit 0e9aeec370)
2007-10-10 12:23:44 -05:00
Kai Blin
97746f8db0 r23606: Merge Samba4 mkversion.sh to Samba3.
(This used to be commit 6566e24c13)
2007-10-10 12:23:35 -05:00
Gerald Carter
386267447b r23599: Add new version of indent script copied from the the Linux
kernel tree.
(This used to be commit bc422ab5f1)
2007-10-10 12:23:35 -05:00
Gerald Carter
29a976296c r23598: Add script for running indent and remove .indent.pro file
(This used to be commit 58a68daef0)
2007-10-10 12:23:35 -05:00
Gerald Carter
9f4876c586 r23597: add a few utility scripts for code formatting
(This used to be commit 3fc0bd3e54)
2007-10-10 12:23:34 -05:00
Volker Lendecke
9c4d185ef0 r23500: Two changes to survive the now activated test for rename_internals_fsp:
With the target being open we have to return NT_STATUS_ACCESS_DENIED and
root_fid != 0 leads to NT_STATUS_INVALID_PARAMETER
(This used to be commit b599e5b1e1)
2007-10-10 12:23:22 -05:00
Michael Adam
9426d78f1e r23489: (Re-)Add tdbtorture as a build target to 3_0_26.
Add the tdbtorture test to the test script in 3_0 and 3_0_26.

Michael
(This used to be commit 30d71cf4b8)
2007-10-10 12:23:21 -05:00
Volker Lendecke
d9f7cbacb0 r23429: Ooops, sorry.
Revert an accidential checkin of r23410.

Volker
(This used to be commit 23ecb5439f)
2007-10-10 12:23:15 -05:00
Volker Lendecke
de565785f5 r23410: Merge the core of the cluster code.
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.

There should be no changes to the non-cluster case, it does survive make
test on my laptop.

It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.

Phew...

Volker
(This used to be commit 15553d6327)
2007-10-10 12:23:14 -05:00
James Peach
af720295fd r23093: Allow modules with the same name but different types.
(This used to be commit 190a69b1f9)
2007-10-10 12:22:44 -05:00
Stefan Metzmacher
e9b27a34e3 r22998: merge from SAMBA_4_0:
only if the output of which has a leading '/' the output is useful...

metze
(This used to be commit 5c5aa1f862)
2007-10-10 12:22:13 -05:00
Michael Adam
90ad4eae89 r22401: Add bzr revision+nick support to mkversion.sh.
The plan is to actually synchronize with SAMBA_4_0's mkversion.sh,
which is more elaborate. But there are a few differences in
behaviour I still have to check. So I am cheching this here in for
a start...

Michael
(This used to be commit dec7e31f29)
2007-10-10 12:19:32 -05:00
James Peach
cc87cb7770 r21950: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. The length field does not count any null.

Also add call to chflags(2) in the default VFS module so that this
will work be default on BSD-derived platform. Add UNIX-INFO2 test
to the build farm to get some non-BSD coverage.

Jeremy and Jerry, please review for inclusion in 3.0.25.
(This used to be commit e7b21b1ef3)
2007-10-10 12:18:51 -05:00
James Peach
a39f08eec2 r21767: Revert all the bits I accidentally committed in r21766.
(This used to be commit 7e862b9080)
2007-10-10 12:18:30 -05:00
James Peach
41c8f3da97 r21766: Fix compiler warning.
(This used to be commit f82ac78b2f)
2007-10-10 12:18:29 -05:00
Jelmer Vernooij
2b5d317af1 r21565: Import ndrdump (doesn't compile yet, needs table support functions).
(This used to be commit 9a9b942167)
2007-10-10 12:18:14 -05:00
Volker Lendecke
abbb882f74 r21202: On some build hosts, the first tests fail with CONNECTION_REFUSED. On my
solaris 9 box I could solve that with an increased wait time.

Volker
(This used to be commit 4ea654857a)
2007-10-10 12:17:47 -05:00
Volker Lendecke
4be76056d2 r21165: Lets try the build farm without inotify, we're seeing some
NT_STATUS_IO_TIMEOUT with it.

Samba4 disables inotify as well. Does anybody know why Samba4 does it? Maybe
the same justification holds for 3 as well.

Volker
(This used to be commit de216a574c)
2007-10-10 12:17:45 -05:00
Volker Lendecke
7093ba871c r21150: Activate RAW-NOTIFY
(This used to be commit 39809d7391)
2007-10-10 12:17:43 -05:00
James Peach
f779904af5 r21034: Don't force user to have pidl in their PATH.
(This used to be commit 9e2118969d)
2007-10-10 12:17:28 -05:00
Lars Müller
c7f59d48c1 r20668: Also do not install the smbumount man page if we don't build smbumount.
(This used to be commit 82ce272b24)
2007-10-10 12:17:02 -05:00
Lars Müller
1e8cbe46e0 r20666: Also do not install the smbmnt man page if SMBMOUNT_PROGS is not set.
(This used to be commit aa122be8f7)
2007-10-10 12:17:01 -05:00
Lars Müller
83a41eb3a7 r20663: Do not install smbmount man page if we didn't called configure
--with-smbmount.
(This used to be commit ee12348cf1)
2007-10-10 12:17:01 -05:00
Jeremy Allison
b1fed47440 r20535: Fix make install to work when root doesn't have
write access into the source tree (like when your
directory is nfs mounted for example....).
Jeremy.
(This used to be commit 7dcb61d1b2)
2007-10-10 12:16:55 -05:00
Volker Lendecke
801cf72cb8 r20502: Activate RAW-RENAME, my Linux box passes this
(This used to be commit 56c8d2cfed)
2007-10-10 12:16:53 -05:00
Volker Lendecke
94a7500823 r20499: Activate RAW-OPEN in the build farm
(This used to be commit a0d5de61a1)
2007-10-10 12:16:53 -05:00
Volker Lendecke
b3ddd92ba2 r20482: Make us survive and activate RAW-CLOSE
(This used to be commit 471c6e6a21)
2007-10-10 12:16:52 -05:00
Volker Lendecke
58b63b65fc r20478: Make us survive & activate RAW-UNLINK
(This used to be commit 4f0f917b34)
2007-10-10 12:16:51 -05:00
Volker Lendecke
81824507f6 r20334: Activate RAW-MKDIR
(This used to be commit 8f76914e01)
2007-10-10 12:16:41 -05:00
Herb Lewis
e59e787b48 r20269: merge -r20264:20267 from SAMBA_3_0_24
more no previous prototype warnings
(This used to be commit 41be182f78)
2007-10-10 12:16:38 -05:00
Volker Lendecke
bc3787ab6e r20255: Activate BASE-SAMBA3ERROR in the build farm
(This used to be commit 7e0005c14b)
2007-10-10 12:16:37 -05:00
Simo Sorce
25fe484101 r20150: better memory handling for some functions, make sure we don't
leak memory by using the wrong(long lived)  mem context
(This used to be commit a28cdd6e74)
2007-10-10 12:16:27 -05:00
Volker Lendecke
b6b84f98c0 r19668: Convert the locking params to use struct share_param instead of snum
(This used to be commit 609dbec600)
2007-10-10 12:15:46 -05:00
Stefan Metzmacher
e7c14137fa r19444: merge from samba4:
reset trap when we have removed the test specifc files already

metze
(This used to be commit 36065025c7)
2007-10-10 12:15:35 -05:00
Stefan Metzmacher
2bc3099c71 r19342: we only have one BASE-LOCK test in samba4's smbtorture now
metze
(This used to be commit a2c20811d6)
2007-10-10 12:15:29 -05:00
Volker Lendecke
a0dd125859 r19248: Activate RPC-SAMBA3-WKSSVC
(This used to be commit ed6070b7a0)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
6c6842ee94 r19181: merge from samba4:
with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
(This used to be commit 74212c3056)
2007-10-10 12:15:20 -05:00
Stefan Metzmacher
4a83c77c95 r19170: use a very clever trick to pass the binary name to the
gdb_backtrace script, I never noticed that %$(envvar)
exists...

Thanks to Bjoern Jacke for the suggestion!

metze
(This used to be commit 12a37bab3e)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
0e66bafd47 r19169: port the trick to only display the smbd and nmbd log output
of the current test

metze
(This used to be commit f668d4839d)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
e739baf3a1 r19168: use the correct configuration
metze
(This used to be commit bf90ac567f)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
78d21c7785 r19164: merge the gdb_backtrace script from samba4
this more portable and try to make use of ladebug on Tru64,
but that only works when the binary is passed as 2nd arg to gdb_backtrace
as Tru64 doesn't know /proc/${PID}/exe

we need to find a way to pass the progname in 'panic action'
in samba3

metze
(This used to be commit 2f55fd82ff)
2007-10-10 12:15:19 -05:00
Volker Lendecke
9315bcd1e3 r19151: Create some dummy printers in the build farm
(This used to be commit c26a20e6d5)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
a856a88ba4 r19119: try to be more portable...
metze
(This used to be commit 380e647534)
2007-10-10 12:15:13 -05:00
Jeremy Allison
06e36b4e18 r19104: Fix from Björn JACKE <bjoern@j3e.de>
"here's a small fix for gdb_backtrace."
Jeremy.
(This used to be commit a0b4e5d118)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
4366ca702d r19100: merge from samba4:
export MAKE_TEST_ENABLE_PCAP=yes enables
SOCKET_WRAPPER_PCAP_FILE support
in make test

metze
(This used to be commit 5faf816885)
2007-10-10 12:15:12 -05:00
Volker Lendecke
8c15a6ff2e r19046: It does not do much yet, but activate RPC-SAMBA3-SPOOLSS
(This used to be commit 3bf313240c)
2007-10-10 12:15:06 -05:00
Stefan Metzmacher
c25f331cf9 r19040: use more portable shellscripting, hopefully give better results on Tru64
metze
(This used to be commit e8dd73f796)
2007-10-10 12:15:05 -05:00
Stefan Metzmacher
6b80d173ed r19038: build libreplace testsuite as replacetort
and run it with make test

metze
(This used to be commit 9db9eb199f)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
dc030ce813 r18951: socket_wrapper has only 16 interfaces anymore...
metze
(This used to be commit a1966a9c07)
2007-10-10 12:14:49 -05:00
Volker Lendecke
170ee35a66 r18886: First, RPC_SRVSVC is called RPC-SRVSVC and second, we're so far off on that
one that there's no point yet to run this in the build farm.

Volker
(This used to be commit bbd9f0bb6f)
2007-10-10 12:14:41 -05:00
Andrew Tridgell
8761f5dcc4 r18867: change the group mapping code to use ldb instead of tdb
See the discussion of this on the samba-technical list
(This used to be commit 4ad1436cea)
2007-10-10 12:14:39 -05:00
Jelmer Vernooij
387bfebfcf r18823: Fix some errors in the srsvc handling code and start running the RPC-SRVSVC
test against samba3.
(This used to be commit f0508ecb44)
2007-10-10 12:01:03 -05:00
Jeremy Allison
f18c9365ca r18787: Fix the strlen_m and strlen_m_term code by merging
in (and using elsewhere) next_codepoint from Samba4.
Jerry please test.
Jeremy.
(This used to be commit ece00b70a4)
2007-10-10 12:00:57 -05:00
Jelmer Vernooij
1260972ec9 r18778: Fix comparison.
(This used to be commit 0a198e6096)
2007-10-10 12:00:56 -05:00
Jelmer Vernooij
3ef4b8cf2f r18744: Disable some tests that only work when RUN_FROM_BUILD_FARM is set.
(This used to be commit 72b51c8891)
2007-10-10 12:00:53 -05:00
Gerald Carter
8dd826f500 r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
(This used to be commit e936d39e00)
2007-10-10 11:52:00 -05:00
Stefan Metzmacher
7ee716e701 r18612: remove RPC-ECHO till it gets fixed
metze
(This used to be commit 2afeec3d15)
2007-10-10 11:52:00 -05:00
Jelmer Vernooij
e5db7fee0f r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3.
(This used to be commit 9e9a053661)
2007-10-10 11:51:51 -05:00
Jelmer Vernooij
48e2a2bfb7 r18481: Use pidl-generated server side code for dfs.
(This used to be commit 3f337c104d)
2007-10-10 11:51:43 -05:00
Gerald Carter
5c14584d21 r18387: remove echo of pidl command line (was used for debugging)
(This used to be commit 848edce912)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
b890724ea3 r18380: the panic action command needs to be different in samba4
samba4 uses %PID% where samba3 uses %d

metze
(This used to be commit 4424aebdce)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
716135eacf r18379: make the gdb_backtrace executable
metze
(This used to be commit f4023dc39e)
2007-10-10 11:51:20 -05:00
Jelmer Vernooij
6ed67b003e r18232: - Trim number of regexes applied to generated files
- Fix syntax error in shell script (refused by dash)
- Regenerate output
(This used to be commit 4dba965f9a)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
c43047009b r18230: Build Samba3 RPC client<->libndr glue code.
(This used to be commit c77ddae4f0)
2007-10-10 11:51:16 -05:00
Gerald Carter
cb78a0d24a r18229: regenerated unixinfo files and add a few header stubs. Almost autogenerated now
(This used to be commit b860685a81)
2007-10-10 11:51:16 -05:00
Gerald Carter
82ed086618 r18193: Not quite to autogenerated NDR but closer thanks to Jelmer's
initial work.  I'm including the librpc/gen_ndr directory
in svn temporarily just to get some compile issues straightened
out.
(This used to be commit cf271aa433)
2007-10-10 11:51:08 -05:00
Jelmer Vernooij
995205fc60 r18188: merge 3.0-libndr branch
(This used to be commit 1115745cae)
2007-10-10 11:43:56 -05:00
Stefan Metzmacher
3c23af97f9 r18069: it isn't a good idea to run the PIPE_NUMBER test on a file share...
But I wonder why it is so slow on my laptop and takes only 1 second on
the 'opi' build farm host.

I got only 2-3 opens per second...

metze
(This used to be commit d5c55e731a)
2007-10-10 11:43:25 -05:00
Stefan Metzmacher
5e7ead245c r17953: run bin/talloctort with samba3's make test
metze
(This used to be commit 2d3ab069dd)
2007-10-10 11:39:44 -05:00
Gerald Carter
f2b3143cf7 r17934: allow srcdir != builddir for 'make test'
(This used to be commit 70f2235549)
2007-10-10 11:39:00 -05:00
Volker Lendecke
e09daab015 r17880: On host "tridge" in the build farm the tests fail because smbd hangs in in
'connecting to cups server on localhost'. There is no cups on that host, but
the TCP connection hangs in SYN_SENT. Probably some firewall rule.

Work around that.

Volker
(This used to be commit ab4e7b34da)
2007-10-10 11:38:57 -05:00
Volker Lendecke
5e6195d2e0 r17623: Revert accidential commit
(This used to be commit 8dcc4e7dd6)
2007-10-10 11:38:44 -05:00
Volker Lendecke
517efef9a1 r17622: Add a framework for a printing backend designed to support the build farm. If
we want to walk more printing code in the build farm I think doing that with a
customized printing backend is much easier than with a set of shell scripts.

Jerry, comments?

Volker
(This used to be commit 949cd6b992)
2007-10-10 11:38:44 -05:00
Volker Lendecke
03e3cd1d5a r17554: Cleanup
(This used to be commit 761cbd52f0)
2007-10-10 11:38:38 -05:00
Volker Lendecke
21da07ba1f r17457: Add a test to do some operations on group mapping.
Volker
(This used to be commit 68db058fdf)
2007-10-10 11:38:35 -05:00
Volker Lendecke
ac9628de48 r17425: Add the multi-key wrapper. If it's necessary to add general blobs as keys,
this can trivially be added later.

Volker
(This used to be commit 6915adb978)
2007-10-10 11:38:33 -05:00
Volker Lendecke
d3ec0beb14 r17116: Jerry, I can't reach you right now, but r17110 broke the build.
Please check.

Volker
(This used to be commit 8c7d6cab19)
2007-10-10 11:38:13 -05:00
Gerald Carter
8e99b53461 r17110: revert a bad merge from the old trunk
(This used to be commit 2c7448e43e)
2007-10-10 11:38:12 -05:00
Volker Lendecke
03f477b8a6 r17095: Activate RPC-SAMBA3-SHARESEC
(This used to be commit bcb196d21e)
2007-10-10 11:38:11 -05:00
Volker Lendecke
95fd775e81 r17077: Activate RPC-SAMBA3-GETUSERNAME in the build farm
(This used to be commit 8c6088f2bd)
2007-10-10 11:38:10 -05:00
Volker Lendecke
1f2419d9f8 r17032: I thought I had already merged this from trunk:
> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line
>
> get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC

Volker
(This used to be commit c89471e157)
2007-10-10 11:19:21 -05:00
Jeremy Allison
fbdcf2663b r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
(This used to be commit 9dafb7f48c)
2007-10-10 11:19:14 -05:00
James Peach
e0055ce8f5 r16289: Fix smbclient test hang. This is caused by readline refusing to believe
the end of file it receives when reading from a pipe after we force
interactive mode.
(This used to be commit 3eee126458)
2007-10-10 11:17:31 -05:00
James Peach
ae2fb4f109 r16273: Add smbclient tests to verify that
in interactive mode, smbclient always prompts on stdout
        in non-interactive mode, smbclient never prompts
(This used to be commit dff1eba81e)
2007-10-10 11:17:30 -05:00
Alexander Bokovoy
21706838f5 r16138: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit a18af427d7)
2007-10-10 11:17:22 -05:00
Alexander Bokovoy
c403a5525c r16136: By default, rootsbindir relies on SBINDIR so import it here
(This used to be commit 5ffb424641)
2007-10-10 11:17:22 -05:00
Gerald Carter
7112413350 r16130: fix a shell portability issue for Solaris sh in installman.sh
(This used to be commit 9be3e07884)
2007-10-10 11:17:22 -05:00
Stefan Metzmacher
fd1b550851 r16025: make sure the samba4's smbtorture can be executed
metze
(This used to be commit bed220afb8)
2007-10-10 11:17:18 -05:00
Stefan Metzmacher
5c9e031adb r15989: try to make timelimit.c more portable
Patch from Bjoern Jacke (Thanks!)

metze
(This used to be commit b9d1440f46)
2007-10-10 11:17:17 -05:00
Stefan Metzmacher
92307d5b17 r15967: enable RAW-OPLOCK in samba3 make test
metze
(This used to be commit 6d35268639)
2007-10-10 11:17:15 -05:00
Volker Lendecke
4c411c9bb9 r15924: Ok, the Solaris fix broke AIX. Next try :-)
Volker
(This used to be commit 53bd3fa30a)
2007-10-10 11:17:13 -05:00
Volker Lendecke
096061c212 r15918: Attempt to bring Solaris into make test. The Solaris shell does not like the
isolated !.

Metze, can you check this?

Thanks,

Volker
(This used to be commit c9542c64ce)
2007-10-10 11:17:13 -05:00
Volker Lendecke
9b19549fd6 r15917: Activate RPC-AUTHCONTEXT in "make test"
(This used to be commit 17f701ab4f)
2007-10-10 11:17:13 -05:00
Jim McDonough
b4f96abf0a r15873: Use short signal names to placate ksh trap. bash seems to accept either
and even uses them on the manpage.  this should now enable make test on
AIX.
(This used to be commit de836d2077)
2007-10-10 11:17:11 -05:00
Jim McDonough
78d733e667 r15872: Take one step toward getting this working on AIX. the [-z ] stuff
doesn't work there.
(This used to be commit 0ee78d96d9)
2007-10-10 11:17:11 -05:00
Stefan Metzmacher
4856cd51f0 r15735: also export PREFIX as testit from test_functions.sh needs it
metze
(This used to be commit 8709bba24a)
2007-10-10 11:17:10 -05:00
Stefan Metzmacher
385fa8cafb r15732: samba3 now passes BASE-DENY1
metze
(This used to be commit e5a8553a57)
2007-10-10 11:17:09 -05:00
Gerald Carter
bc77e15c30 r15717: BUG 3711: patch from Leonid Kabanov <lkabanov@mail.ru> for some solaris sheel scripting bugs with 'make test'
(This used to be commit 94e0bc5013)
2007-10-10 11:17:09 -05:00
Stefan Metzmacher
c4d4e8dd31 r15691: - samba3 also pass RAW-CHKPATH, RAW-SEEK, RAW-SFILEINFO-BUG
- samba3 pass the limited version of RAW-LOCK
  (the lock cancel and error checking tests are skipped)

metze
(This used to be commit b79ceece95)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
9b9c6c3632 r15686: - start testing the RAW-* tests in make test
- RAW-READ now passes samba3
- skip the rest for now

metze
(This used to be commit fc343051af)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
46586a1fd3 r15682: fix option passing
metze
(This used to be commit cd2fa1da6c)
2007-10-10 11:17:07 -05:00
Stefan Metzmacher
039113fe15 r15620: pass 'target:samba3=yes' to samba4's smbtorture when running samba3's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba3

metze
(This used to be commit fab4de70b6)
2007-10-10 11:17:03 -05:00
Deryck Hodge
a24c545bac r15466: Install the images for SWAT.
And we don't install any JavaScript (hold over from a prior SWAT
svn ci trunk/ branches/SAMBA_3_0 -m
(This used to be commit 9bf07ba6cc)
2007-10-10 11:16:51 -05:00
James Peach
7835930549 r15447: Teach "smbd -b" to emit the sizes of a few more types that
might be interesting. Push the spacing across a bit so that
it all lines up nicely.
(This used to be commit efd961e4ee)
2007-10-10 11:16:46 -05:00
Stefan Metzmacher
c398ea247b r14886: reenable BASE-DENY2 and BASE-DENY3
metze
(This used to be commit 69f489bde0)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
97bfe0d0a0 r14884: this doesn't work and causes processes to be left when using ctrl-c (SIGINT)
metze
(This used to be commit 1ac5351646)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
186f442f4c r14865: - enforce timelimits for the tests
- and skip some long tests for now

metze
(This used to be commit 1d52ae786d)
2007-10-10 11:15:52 -05:00
Stefan Metzmacher
3aaa903102 r14820: sync test_posix_p3.sh with test_posix.sh from samba4
but only run the BASE-* tests and ignore some more than in samba4

metze
(This used to be commit 6f37658f92)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
c3624eb7c4 r14809: - add my email address
- fix usage()
- remove unused var

metze
(This used to be commit 20782719d9)
2007-10-10 11:15:49 -05:00
Stefan Metzmacher
2f28844a10 r14744: allow ./timelimit 5 ./timelimit 20 ./ignore_all_signals
to work,

this is needed when we enable samba3's make test
in the build-farm

metze
(This used to be commit b120c21669)
2007-10-10 11:15:45 -05:00
Stefan Metzmacher
aa583e5912 r14678: - we need to use 127.0.0.2/8 as interface for the server
as nmbd skip interfaces with address 127.0.0.1
- add samba3 smbclient -L tests
- add samba3 smbtorture tests

metze
(This used to be commit 835f8f4339)
2007-10-10 11:15:43 -05:00
Stefan Metzmacher
ed9ad1827b r14632: add basic 'make test' using samba4's smbtorture
I'll try to add some tests using samba3's smbtorture and smbclient
later.

can someone check if this would be save to run on the build-farm
without leaking child processes...

metze
(This used to be commit 899fd6808e)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
906c19faca r14628: sync timelimit.c with the version from the build-farm repository
metze
(This used to be commit 1b6a643785)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
b40e258870 r14624: - add timelimit.c
- add configure tests --with-selftest-prefix=/tmp/samba-test
  this is needed because the path name of unix socket can only be 108 chars long
- add configure test --with-smbtorture4-path=/home/foo/prefix/samba4/bin/smbtorture
  this will be used to run samba4's smbtorture inside samba3's make test later

metze
(This used to be commit d9df1853b9)
2007-10-10 11:15:39 -05:00
Lars Müller
9b27791644 r14325: Add pam_modules rule which builds the configure(d) pam modules. This is
called as part of the all rule (again only if pam modules are requested
by configure).

Add pam_winbind rule.

Ensure proto_exists before we build the pam modules.

Add test_pam_modules rule to test if the built pam modules have any
unresolved symbols.  For test_pam_modules we use script/tests/dlopen.sh
which was written by Nalin Dahyabhai <nalin@redhat.com>.  Thanks Nalin!
RedHat and SuSE use this script to test nss and pam modules since
several years.
(This used to be commit 71b2eb55ad)
2007-10-10 11:15:25 -05:00