Browse Source

[sudo] Improved to enable LDAP support if openldap is available

Note: For more information take a look at http://sudo.ws/sudo/readme_ldap.html
early
Christian Wiese 17 years ago
parent
commit
21540f2dbe
  1. 6
      base/sudo/sudo.conf

6
base/sudo/sudo.conf

@ -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 )"
fi

Loading…
Cancel
Save