Update index.sh
This commit is contained in:
parent
59153cc0d3
commit
00014e2ebd
7
index.sh
7
index.sh
@ -98,12 +98,15 @@ pam_filter &(|(memberof=cn=host_access,ou=Groups,$ldap_base_dn)(memberof=cn=host
|
||||
"
|
||||
|
||||
if grep -qiE "^NAME=\"debian" /etc/os-release; then
|
||||
touch /etc/pam_ldap.conf
|
||||
echo "$PAM_LDAP_filter" >> /etc/pam_ldap.conf
|
||||
fi
|
||||
|
||||
echo "$PAM_LDAP_filter" >> /etc/ldap/ldap.conf
|
||||
echo "$PAM_LDAP_filter" >> /etc/ldap.conf
|
||||
if [ -d /etc/ldap/ ]; then
|
||||
echo "$PAM_LDAP_filter" >> /etc/ldap/ldap.conf
|
||||
fi
|
||||
|
||||
echo "$PAM_LDAP_filter" >> /etc/ldap.conf
|
||||
|
||||
## Set up sudo-ldap
|
||||
export SUDO_FORCE_REMOVE=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user