First off, I'd like to express my new found love of drupal and particularly this ldap_integration module. I was blown away with how easy it was to setup ldap_authentication on our portal in 5 minutes. Which is a far cry from the IBM webspere portal / ldap integration that we currently have setup. It's too bad that [my company's] executives are leary of open source software, because I was able to install and configure a drupal portal with ldap authentication in a matter of hours, whereas this kinda of thing has previously tooks months and hundreds of thousands of dollars of commercial software. Anyways, you guys are amazing keep it up!
I am using HEAD version (from March 3), with only the ldapauth and ldapdata modules installed. When I go to configure the ldap data module I see this error at the top-
* user warning: Unknown column 'ldapdata_mappings' in 'field list' query: SELECT ldapdata_mappings, ldapdata_roattrs, ldapdata_rwattrs, ldapdata_binddn, ldapdata_bindpw, ldapdata_bindpw_clear FROM ldapauth WHERE name = 'EDSDEV 2389' in /usr/local/apache2/htdocs/includes/database.mysql.inc on line 172.
* user warning: Unknown column 'ldapdata_mappings' in 'field list' query: SELECT ldapdata_mappings FROM ldapauth WHERE name = 'EDSDEV 2389' in /usr/local/apache2/htdocs/includes/database.mysql.inc on line 172.
So naturely I went and looked at my SQL tables and found that there were no ldapdata_ fields in the ldapdata table. I tried uninstalling, and reinstalling the modules a couple of times, and even run update.php a couple times, to no avail. I could always go and try and create these table manually but I'd like that to be my last resort. Thanks!
-John
Comments
Comment #1
Pjeirke commentedI'm having the exact same error. Before I was using Xampp (Apache2, php 5.2, drupal 5.1) but I wasn't able to get the web authentication working properly. So I moved to IIS6 wich gives me the authentication without problems but I get this error.
Anyone an idea? Maybe recreate those tables?
Comment #2
scafmac commentedThanks for the catch. It is fixed in head. You can either download it or run update.php after you change the ldapauth version number in the database. Something like this should do it:
Closing issue.