mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 11:12:15 +03:00
bug fixed
This commit is contained in:
parent
eeadbc0097
commit
5f092a86d7
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ class ExecuteCancelSSSDAuthentication:
|
||||||
self.util = Util()
|
self.util = Util()
|
||||||
|
|
||||||
def cancel(self):
|
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")
|
self.util.execute("apt autoremove -y")
|
||||||
|
|
||||||
if self.util.is_exist("/etc/sssd"):
|
if self.util.is_exist("/etc/sssd"):
|
||||||
|
|
|
@ -134,7 +134,7 @@ class ExecuteSSSDAdAuthentication:
|
||||||
|
|
||||||
# Installation of required packages
|
# Installation of required packages
|
||||||
(result_code, p_out, p_err) = self.util.execute(
|
(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):
|
if (result_code == 0):
|
||||||
self.logger.info("İndirmeler Başarılı")
|
self.logger.info("İndirmeler Başarılı")
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -56,7 +56,7 @@ class ExecuteSSSDAuthentication:
|
||||||
file_sssd.close()
|
file_sssd.close()
|
||||||
|
|
||||||
# Install libpam-sss sssd-common for sssd authentication
|
# 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:
|
if result_code != 0:
|
||||||
|
|
Loading…
Reference in a new issue