From 207c4f207610f7f71a9e735c357c0fed9cb29fce Mon Sep 17 00:00:00 2001 From: PierreGode Date: Mon, 10 Sep 2018 21:54:13 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ADconnection.sh b/ADconnection.sh index d64bd29..37c8680 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -324,6 +324,7 @@ fi else echo "No lightdm to configure" fi +coms=$( echo $DOMAIN | cut -d '.' -f2 ) clear sed -i -e 's/fallback_homedir = \/home\/%u@%d/#fallback_homedir = \/home\/%u@%d/g' /etc/sssd/sssd.conf sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf @@ -339,6 +340,15 @@ entry_cache_timeout = 600 #entry_cache_user_timeout = 5400 #entry_cache_group_timeout = 5400 #cache_credentials = TRUE +### Added to help with group mapping +###ldap_use_tokengroups = False +#ldap_schema = rfc2307bis +#ldap_schema = rfc2307 +#ldap_schema = IPA +#ldap_schema = AD +#ldap_search_base = DC=$NetBios,DC=$coms +#ldap_group_member = uniquemember +#ad_enable_gc = False entry_cache_nowait_percentage = 75" | sudo tee -a /etc/sssd/sssd.conf sudo service sssd restart ####################### Check #########################