Base DN not allowed to be empty, but IBM Lotus Domino LDAP stores groups in root of tree
aantonop - January 11, 2009 - 20:01
| Project: | LDAP integration |
| Version: | 6.x-1.0-alpha2 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | ldapauth |
Jump to:
Description
An empty Base DN causes the code to abort LDAP authentication (ldapauth.module line 425). But some LDAP arrangements need an empty Base DN
Example: LDAP Integration module works with Lotus Domino (8) LDAP perfectly. However Domino installations might have groups defined in the root of the LDAP so the BaseDN needs to be empty.
Workaround: I had to put a "space" character in the Base DN in the settings page. That tricked it into using an empty BaseDN.

#1
#2
I 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?
#3
#4
Can you please verify if you have database definition problems with the latest dev version? You might need to reinstall the module though.
#5
Closing as database configuration is fixed.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.