Jelmer Vernooij
52a17e5c32
pygensec: Add initial work on a gensec Python module.
2009-09-26 19:41:59 +02:00
Jelmer Vernooij
5cf25fd225
Revert "s4:python fixed subunit tests of dcerpc"
...
This reverts commit ffd48a79ee
.
2009-09-24 15:03:58 +02:00
Nadezhda Ivanova
025590e7a4
Merge branch 'master' of git://git.samba.org/samba
2009-09-20 17:43:46 -07:00
Andrew Tridgell
11bfbc5160
s4-selftest: disable RAP-SCAN test
...
also pointless now we have docs
2009-09-20 15:27:09 -07:00
Andrew Tridgell
8b5cb77118
s4-selftest: disable RPC-COUNTCALLS
...
The RPC-COUNTCALLS was useful when we were working out IDL by hand
2009-09-20 15:25:22 -07:00
Nadezhda Ivanova
6283f2caaa
Initial implementation of security descriptor creation in DS
...
TODO's:
ACE sorting and clarifying the inheritance of object specific ace's.
2009-09-20 15:16:17 -07:00
Zahari Zahariev
fec33db90e
Tests for descriptor inheritance
...
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16 07:51:45 -07:00
Jelmer Vernooij
08ce8a4752
Mark test_security_descriptor_add_neg as known failing (for now).
2009-09-08 23:58:52 +02:00
Andrew Bartlett
374e5937cd
s4:selftest Fix 'make testenv-gdb' and 'make valgrindtest' etc
...
The problem here was that tridge's changes to ensure that test results
were always propogated didn't merge well with the addition of extra
environment variables for the 'make valgrindtest' and similar
environments. By splitting out the macro further, we keep the build
farm reporting accurate, but allow these other test modes to work.
Andrew Bartlett
2009-09-08 10:51:50 +10:00
Andrew Tridgell
ffd48a79ee
s4:python fixed subunit tests of dcerpc
...
The version of the unitest python module in Ubuntu Jaunty doesn't seem
to support this many level of subdirectories. Moving the tests up one
level solves the problem.
2009-09-04 18:07:04 +10:00
Andrew Tridgell
1b09e36f0b
fixed make test reporting success when provision fails
...
We were getting build test 'pass' on the build farm when the provision
is failing. The cause was the use of filter pipelines in the selftest
code in the makefile. A bourne shell will by default report the error
status of the last element of the pipeline, which means when provision
failed, make thought everything had passed.
We could use the bash 'pipefail' option to fix this, but it isn't
portable, so instead I've modified the makefile to touch st/st_done
when the first element in the pipeline completes successfully. That
means we now get errors in make test, at the expense of making the
makefile even more horrible than it was.
2009-08-17 22:46:47 +10:00
Andrew Tridgell
26e114b83c
skip the autoidl test
...
The autoidl test is not needed now that we have IDL source
available. It also generates a lot of errors in the logs.
2009-08-17 13:29:34 +10:00
Andrew Bartlett
ca526fbb3e
s4:selftest Remove the 'subunit filter' from make testenv etc
...
The extra filter is no use for 'testenv', as we are not running tests,
but an xterm. The filter also breaks running 'GDB_PROVISION=yes make
test', but at least if we can run 'GDB_PROVISION=yes make testenv'
then we can debug provision.
Andrew Bartlett
2009-08-17 11:08:42 +10:00
Andrew Bartlett
e13c14e7e4
s4:torture Add test for the NTP signd server
...
This is used by at patch to the NTP project to supply authenticated
time as required by MS-SNTP. (ie, to keep windows clients in time sync
in the domain)
Andrew Bartlett
2009-08-11 18:22:12 +10:00
Andrew Bartlett
57d690b6f6
s4:torture rework LDAP sort test
...
This reworks the test to be part of the LDAP tests, to make better use
of the torture API and the ldb API (in particular around adding
controls), and a general cleanup.
This also adds the test to the 'make test' run.
Andrew Bartlett
2009-08-04 13:11:07 +10:00
Andrew Bartlett
cdd7a5208f
s4:kerberos Add test to show that we actually export the keytab
...
While it is hard to prove it is correct, at least the new
'nettestuser' principal and the Administrator principal are correct.
We had to fix the case of 'Administrator' in the selftest code to
match the DB, as the keytab lookup is case sensitive.
Andrew Bartlett
2009-07-27 22:41:43 +10:00
Günther Deschner
e84d5bb02d
s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.
...
Guenther
2009-07-15 01:22:32 +02:00
Andrew Bartlett
1e6fb7d730
s4: Add tests and 'must change password' flags in setpassword and newuser
...
In particular, ensure that we can acutally change the password under
these circumstances.
Andrew Bartlett
2009-06-18 13:49:30 +10:00
Jelmer Vernooij
a5563d2925
selftest: Use common function when skipping testsuites based on run-time
...
conditions.
2009-06-18 03:08:21 +02:00
Jelmer Vernooij
f7ada51c29
python: Add API for accessing available shares.
2009-06-16 02:28:10 +02:00
Jelmer Vernooij
4bef8acc47
selftest: Fix references to filenames with knownfailures and slow tests.
2009-06-12 17:54:47 +02:00
Jelmer Vernooij
718f9be8a2
selftest: Add option to strip output of succeeded tests, and use it on
...
the buildfarm.
The matches the behaviour we had earlier in the previous output format.
2009-06-12 14:34:24 +02:00
Jelmer Vernooij
8c10fb7f00
selftest: Output subunit on the buildfarm.
2009-06-12 14:21:03 +02:00
Jelmer Vernooij
68578d6374
selftest: Fix handling of testsuite, reintroduce progress indication.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
4308e69084
selftest: Fix subunit stream to include the right prefixes rather than
...
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a
selftest: Use external processes for filtering known failures and pretty
...
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa
selftest: Use filter-xfail for known failures
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
7ea3cc5f29
selftest: Use subunit internally, and a separate test output formatter.
2009-06-11 19:59:57 +02:00
Andrew Tridgell
c6f5e1ba84
fixed some places where RPC-SECRETS needs to be changed to RPC-LSA-SECRETS
...
this copes with a rename of SECRETS to LSA-SECRETS in an earlier patch
by gd
2009-06-10 12:24:12 +10:00
Jelmer Vernooij
6b0e6fc0b3
s4-tests: Add separate variable for tap2subunit.
2009-06-09 21:54:05 +02:00
Günther Deschner
71caa90cd8
s4-selftest: change rpc.secrets to rpc.lsa.secrets here as well.
...
Guenther
2009-06-09 15:32:36 +02:00
Andrew Bartlett
3ce37ae750
Don't run the RPC-SAMR-LARGE-DC test multiple times
2009-06-04 11:22:52 +10:00
Jelmer Vernooij
7fddc71caa
selftest: Run tests for Samba4 target in the samba 4 testsuite.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
87bbae7b07
Rename harness2subunit.pl -> tap2subunit to be consistent with the
...
subunit tools.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
ac9ff3574d
Fix pythonpath so subunit can be found.
2009-06-02 18:05:42 +02:00
Andrew Bartlett
10f076a77d
Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow
2009-05-29 11:56:26 +10:00
Günther Deschner
686e60581b
s4-selftest: adding RPC-SAMR-USERS-PRIVILEGES to knownfail list.
...
Samba4 cannot pass this test currently as in Samba4 (unlike Samba3)
the LSA and SAMR account are stored in the same db.
Once you delete a SAMR user the LSA privilege account is deleted
at the same time (which is wrong).
Guenther
2009-05-21 12:19:56 +02:00
Jelmer Vernooij
5065cf70f8
tevent: Remove python module.
...
This module didn't have any functionality that we actually used yet, and
it was quite small.
Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.
2009-05-16 14:56:37 +02:00
Günther Deschner
c3e61b5460
s4-selftest: match new name of RPC-SAMR-ACCESSMASK.
...
Guenther
2009-05-13 15:19:40 +02:00
Stefan Metzmacher
d8f3f7cd42
s4:selftest: don't run the smb2.durable.open test
...
it often crashes when the server doesn't support them.
metze
2009-04-25 06:18:58 +02:00
Stefan Metzmacher
bec71ba928
s4:selftest: s4 doesn't support osxrename and directory rename yet
...
metze
2009-04-25 03:15:56 +02:00
Andrew Bartlett
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
Stefan Metzmacher
5beaf230ca
s4:selftest: ignore smb2.lease test for now
...
metze
2009-04-20 15:15:40 +02:00
Andrew Tridgell
9d50c6b603
enable testing of possibleInferiors generation
2009-04-09 14:37:52 +10:00
Stefan Metzmacher
593ab6ac00
s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
...
metze
2009-03-21 10:44:40 +01:00
Günther Deschner
ca9d67bf18
s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
...
Guenther
2009-03-07 09:59:12 +01:00
Björn Jacke
be479b6adf
don't rely on shebang's perl path, call our $PERL instead
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07 08:18:46 +01:00
Günther Deschner
a93fbf8b26
s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
...
Guenther
2009-03-07 00:25:44 +01:00
Björn Jacke
88bd0f2ac6
some shells are picky about ^ without quotes
2009-03-02 13:05:02 +01:00
Björn Jacke
fe8cf69ec6
don't hardcode python path
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 21:28:53 +01:00
Stefan Metzmacher
0fe9980fa0
LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
...
metze
2009-02-05 17:48:08 +01:00
Stefan Metzmacher
7c72853b50
s4:selftest: don't use hardcoded pathes
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
40b67c3426
selftest: pass down the path to python for provisioning samba4
...
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
01f30a5e8e
s4:selftest: run RPC-COUNTCALLS as dc:local
...
metze
2009-01-30 13:34:28 +01:00
Stefan Metzmacher
3f967153c0
s4:selftest: run ncalrpc tests in dc:local mode
...
metze
2009-01-30 13:34:27 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
ccffe1ca71
s4:selftest: reference binaries via variables in tests.sh
...
metze
2009-01-21 13:35:36 +01:00
Kai Blin
c19926022c
s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS
2009-01-16 07:33:16 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Jelmer Vernooij
7f148a2cf8
Fix Python event tests after rename to tevent.
2008-12-18 16:51:59 +00:00
Stefan Metzmacher
9f8dfb0a52
s4:selftest: we pass raw.delete.delete21
...
metze
2008-12-18 13:32:50 +01:00
Kai Blin
91a7c8b01b
nsswitch: Fix paths for Samba4 blackbox wbinfo test
2008-12-16 15:46:03 +01:00
Stefan Metzmacher
2026b34ebf
s4:selftest: samba4 fails the changed delete test
...
metze
2008-12-11 17:58:31 +01:00
Günther Deschner
9ea4b5aac2
s4-smbtorture: skip ServerGetTrustInfo for samba4.
...
Guenther
2008-12-10 12:47:05 +01:00
Stefan Metzmacher
6c9b0298a9
s4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now
...
metze
2008-12-04 12:48:45 +01:00
Günther Deschner
580c2b3283
selftest: s4 does not have a pwdlastset implementation yet.
...
Guenther
2008-11-28 14:09:47 +01:00
Günther Deschner
67018ed8bd
s4-smbtorture: add very basic RPC-NTSVCS test.
...
Guenther
2008-11-12 10:19:53 +01:00
Günther Deschner
2c5a9f0a57
s4-test: skip netr_DatabaseRedo test.
...
Guenther
2008-11-06 23:25:40 +01:00
Stefan Metzmacher
6bc9fb887f
selftest: move gdb_* and valgrind_* scripts to selftest/
...
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
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 05ea5e23cf
.
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 0e9008be35
.
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