mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: add check that ipa-adtrust-install generates sane smb.conf
Related to: https://pagure.io/freeipa/issue/6951 Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
094cf629b3
commit
e87357749e
@ -699,3 +699,14 @@ class TestIPACommand(IntegrationTest):
|
||||
assert not is_tls_version_enabled('tls1')
|
||||
assert not is_tls_version_enabled('tls1_1')
|
||||
assert is_tls_version_enabled('tls1_2')
|
||||
|
||||
def test_samba_config_file(self):
|
||||
"""Check that ipa-adtrust-install generates sane smb.conf
|
||||
|
||||
This is regression test for issue
|
||||
https://pagure.io/freeipa/issue/6951
|
||||
"""
|
||||
self.master.run_command(
|
||||
['ipa-adtrust-install', '-a', 'Secret123', '--add-sids', '-U'])
|
||||
res = self.master.run_command(['testparm', '-s'])
|
||||
assert 'ERROR' not in (res.stdout_text + res.stderr_text)
|
||||
|
Loading…
Reference in New Issue
Block a user