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

883 Commits

Author SHA1 Message Date
Michael Adam
745354eab8 s3:tests: use the blackbox subunit output formatter for the smbclient_s3 test.
With the old output, failures would go unnoticed by selftest.
2011-02-19 12:23:24 +01:00
Michael Adam
ae9eca61eb s3:test: remove the give/take admin rights code from the net(rpc)registry test
This is not neede any more.
The token has been fixed at the lower level on the dc.
2011-02-16 15:21:20 +01:00
Michael Adam
df4044ed33 s3:test: move the registry roundtrip test to a test script of its own 2011-02-16 12:56:41 +01:00
Michael Adam
7fb4f2e0d5 s3:test: add comment header to test_net_registry.sh 2011-02-16 12:56:41 +01:00
Michael Adam
dbc7896e33 s3:test: use the blackbox subunit test driver in the net_registry tests. 2011-02-16 12:56:41 +01:00
Michael Adam
ad6c3ec3e5 s3:test: use the blackbox subunit test driver in the net_misc tests. 2011-02-16 12:56:41 +01:00
Michael Adam
1430d17f2a s3:test: add a simple failing blackbox testsuite 2011-02-16 12:56:40 +01:00
Michael Adam
9164a57457 s3:test: add a simple blackbox test that succeeds. 2011-02-16 12:56:40 +01:00
Günther Deschner
0bfdb3e249 s3-selftest: move all skipped test to skiplist.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
2011-02-15 12:52:22 +01:00
Günther Deschner
c575d30a32 s3-selftest: when skipping tests, use the selftest/skip file.
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
06d4e4cb2e s3-selftest: remove some more unused test functions.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
2011-02-11 00:33:58 +01:00
Günther Deschner
961f6295a9 s3-selftest: run the three net tests individually.
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
97b03d5bfb s3-oldtest: remove unused tests_all.sh file.
Guenther
2011-02-10 18:37:18 +01:00
Günther Deschner
698d339ffd selftest: remove make oldtest.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 22:16:31 CET 2011 on sn-devel-104
2011-02-08 22:16:31 +01:00
Günther Deschner
2534e01a3a s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
2011-02-02 20:53:15 +01:00
Andreas Schneider
5aae1f462e s3-selftest: Enable RPC-EPMAPPER tests.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  2 13:28:41 CET 2011 on sn-devel-104
2011-02-02 13:28:41 +01:00
Andreas Schneider
d0d5d59943 s3-smbd: Disable the endpoint mapper by default. 2011-02-02 12:44:20 +01:00
Jeremy Allison
ba6dda1934 Add delete-ln test now we can correctly delete hardlinks.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jan 28 01:24:19 CET 2011 on sn-devel-104
2011-01-28 01:24:19 +01:00
Gregor Beck
64f8306e8e s3-net: add roundtrip tests for registry import/export 2011-01-21 10:10:03 +01:00
Jeremy Allison
dbaeb52ebe Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.
Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
2011-01-15 00:59:46 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Björn Jacke
eeade1596d tests: avoid bash in shebang and fix wrong "==" in test 2010-12-02 10:36:06 +01:00
Günther Deschner
800a76dec3 s3-oldtest: add WIN40 to print$ share.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 16:20:37 CET 2010 on sn-devel-104
2010-11-29 16:20:37 +01:00
Jelmer Vernooij
ed22f13e7e s3: Rename GIT_COMMIT_{TIME,DATE} to COMMIT_{TIME,DATE}.
This avoids some special casing in the waf code.
2010-11-12 17:42:14 +00:00
Jeremy Allison
ac0ffba004 Add test that detects problems in the SMB signing code when run through cli_write() (which doesn't use the new async methods).
Unfortunately, and I think due to the socket wrapper code, this doesn't
detect the failure on the build farm, but running the RW-SIGNING test
separately against a Samba or Windows server using signing does.

Jeremy.
2010-11-10 18:07:51 -08:00
Günther Deschner
9dd467b2d5 s3-selftest: add vfs_modulesdir variable for both test systems.
Guenther
2010-10-28 14:33:19 +00:00
Günther Deschner
a578ac028f s3-waf: add slightly different mkbuildoptions awk script for waf.
This allows to run make test (w/o smbtorture4 for now) using waf.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 18:24:55 UTC 2010 on sn-devel-104
2010-10-05 18:24:55 +00:00
Günther Deschner
505eaa9493 s3-selftest: enable smb2 torture tests against samba3.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104
2010-10-05 14:38:07 +00:00
Michael Adam
a2ea85b68d s3:tests: fix misplaced '...' for grep pattern in test_net_registry.sh 2010-09-22 06:30:01 +02:00
Günther Deschner
9962462278 s3-selftest: rename printer "print4" to "lp".
This should trigger a false error condition in our code.

Guenther
2010-09-10 00:26:26 +02:00
Günther Deschner
c80d4cb6fe s3-selftest: fix make oldtest (testparm_s3 tests use $LOCAL_PATH).
Guenther
2010-08-16 16:42:09 +02:00
Günther Deschner
472d2a356f s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.

Guenther
2010-08-13 18:30:37 +02:00
Günther Deschner
bfdd85d4a5 s3-selftest: enable RPC-BIND against s3.
Guenther
2010-07-14 01:34:48 +02:00
Günther Deschner
cb52b1ad99 s3-idl: support --full for s3 build_idl.sh as well.
Guenther
2010-07-05 15:41:33 +02:00
Günther Deschner
160d882f34 s3-selftest: fix locktest9 in make selftest.
Guenther
2010-06-17 15:08:27 +02:00
Günther Deschner
09daf63c93 s3-selftest: do not call main RPC-SPOOLSS testsuite.
The tests formerly available in there can now be accessed via
RPC-SPOOLSS-PRINTSERVER.

Guenther
2010-06-04 14:31:08 +02:00
Günther Deschner
3854f0708e s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
2010-06-02 15:37:50 +02:00
Gregor Beck
304271bd8f s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Gregor Beck
12ce164384 s3: registry: let test_setvalue use getvalueraw instead of enumerate
simplifies code, prerequisite to handle empty valuenames

Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Günther Deschner
3ce8bcdd83 s3-selftest: enable RAP-SAM against Samba 3.
Guenther
2010-05-12 00:20:49 +02:00
Björn Jacke
e8c3da1fc0 idl: get the logic of the prevous commit right 2010-05-07 13:45:00 +02:00
Björn Jacke
10e0641e34 idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
2010-05-07 13:38:00 +02:00
Andrew Tridgell
f4000eecf4 s3-idl: update the 2nd build_idl.sh script 2010-05-04 13:47:08 +02:00
Günther Deschner
8878be3c45 s3-selftest: enable RAP-PRINTING against s3.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
30b1e44382 s3-selftest: enable RPC-SPOOLSS-DRIVER against s3.
Guenther
2010-04-23 13:52:57 +02:00
Günther Deschner
14bb3f71aa s3-selftest: add print$ share with two arch dirs.
(make test variant)

Guenther
2010-04-23 13:51:33 +02:00
Volker Lendecke
e0d7a84242 s3: Test for wb ccache access by smbclient 2010-04-19 14:27:24 +02:00
Volker Lendecke
460e2d5dad s3: Change the make test password to "testPw"
This way we can change back to it when testing testing wbcChangeUserPassword,
"test" is too short (<5 chars)
2010-04-19 14:27:20 +02:00
Jeremy Allison
a1e0e1cbcf Add basic DFS tests.
Jeremy.
2010-04-13 18:42:24 -07:00
Günther Deschner
203a661e01 s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
(make test variant).

Guenther
2010-03-26 23:01:19 +01:00
Günther Deschner
9a5d50b724 s3-selftest: enable RAP-RPC test against s3.
Guenther
2010-03-25 14:43:45 +01:00
Günther Deschner
34674e0a61 s3-selftest: move printing config to global section.
"make test" variant.

Guenther
2010-03-25 00:55:32 +01:00
Günther Deschner
5d5c6e1320 s3-selftest: use proper names for samba3 dcerpc tests.
Guenther
2010-03-19 20:23:33 +01:00
Günther Deschner
4d6368f5f5 s3-selftest: enable RAP calls testsuite against samba3.
Guenther
2010-03-19 10:56:11 +01:00
Günther Deschner
53d35fc958 s3-selftest: rearrange uid/gid calculation to achieve correct membership.
(make test variant)

Guenther
2010-03-19 10:33:54 +01:00
Günther Deschner
38a46fa32b s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Guenther
2010-03-18 15:08:26 +01:00
Günther Deschner
3bc18d9f67 s3-selftest: run RPC-EVENTLOG against s3.
Guenther
2010-03-17 22:59:35 +01:00
Günther Deschner
bb91bbb413 s3-test: setup initial eventlog infrastructure.
Guenther
2010-03-17 22:59:27 +01:00
Jeremy Allison
1a10a5949d Improve symlink delete test. Make sure we don't delete the link target by mistake.
Jeremy.
2010-03-11 14:41:01 -08:00
Jeremy Allison
20d85d5d54 Added regression test for bug #7234 - Symlink delete fails but incorrectly reports success.
Ensure we can delete a symlink by path.

Jeremy.
2010-03-10 14:40:20 -08:00
Jeremy Allison
41be39013b Fix the shell script in the root case. When run as root, make test now detects CAP_DAC_OVERRIDE being left on in error.
Jeremy.
2010-03-09 20:06:19 -08:00
Jeremy Allison
3855c948c0 Add tests which, when run as root, will ensure we can't write
into a read-only directory, or read a owner-read-only file.

Jeremy.
2010-03-09 16:36:48 -08:00
Jeremy Allison
9adbba6fb9 Allow "make test" to complete as root. Obviously only safe on tightly
controlled developer machines.
Jeremy.
2010-03-09 13:14:18 -08:00
Günther Deschner
6c52a37ac1 s3-selftest: enable RPC-WINREG against Samba 3.
Guenther
2010-03-05 11:09:05 +01:00
Stefan Metzmacher
9f2f738a3c s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
2010-02-24 11:56:10 +01:00
Jeremy Allison
2a5060fcef A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
2010-02-22 15:34:15 -08:00
Volker Lendecke
e38908ea65 s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests 2010-02-20 21:35:03 +01:00
Günther Deschner
b6f58e25b5 s3-selftest: fix return code for modprinter.pl -a.
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a
share already existed (and the addprinter command returned a non-0 return code).
Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to
see if a share already exists before calling out the addprinter command.

Maybe one day, we need to have a "changeprinter command"...

Guenther
2010-02-18 11:23:59 +01:00
Günther Deschner
867daf6e0a s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.
Guenther
2010-02-18 02:27:08 +01:00
Günther Deschner
34ad5da5cd s3-selftest: include addprinter/deleteprinter command.
Guenther
2010-02-18 02:27:04 +01:00
Jeremy Allison
a35be8c0c2 Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.

Jeremy.
2010-02-01 18:49:50 -08:00
Günther Deschner
1ead83947f s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
Guenther
2010-01-27 13:40:16 +01:00
Volker Lendecke
397a6faed9 s3: Add a little torture test for dom_sid_parse 2010-01-23 16:28:11 +01:00
Günther Deschner
b5186b3e23 s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
c971c10a63 s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
743adfda91 s3 selftest: Enable the WINBIND-STRUCT tests 2010-01-14 15:18:35 +01:00
Kai Blin
cf38a1f850 s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
2010-01-14 15:18:35 +01:00
Volker Lendecke
eb7ff9220d s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make test 2009-12-17 12:48:27 +01:00
Günther Deschner
31202a9dab s3-selftest: enable RPC-SAMBA3-WINREG.
Very strange we didn't run it before.

Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
9a3d9abdd8 s3-selftest: run LOCAL-NDR when running make selftest.
Guenther
2009-12-03 01:04:02 +01:00
Volker Lendecke
7bbee8dc17 s3: Add a regression test for bug 6898 2009-11-29 16:12:51 +01:00
Jeremy Allison
108da2adaf Add RAW-CHKPATH test with case-sensitive share.
Jeremy.
2009-11-25 13:17:38 -08:00
Tim Prouty
17caf63640 s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftest 2009-11-25 08:45:58 -08:00
Tim Prouty
ce9ac3a685 s4 torture: Split up the torture suite setup for RAW-SFILEINFO
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test.  I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
2009-11-25 08:45:14 -08:00
Günther Deschner
d7ce873391 s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
Guenther
2009-11-09 17:36:53 +01:00
Jeremy Allison
e434934526 Remove the smbd:writetimeupdatedelay change Metze added. Metze please
explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.
2009-11-05 17:43:33 -08:00
Jeremy Allison
9356265802 Turn on LOCK9 test which will test for regressions in bug 6828.
Jeremy.
2009-10-20 17:53:06 -07:00
Günther Deschner
870f2d336a s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.
Guenther
2009-10-20 15:57:00 +02:00
Jeremy Allison
8d85757578 Fix posix_unlink test. Was doing grep without quotes around the
target string.
Jeremy.
2009-10-17 20:46:22 -07:00
Jeremy Allison
096589aead Trying to find out why the posix_unlink test build farm is still failing even
though we're now successfully deleting the symlink.
Jeremy.
2009-10-17 10:38:44 -07:00
Jeremy Allison
010dfbf1fd Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. Caught by the torture tester. I love unit tests :-). Jeremy. 2009-10-16 16:38:59 -07:00
Günther Deschner
3f80b06d9e s3-selftest: enable WINBIND-WBCLIENT against s3.
Guenther
2009-10-16 02:04:37 +02:00
Matt Kraai
815b790c96 Use the method used by build_env.sh to discover the user name.
so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we
are.
2009-10-11 12:44:42 +02:00
Jeremy Allison
7709db4c03 Test creating and deleting a bad symlink using the POSIX calls. Ensure
we don't regress on bug 6769.
Jeremy.
2009-10-06 17:18:15 -07:00
Michael Adam
9741cb7638 talloc:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:39:53 +02:00
Michael Adam
ee1fe382d6 talloc:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
50347d6ac0 s3:mksyms: fix spelling...
Michael
2009-09-11 15:39:52 +02:00
Günther Deschner
32f9d20dff s3-selftest: enable running RPC-NETLOGON-S3 against samba3.
Guenther
2009-08-26 23:04:22 +02:00
Kai Blin
8d0345e5a0 wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file. 2009-08-18 22:10:04 +02:00
Jeremy Allison
28f7b07436 Move build over to storing DOS attributes in EA's.
Turn off "map to" directives. I've now fixed the
issues with the build tests running this way. I think
this is how most people run these days - please raise this on
the list (or revert) if you disagree.
2009-08-12 17:07:13 -07:00
Jeremy Allison
d6270df748 Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA.
Jeremy.
2009-08-12 13:00:54 -07:00
Stefan Metzmacher
b4abb190a9 s3:make test: smbtorture from s3 needs to take the config file path via the SMB_CONF_PATH envvar
metze
2009-07-15 11:55:27 +02:00
Volker Lendecke
3969f65aaa Fix&Run local-gencache 2009-07-10 18:16:46 +02:00
Volker Lendecke
0a0bff353e Fix our base64 implementation for blobs of length 4....
The additional length check bit us exactly at 4, removing it. The
torture test survives valgrind up to 2000 bytes :-)
2009-07-10 18:16:46 +02:00
Volker Lendecke
7e560bd802 For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test.

Jeremy, Tim, please check!
2009-07-03 23:20:57 +02:00
Günther Deschner
bd997b2574 s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.
Guenther
2009-06-29 14:40:17 +02:00
Michael Adam
8925778a61 s3: fix make test with external libtalloc or libtdb.
This skips the talloctort and tdbtorture tests when the
corresponding binaries are not present.
There might be more clever ways of detecting wether samba
has been linked with internal or external libraries, but
as a first approximation, this seems valid.

Michael
2009-06-19 21:13:38 +02:00
Timur I. Bakeyev
ef9773c8e7 Fix make test_pam_modules
In Samba3 there is a very handy Makefile target 'test_pam_modules'. It let
quickly veryfy, that obtained PAM module actually is loadable and doesn't
miss any dependency libs. the only problem that on FreeBSD it doesn't work
OOTB, as it unconditionally adds -ldl to the list of libraries when FreeBSD
doesn't have it and doesn't need it.

This small patch fixes the problem for FreeBSD and, I hope, still valid
for othe systems, where -ldl is required. Has to be tested there though.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:54 +02:00
Günther Deschner
029e8e6314 s3-test: finally enable RPC-SAMR against samba3.
We now pass it :-)

Guenther
2009-06-08 13:06:53 +02:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
Günther Deschner
df167ee771 s3-selftest: Fix invalid /etc/group file used with nss_wrapper.
Found by torture test.

Guenther
2009-05-30 09:43:28 +02:00
Günther Deschner
90db997d37 Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."
This reverts commit 8da15dc29a.
2009-05-29 18:11:39 +02:00
Günther Deschner
8da15dc29a s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.
Guenther
2009-05-29 18:10:04 +02:00
Günther Deschner
7b8d30d1bb s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.
Guenther
2009-05-29 13:50:15 +02:00
Günther Deschner
7a5475f098 s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from group" script.
Guenther
2009-05-28 10:40:22 +02:00
Günther Deschner
4258750e4f s3-selftest: fix typo.
Guenther
2009-05-25 15:56:47 +02:00
Günther Deschner
f0139e3b69 s3-selftest: enable RPC-SAMR-LARGE-DC against Samba3.
This will fail for alias creation as nss_wrapper does not yet wrap around
libnss_winbind.

Guenther
2009-05-25 14:03:16 +02:00
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