Commit abf14c3c authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_sssd.sh: fixes

parent bf86cec2
...@@ -44,7 +44,7 @@ case $(epm print info -d) in ...@@ -44,7 +44,7 @@ case $(epm print info -d) in
;; ;;
Fedora|RedOS|GosLinux|CentOS|RHEL) Fedora|RedOS|GosLinux|CentOS|RHEL)
epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools
cat <<EOF >/etc/kdrb5.conf.d/ad cat <<EOF >/etc/krb5.conf.d/ad
[libdefaults] [libdefaults]
dns_lookup_kdc = true dns_lookup_kdc = true
dns_lookup_realm = true dns_lookup_realm = true
...@@ -85,9 +85,17 @@ config_file_version = 2 ...@@ -85,9 +85,17 @@ config_file_version = 2
services = nss, pam services = nss, pam
domains = $REALM domains = $REALM
debug_level = 1 debug_level = 1
EOF
if [ "$(epm print info -d)" = "ALTLinux" ] ; then
cat <<EOF >/etc/sssd/conf.d/ad.conf || fatal
; Should be used until ALT#34124 will be resolved ; Should be used until ALT#34124 will be resolved
user = root user = root
EOF
fi
cat <<EOF >/etc/sssd/conf.d/ad.conf || fatal
[nss] [nss]
debug_level = 1 debug_level = 1
......
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