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 16 years ago
parent
commit
21540f2dbe
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      base/sudo/sudo.conf

+ 6
- 0
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