LDAP Error Active Directory 2008

Asked By 30 points N/A Posted on -
qa-featured

I am using Drupal to try to put into operation LDAP Authentication to Active Directory 2008. When I am attempting to log in, I get this error message:

Fatal error: Call to undefined function ldap_connect() in C:xampphtdocsdrupalsitesallmodulesldap_integrationincludesLDAPInterface.inc on line 132
LDAP Settings
LDAP Directory Only
Disallow login and log the conflict Does not store user's passwords during sessions
Remove password change fields from the user edit form
Do Nothing (email)
Server Options settings:
nmae: sfmclan
LDAP server: 10.38.6.29 , port: 389
Base DNs: dc=sftc,dc=org
username attribute: sAMAccountName
email attribute: mail
I went to look at LDAPInterface.inc and found no reference to function:
Server Environment
Windows 2003 Server

SHARE
Answered By 25 points N/A #94541

LDAP Error Active Directory 2008

qa-featured

DearMila james

According to the error message you have specified, please consider the following checklist to get rid of this error:

1.       Enable the setting "extension_dir" in the php.ini file by removing the comment semicolon ';' indication in front of this line.  Find the PHP extension directory (usually phpext) and set the setting to this directory. Save the file and restart Apache.

2.       Enable the setting "extension=php-ldap.dll" in the php.ini file by removing the comment semicolon ';' indication in front of this line. Save the file and restart Apache.

3.       Try to log on again. You should not have errors related to ldap_connect()

Hope this may help you.

Best of luck

Related Questions