1
0
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:
Douglas Bagnall
2023-10-27 16:14:04 +13:00
committed by Andrew Bartlett
parent cc2498f35b
commit d915443ab0
2 changed files with 2 additions and 3 deletions

View File

@@ -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."""