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+')