From ed4dad613921531a7aa81cf80d54d6ef0a2f1d44 Mon Sep 17 00:00:00 2001 From: hasankara Date: Thu, 11 Jun 2020 14:38:12 +0300 Subject: [PATCH] Policies name has been changed Policies name has been changed --- src/base/registration/execute_sssd_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/registration/execute_sssd_authentication.py b/src/base/registration/execute_sssd_authentication.py index 8f8ca37..c2cb52f 100644 --- a/src/base/registration/execute_sssd_authentication.py +++ b/src/base/registration/execute_sssd_authentication.py @@ -15,7 +15,7 @@ class ExecuteSSSDAuthentication: def authenticate(self, server_address, dn, admin_dn, admin_password): try: - ldap_pwdlockout_dn = "ou=Policies" + "," + dn + ldap_pwdlockout_dn = "ou=PasswordPolicies" + "," + dn # pattern for clearing file data from spaces, tabs and newlines pattern = re.compile(r'\s+')