May 22
Installing LDAP Integration Module in Drupal [How To]
Windows Vista Guides, Windows XP Guides Add commentsIn this guide, you’ll learn how to set up LDAP integration on Drupal. This guide is written for WAMP server, but should work on a LAMP server as long as you have root access.
This guide is part of the Turning Your Computer into a Local Web Server series. Learn more from the main page.
Installing LDAP Integration Module in Drupal
To install LDAP in Drupal, do the following:
- Download the LDAP Integration module here
- Go to C:\wamp\www\[your project directory]\modules and paste the contents of the zip file in
- Go to the administration panel of Drupal and click Modules
- Enable Authentication (Under LDAP Integration)
- Now go back to the Administration Panel and click LDAP Authentication
- Enter your LDAP information
- When you try to login via LDAP, you’ll get the following error: Fatal error: Call to undefined function ldap_connect() in [PATH] on line 132 You’ll need to enable LDAP and allow Apache access
- First, go to C:\wamp\bin\Apache\[Apache Version]\bin\php.ini and uncomment (remove the semi-colon) from extension=php_ldap.dll
- In the same file, ensure extension_dir = “c:/wamp/bin/php/[php version]/ext/” is uncommented
- Click Start, right click on My Computer, and select Properties
- Under the Advanced tab, click Environment Variables
- Find the PATH variable, double click on it, and add WAMP’s PHP installation path (see screenshot) to the variable value field (ensure you use a semi colon to differentiate from the previous paths)
- Click OK twice.
- Click on the WampServer icon and click Restart All Services
- LDAP will now work
1 Response to Installing LDAP Integration Module in Drupal [How To]
Trackbacks (Trackback URL)