Note: For more information take a look at http://sudo.ws/sudo/readme_ldap.html
@ -19,3 +19,9 @@ extraconfopt="--enable-log-host --with-tty-tickets"
if ! pkginstalled pam; then
var_append extraconfopt ' ' '--without-pam'
fi
# LDAP support
if pkginstalled openldap ; then
pkgprefix -t openldap
var_append extraconfopt ' ' "--with-ldap=$root/$( pkgprefix openldap )"