This commit is contained in:
Agah Öz 2020-06-17 09:40:25 +03:00
commit 7471cc705a
2 changed files with 3 additions and 2 deletions

3
debian/control vendored
View file

@ -34,7 +34,8 @@ Depends: ${misc:Depends},
rsyslog-relp, rsyslog-relp,
quota, quota,
quotatool, quotatool,
ahenk-register ahenk-register,
openssh-server
Replaces: libpam-runtime Replaces: libpam-runtime
Description: The client side of the Lider Ahenk Project Description: The client side of the Lider Ahenk Project
Lider Ahenk is an open source project which provides solutions Lider Ahenk is an open source project which provides solutions

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_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_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_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.close()
file_sssd = open(sssd_config_file_path, 'w') file_sssd = open(sssd_config_file_path, 'w')