1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

521 Commits

Author SHA1 Message Date
Jelmer Vernooij
c0de338394 Move Samba4-specific code out of selftest. 2008-10-19 16:07:00 +02:00
Jelmer Vernooij
7e088ec354 Fix comment after paths have changed. 2008-10-19 14:41:10 +02:00
Jelmer Vernooij
694a579cb8 Merge branch 'selftest' of git://git.samba.org/jelmer/samba 2008-10-19 10:20:37 +02:00
Jelmer Vernooij
06cdfb17b9 Support "make test-X" to run all tests that match regex X. 2008-10-11 22:22:29 +02:00
Jelmer Vernooij
0fd0fc75c4 Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
Conflicts:
	selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
3ecde315d3 Import tests for subunit python module. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
8da78b7325 Move subunit helper utility to specific subunit directory. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
c024fb7d57 Allow 'make testenv-dc', 'make testenv-member', etc. 2008-10-08 02:19:24 +02:00
Stefan Metzmacher
45645426c2 s4:selftest: make sure we test RPC-OBJECTUUID with seal
metze
2008-09-30 06:47:25 +02:00
Stefan Metzmacher
3ff298c37b s4:selftest: add "smb.signing" to anon signing tests
metze
2008-09-30 06:47:22 +02:00
Andrew Tridgell
bda97661ff fixed expansion of $USERNAME in signing tests 2008-09-24 18:28:58 -07:00
Jelmer Vernooij
6a689c23e8 Rename smbd -> samba.
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091.

Conflicts:

	source4/smbd/server.c
2008-09-24 03:16:15 +02:00
Stefan Metzmacher
61a38d9180 selftest: test some smb signing combinations against the member server
metze
2008-09-23 11:30:04 +02:00
Jelmer Vernooij
afa850910f Avoid printing characters when in immediate mode. 2008-09-21 23:09:56 +02:00
Jelmer Vernooij
beee9debea Print status (one character per test) when not running selftest with --immediate. 2008-09-21 22:26:44 +02:00
Jelmer Vernooij
05ea5e23cf Revert "Rename smbd -> samba."
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21 21:32:40 +02:00
Jelmer Vernooij
0e9008be35 Rename smbd -> samba. 2008-09-21 21:26:40 +02:00
Jelmer Vernooij
da987d8fb4 No longer set PATH during selftest, was only required for smbscript. 2008-09-21 15:55:08 +02:00
Jelmer Vernooij
163292f325 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs 2008-09-19 16:26:00 +02:00
Jelmer Vernooij
c7d069a483 Fix path to ndrdump in blackbox test, don't start smb server for ndrdump
tests.
2008-09-19 12:07:03 +02:00
Jelmer Vernooij
acffa3ddbf Stop writing js include dir in selftest. 2008-09-18 20:48:09 +02:00
Jelmer Vernooij
729ffbae08 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Conflicts:
	source4/main.mk
2008-09-18 20:29:05 +02:00
Jelmer Vernooij
88ad1a936c Remove EJS tests. 2008-09-18 20:28:42 +02:00
Jelmer Vernooij
69d38a95c2 keep obsolete file in samba4 source directory. 2008-09-18 19:53:05 +02:00
Jelmer Vernooij
182a0e3490 Move selftest code to top-level. 2008-09-18 19:51:03 +02:00
Jelmer Vernooij
b72d29724d Fix python path for systems without tdb installed in the system. 2008-09-18 15:25:31 +02:00
Jelmer Vernooij
b16a8f31ad Fix location of included popt files for systems that don't have popt. 2008-09-17 17:13:02 +02:00
Jelmer Vernooij
740f67d781 Avoid running target-specific tests during general test run, 2008-09-16 18:34:40 +02:00
Jelmer Vernooij
d7a0c26af4 Move torture/ blackbox tests closer to code they're testing. 2008-09-16 18:30:24 +02:00
Jelmer Vernooij
aa09d8a75f Move ndrdump tests closer to the code they test. 2008-09-16 18:16:49 +02:00
Andrew Bartlett
0cbfc686c4 Fix failures in the winbind struct-based test.
Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard...

A better test (once we unify the winbind protocol with Samba3) would
be a operation to see if you are on the priv pipe, and that will give
acutal end-to-end testing.

Andrew Bartlett
(This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)
2008-09-11 11:49:24 +10:00
Andrew Bartlett
171986aea2 Move blackbox.smbclient to test against the member server.
The DC is now using smb signing, so testing for the old SMB versions
won't work.

Add a new test script to check 'net join' independent of
blackbox.smbclient.

Andrew Bartlett
(This used to be commit 44ff392ffea52e89a3ac096a6d381ae540d3473c)
2008-09-08 14:18:04 +10:00
Andrew Bartlett
0f1eea2672 Rework provision to handle both simple and SASL binds.
Fedora DS is still setup for simple binds only, at this point.
(it also fails on other issues).

Andrew Bartlett
(This used to be commit b24c572d5a38c1f6906751c2ad2f809e1995b510)
2008-07-15 15:46:32 +10:00
Andrew Bartlett
a6b842f963 Connect to the LDAP backend with SASL credentials.
This reworks our LDAP backend code to move from anonymous access to a
shared-secret SASL-protected connection.  (SASL selects NTLM or
DIGEST-MD5 on my system).

To get this working, we must pre-populate the LDAP backend with a DN
to store ths SASL secret on, and we use back-ldif for this.

This gives us a reasonable basis to deploy a replicated OpenLDAP
backend solution.

Andrew Bartlett
(This used to be commit cd0745253c4a9ec59a035e830e54d74a05b71aaa)
2008-07-15 15:15:12 +10:00
Andrew Bartlett
13a498939a Fix 'make gdbtest-enb' and the GDB_PROVISION option.
(This used to be commit 79c4d8e2fabc9c33d978c064b9c01ca45e463ced)
2008-07-15 15:01:43 +10:00
Andrew Bartlett
b5808e5d65 selftest changes for 'winbind privileged dir' change.
(This used to be commit c19b28f7579268133939aebe06e1c947d4415182)
2008-06-28 22:03:52 +10:00
Jelmer Vernooij
26e9194e3a Move blackbox tests closer to what they're testing.
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)
2008-06-26 10:56:59 +02:00
Jelmer Vernooij
9c6b7f760a Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)
2008-06-25 20:04:35 +02:00
Andrew Bartlett
48100ca5c6 Remove old ldap.js test, we have replicated it in python now.
This will soon allow the removal of smbscript, once the samba3sam test
conversion is complete.

Andrew Bartlett
(This used to be commit 60c93b9777d9bd7dce89f9024ba767f5404ac72d)
2008-06-19 14:53:14 +10:00
Andrew Bartlett
9ea25cacf1 Add a blackbox test for the provision-backend script.
This test (as most tests do :-) found a few bugs, also fixed in this
commit.

Andrew Bartlett
(This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)
2008-06-19 11:05:20 +10:00
Jelmer Vernooij
232fd06271 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
2008-06-17 13:48:29 +02:00
Simo Sorce
370f95acfc Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
c075fe9693 Remove support for deprecated JS provisioning.
(This used to be commit 9a5859c33e2377f3c5ee8d637fa81d49cb6f5456)
2008-06-16 23:19:14 +02:00
Jim McDonough
f3fb381952 Missed these on the last commit
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)
2008-06-12 07:06:07 -04:00
Stefan Metzmacher
a2f1bd0050 selftest: pass torture:writetimeupdatedelay to smbtorture
metze
(This used to be commit c285b540cb1c2b554a85ef08a4280f544d9d20cc)
2008-06-03 14:05:05 +02:00
Stefan Metzmacher
70f83b4944 selftest: set posix:writetimeupdatedelay
metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 62030027d1ab735fb9c590fafb0887dc882662d1)
2008-06-03 14:05:05 +02:00
Jelmer Vernooij
5107f093c2 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Conflicts:

	source/samba4-skip
(This used to be commit 7b0e0eb346c2f6a240b20fbcf14029539c6512b9)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
b6b1f3b007 Place the NTP signd socket in the selftest area
(This used to be commit e2fa3788110698cd3340dfed8acd36744a27a5e5)
2008-05-30 15:21:40 +10:00
Andrew Bartlett
b34bc408e7 Don't pass an smb.conf to provision tests.
These tests will create their own smb.conf in their prefix anyway.

Andrew Bartlett
(This used to be commit c0322e8e27d67655b7498b27df0829aa5682a345)
2008-05-30 14:36:24 +10:00
Jelmer Vernooij
46f22add9a Make sure reason for skipping is output.
(This used to be commit 2d1cac54dec1aed9e5258bd44bdd236b5dc92224)
2008-05-30 04:12:39 +02:00