LDAP Problem Fatal error: Call to undefined function ldap_connect() in /etc/drupal/6/sites/all/modules/ldap_integration/includes
ChristopherC - October 9, 2009 - 14:34
I am trying to get LDAP authentication going on my drupal site. However, when I go to the page to configure it and test, I get the following error:
Fatal error: Call to undefined function ldap_connect() in /etc/drupal/6/sites/all/modules/ldap_integration/includes/LDAPInterface.inc on line 132
One person said they resolved the issue when they found out they didn't have the PHP Library installed. I am not sure what this means though. Would appreciate any help, thanks.

Can anyone offer any
Can anyone offer any assistance with this?
You need to have PHP compiled
You need to have PHP compiled with LDAP support. See http://www.php.net/manual/en/book.ldap.php. There are basic installation instructions. If you are compiling PHP yourself, this means using the --with-ldap argument to the configure script. If you are using a precompiled PHP binary, you may have to install a separate package to get LDAP support. Installing this package really depends on your platform.
web: http://geoff.terrorware.com
twitter: @geoffhing
You can try the following on
You can try the following on Debian, probably also on Ubuntu:
sudo apt-get install php5-ldapsudo /etc/init.d/apache2 restart # and not reload
http://guaka.org/