diff --git a/ubuntu-et-variantes-integrdom.sh b/ubuntu-et-variantes-integrdom.sh index aae4440..9d80f83 100644 --- a/ubuntu-et-variantes-integrdom.sh +++ b/ubuntu-et-variantes-integrdom.sh @@ -309,11 +309,24 @@ Auth: ######################################################################## if [ "$DISTRIB_RELEASE" = "20.04" ] || [ "$DISTRIB_RELEASE" = "20" ] ; then -echo "[open_ldap] -nss_passwd=passwd: files ldap -nss_group=group: files ldap -nss_shadow=shadow: files ldap -nss_netgroup=netgroup: nis +echo "# pre_auth-client-config # passwd: compat systemd +passwd: files ldap +# pre_auth-client-config # group: compat systemd +group: files ldap +# pre_auth-client-config # shadow: compat +shadow: files ldap +gshadow: files + +hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname +networks: files + +protocols: db files +services: db files +ethers: db files +rpc: db files + +# pre_auth-client-config # netgroup: nis +netgroup: nis " > /etc/nsswitch.conf else echo "[open_ldap]