Closed (fixed)
Project:
LDAP integration
Version:
6.x-1.0-alpha2
Component:
Documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jan 2009 at 20:01 UTC
Updated:
2 Jan 2014 at 23:45 UTC
Jump to comment: Most recent
Comments
Comment #1
miglius commentedComment #2
richguynextdoor commentedI had a similar problem with the database requiring a value for the Base DN and the "space" work-around didn't work for me. (ldap_integration module downloaded on Feb 3, 2009)
When I looked at the table configuration for the ldapauth table in MySQL it specified the default value for basedn, ldapdata_rwattrs, ldapdata_roattrs, and ldapdata_mappings to be NULL. The error comes because they are also specified to not allow NULL values.
I fixed this by unchecking the "NOT NULL" option in the MySQL Table Editor (the same thing can be accomplished by using the 'alter table' command from the MySQL prompt).
Essentially you can't have a NULL value as the default value if the table won't allow NULL values for those entries. Perhaps this can be fixed to save others the heartache and time?
Comment #3
miglius commentedComment #4
miglius commentedCan you please verify if you have database definition problems with the latest dev version? You might need to reinstall the module though.
Comment #5
miglius commentedClosing as database configuration is fixed.