Andrew Bartlett
54d36099ec
s3-rpc_server: Do not register embedded ncacn_np endpoints by default
...
The end point mapper is primarily in support of lsasd, and the key
SAMR, LSA and NETLOGON services being accessed over TCP/IP. The end
point mapper does not appear to be used for the well-known mappings to
named pipes, and we have a problem with how to safely register the
embedded pipes. For now, disable this to avoid re-registration storms
in production, until we sort out a better way.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Mar 7 14:27:38 CET 2012 on sn-devel-104
2012-03-07 14:27:38 +01:00
Andrew Bartlett
8466b3c85e
s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc servers
...
Embedded RPC services are those not launched in the preforked lsasd
and spoolssd children.
The reason that these child processes were created is that is is not
possible to correctly listen for ncalrpc and TCP connections without
creating a child process. Therefore, we should not have these
embedded RPC services to listen on these sockets just because the
endpoint mapper has been enabled.
Andrew Bartlett
2012-03-07 12:46:13 +01:00
Andrew Bartlett
716a6c314c
selftest: Only run s3dc with a forked lsasd
...
This ensures that we run ktest, member and s3member in the default
configuration, to try and cover both code paths.
(This does not change the tests being run, but at least the
initialisation code will be checked, plus whatever the rpcclient test
can cover).
Andrew Bartlett
2012-03-07 12:46:13 +01:00
Stefan Metzmacher
0eaf91ffb8
selftest: mark samba4.smb2.getinfo.getinfo as knownfail
...
Samba4 seems to have problems with streams on directories.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar 7 12:44:10 CET 2012 on sn-devel-104
2012-03-07 12:44:10 +01:00
Gregor Beck
3a751958b3
selftest: skip samba3.smb2.scan because they are no tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
25ba1c7bc6
selftest: remove samba3.smb2.*scan from knownfail
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
cbe918d106
selftest: skip samba3.smb2.session because it hangs
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
c14dacbebe
selftest: skip samba3.smb2.hold-oplock because its not a test
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
632b1042ae
selftest: mark samba3.smb2.ioctl tests knownfail
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Stefan Metzmacher
f0392e1b04
selftest: mark samba3.smb2.durable-v2-open tests as knownfail
...
metze
2012-03-06 23:53:06 +01:00
Gregor Beck
6fb34b951e
selftest: mark samba3.smb2.durable-open.oplock test knownfail
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
3c826d4411
selftest: mark samba3.smb2.durable-open reopen tests knownfail
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
a3994f673b
selftest: samba3.smb2.compound.invalid2 works
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
7dc26c2799
selftest: mark smb2 tests knownfail failing in 3.6
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Jelmer Vernooij
b9ac1f45a1
selftest.py: Only run teardown_all when actually relevant.
2012-03-06 00:48:14 +01:00
Andrew Bartlett
fc5762388a
selftest: run smbtorture_s3 tests against the ntvfs file server
...
This checks not only the behaviour of the NTVFS file server, but also the
client library and authentication stack.
Andrew Bartlett
2012-03-05 08:15:05 +01:00
Andrew Bartlett
4c926a708d
selftest: Reduce time in cleanup loop, try waitpid on all 3 children
2012-03-05 08:15:05 +01:00
Andrew Bartlett
0582d03efe
selftest: forward rpcecho to Samba4 in plugin_s4_dc
2012-03-05 08:15:05 +01:00
Jelmer Vernooij
53a147d1c0
selftest.run: Factor out read_testlist_file and open_file_or_pipe.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104
2012-03-05 05:42:19 +01:00
Jelmer Vernooij
f26b40a925
selftest.run: Factor out exported_envvars_str.
2012-03-05 03:49:50 +01:00
Jelmer Vernooij
a6a8456646
selfclient.client: Factor out write_clientconf.
2012-03-05 03:45:57 +01:00
Jelmer Vernooij
f3f6b8eafa
selftest.run: Factor out expand_command_run.
2012-03-05 03:39:57 +01:00
Jelmer Vernooij
d6924f8039
selftest.run: Factor out expand_command_list.
2012-03-05 03:27:40 +01:00
Jelmer Vernooij
1741e6486d
selftest: Factor out expand_environment_strings.
2012-03-05 03:20:13 +01:00
Jelmer Vernooij
c9d380702c
selftest.py: Use testtools TestCase class.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Mar 4 19:38:25 CET 2012 on sn-devel-104
2012-03-04 19:38:25 +01:00
Jelmer Vernooij
82af4a79b9
selftest.py: Add dummy init file (required to run tests).
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
e7d6d67bee
selftest.pl: Remove unused --verbose option.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
01ba5cf689
selftest.py: Remove unused --verbose option.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
8ae7615cf3
selftest.py: Remove unused code, reconcile signal handlers.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
b5d9cd1740
selftest.py: Fix handling of boolean options.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
aaa7cf67ab
selftest.py: Fix signal handling.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
7e5d98c22c
selftest: Now runs again for tests that use environment 'none'.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
3a6e4cf2b1
selftest.target: Add NoneTarget.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
cd9cf47972
selftest.py: Finish conversion to python - now loads without syntax errors.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
11c7ce35c0
selftest.testlist: Add RestrictedTestManager.from_path.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
48155d189a
selftest: More work on conversion to Python.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
d400619dee
selftest.testlist: Add docstrings.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
a50def839c
selftest.testlist: Add manager for restricted test lists.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
616139c01e
Add TestListFilter definition.
2012-03-04 18:02:07 +01:00
Jelmer Vernooij
4802561d69
selftest.testlist: Add read_testlist.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
7a614ac710
selftest.testlist: Add read_test_regexes.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
8b583dc64c
selftest: Add testlist management module.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
4d602fb05d
selftest.target: Add Environment.get_vars.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
646f6b2697
selftest: Add tests for trying to reuse an environment that has gone down.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
7060d68015
selftest: Add tests for NoneEnvironment.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
aa7fa63bfa
selftest.target: Test that environments are reused.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
75eb57cff5
selftest.target: Add tests for get_running_env.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
0d50c4cf3c
selftest.target: Add tests for getlog_env.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
e7633d86c0
selftest.target: Add tests for check.
2012-03-04 18:02:06 +01:00
Jelmer Vernooij
c57ab7ba9d
selftest.target: Add tests for setup.
2012-03-04 18:02:06 +01:00