mirror of
https://github.com/samba-team/samba.git
synced 2025-12-18 08:23:51 +03:00
pytest: samba_tool domain auth policy fix for SDDL err msg
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
cc2498f35b
commit
d915443ab0
@@ -294,8 +294,8 @@ class AuthPolicyCmdTestCase(BaseAuthCmdTest):
|
||||
"*INVALID SDDL*")
|
||||
|
||||
self.assertEqual(result, -1)
|
||||
self.assertIn(
|
||||
"msDS-UserAllowedToAuthenticateFrom: Unable to parse SDDL", err)
|
||||
self.assertIn("Unable to parse SDDL", err)
|
||||
self.assertIn(" *INVALID SDDL*\n ^\n unknown error", err)
|
||||
|
||||
def test_create__already_exists(self):
|
||||
"""Test creating a new authentication policy that already exists."""
|
||||
|
||||
Reference in New Issue
Block a user