update to roles dn

update to roles dn
This commit is contained in:
hasankara 2020-06-15 16:12:16 +03:00 committed by GitHub
parent 29d65038b2
commit 0d30022db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ class ExecuteSSSDAuthentication:
file_data = file_data.replace("###ldap_search_base###", "ldap_search_base = " + dn)
file_data = file_data.replace("###ldap_user_search_base###", "ldap_user_search_base = " + dn)
file_data = file_data.replace("###ldap_group_search_base###", "ldap_group_search_base = " + dn)
file_data = file_data.replace("###ldap_sudo_search_base###", "ldap_sudo_search_base = ou=Role,ou=Groups" + dn)
file_data = file_data.replace("###ldap_sudo_search_base###", "ldap_sudo_search_base = ou=Role,ou=Groups," + dn)
file_sssd.close()
file_sssd = open(sssd_config_file_path, 'w')