diff --git a/src/base/registration/execute_cancel_sssd_authentication.py b/src/base/registration/execute_cancel_sssd_authentication.py index 791b216..92b009d 100644 --- a/src/base/registration/execute_cancel_sssd_authentication.py +++ b/src/base/registration/execute_cancel_sssd_authentication.py @@ -14,7 +14,7 @@ class ExecuteCancelSSSDAuthentication: self.util = Util() def cancel(self): - self.util.execute("apt purge libpam-sss sssd-common -y") + self.util.execute("apt purge libpam-sss sssd-common libsss-sudo -y") self.util.execute("apt autoremove -y") if self.util.is_exist("/etc/sssd"): diff --git a/src/base/registration/execute_sssd_ad_authentication.py b/src/base/registration/execute_sssd_ad_authentication.py index 7c2bc47..9d696b2 100644 --- a/src/base/registration/execute_sssd_ad_authentication.py +++ b/src/base/registration/execute_sssd_ad_authentication.py @@ -134,7 +134,7 @@ class ExecuteSSSDAdAuthentication: # Installation of required packages (result_code, p_out, p_err) = self.util.execute( - "sudo apt-get -y install sssd sssd-tools adcli packagekit samba-common-bin samba-libs") + "sudo apt-get -y install sssd sssd-tools adcli packagekit samba-common-bin samba-libs libsss-sudo") if (result_code == 0): self.logger.info("İndirmeler Başarılı") else: diff --git a/src/base/registration/execute_sssd_authentication.py b/src/base/registration/execute_sssd_authentication.py index a23f613..3375853 100644 --- a/src/base/registration/execute_sssd_authentication.py +++ b/src/base/registration/execute_sssd_authentication.py @@ -56,7 +56,7 @@ class ExecuteSSSDAuthentication: file_sssd.close() # Install libpam-sss sssd-common for sssd authentication - (result_code, p_out, p_err) = self.util.execute("sudo apt install libpam-sss sssd-common -y") + (result_code, p_out, p_err) = self.util.execute("sudo apt install libpam-sss sssd-common libsss-sudo -y") if result_code != 0: