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

620 Commits

Author SHA1 Message Date
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