bug fixed

This commit is contained in:
agahhulusi 2021-09-10 16:50:45 +03:00
parent eeadbc0097
commit 5f092a86d7
3 changed files with 3 additions and 3 deletions

View file

@ -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"):

View file

@ -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:

View file

@ -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: