diff options
author | Tim Beale <timbeale@catalyst.net.nz> | 2017-07-04 09:31:54 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-07-04 06:57:20 +0200 |
commit | e13b21d9644445636a7657c73f501772ac8d96bf (patch) | |
tree | a510ead0b26ab6568fa1ce20e8a209c812818d4d /source4 | |
parent | d10e27c350d6e4b389fa15cdbc32dc0689e4fcc6 (diff) | |
download | samba-e13b21d9644445636a7657c73f501772ac8d96bf.tar.gz |
tests: Add simple check whether netlogon server is running
Netlogon only needs to run in DC environment. This is a simple test to
check whether the netlogon service is running. This will allow us to
disable the netlogon service on setups that don't require it.
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/selftest/tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 049009fe125..c74d0fef715 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -893,6 +893,11 @@ for env in [ extra_path=[os.path.join(srcdir(), "samba/python"), ] ) +for env in [ "simpleserver", "fileserver", "nt4_dc", "ad_dc", "ad_dc_ntvfs", "ad_member"]: + planoldpythontestsuite(env, "netlogonsvc", + extra_path=[os.path.join(srcdir(), 'python/samba/tests')], + name="samba.tests.netlogonsvc.python(%s)" % env) + # Demote the vampire DC, it must be the last test each DC, before the dbcheck for env in ['vampire_dc', 'promoted_dc', 'rodc']: plantestsuite("samba4.blackbox.samba_tool_demote(%s)" % env, env, [os.path.join(samba4srcdir, "utils/tests/test_demote.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$DOMAIN', '$DC_SERVER', '$PREFIX/%s' % env, smbclient4]) |