Commit dc699720 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_sssd.sh: improve distro list

parent 6fdef612
......@@ -33,7 +33,7 @@ if [ -n "$1" ] ; then
fi
case $(epm print info -d) in
Ubuntu|Debian|AstraLinux)
Ubuntu|Debian|AstraLinux*)
# Ubuntu
epmi --skip-installed samba-common-bin krb5-config krb5-user ldb-tools sssd-ad sssd-tools samba bind9-host
;;
......@@ -41,8 +41,8 @@ case $(epm print info -d) in
epmi --skip-installed krb5-kinit ldb-tools sssd-ad samba-common-tools samba-common-client samba-common bind-utils
# pam_mount task-auth-ad-sssd
;;
Fedora|RedOS|GosLinux|CentOS|RHEL)
epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools
Fedora|RedOS|GosLinux|CentOS|RHEL|ROSA)
epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools authselect
;;
*)
fatal "Unsupported distro $(epm print info -d)"
......@@ -200,13 +200,13 @@ case $(epm print info -d) in
epm assure rolelst libnss-role
roleadd etersysadmin wheel
;;
RedOS|Fedora|CentOS)
Fedora|RedOS|GosLinux|CentOS|RHEL|ROSA)
# echo "Check the script for autoselect"
authselect select sssd --force
authselect apply-changes
authconfig --enablemkhomedir
;;
Debian|Ubuntu|AstraLinux)
Debian|Ubuntu|AstraLinux*)
pam-auth-update --package
;;
*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment