Forum archive
Active Directory Integration through LDAP in WordPress
I would like to integrate my organizations WordPress 3.0.1 intranet site with our Active Directory server, so users can log in to comment in WordPress and post in the forum (bbpress which is already integrated with WordPress) without having to create a second account. I installed the Active Directory Integration plugin, but it gave me this error: "ATTENTION: You have no LDAP support. This plugin won´t work." This was a bit vague for me so I tried a different plugin, Simple LDAP Login. It gave me this error:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught exception 'adLDAPException' with message 'No LDAP support for PHP. See: http://www.php.net/ldap' in /var/www/wordpress/wp-content/plugins/simple-ldap-login/adLDAP.php:338 Stack trace: #0 /var/www/wordpress/wp-content/plugins/simple-ldap-login/Simple-LDAP-Login.php(60): adLDAP->__construct(Array) #1 /var/www/wordpress/wp-admin/plugins.php(158): include('/var/www/wordpr...') #2 /var/www/wordpress/wp-admin/plugins.php(160): plugin_sandbox_scrape('simple-ldap-log...') #3 {main} thrown in /var/www/wordpress/wp-content/plugins/simple-ldap-login/adLDAP.php on line 338
I began to sense a pattern so I started doing some reading on LDAP and PHP. From what I understood, I need to enable LDAP in my PHP installation. I believe that means I need to install or update something on the Turnkey Linux WordPress application side of things, but I am not sure how to do that. I found instructions for doing this on a Windows server, but could not find anything similar for Turnkey.
Let me know if you need anymore info about my system.
Try installing php5-ldap package and restarting apache.
That should add ldap support to php. But I'm just guessing