2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

RHEL 6 and above use /etc/sudo-ldap.conf not /etc/ldap.conf

This commit is contained in:
Todd C. Miller 2014-07-11 10:58:20 -06:00
parent 16b9aed751
commit 06076e445b

5
mkpkg
View File

@ -125,6 +125,11 @@ case "$osversion" in
if [ $osrelease -ge 60 ]; then if [ $osrelease -ge 60 ]; then
# RHEL 6 and above builds sudo with SSSD support # RHEL 6 and above builds sudo with SSSD support
configure_opts="${configure_opts}${configure_opts+$tab}--with-sssd" configure_opts="${configure_opts}${configure_opts+$tab}--with-sssd"
# RHEL 6 and above use /etc/sudo-ldap.conf
if test "$flavor" = "ldap"; then
configure_opts="${configure_opts}${configure_opts+$tab}--with-ldap
--with-ldap-conf-file=/etc/sudo-ldap.conf"
fi
fi fi
# Note, must indent with tabs, not spaces due to IFS trickery # Note, must indent with tabs, not spaces due to IFS trickery
configure_opts="--prefix=/usr configure_opts="--prefix=/usr