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
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

miglius - January 29, 2009 - 17:46
Component:Code» Documentation

#2

richguynextdoor - February 3, 2009 - 22:06

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

miglius - March 10, 2009 - 16:45

#4

miglius - March 11, 2009 - 21:49
Status:active» postponed (maintainer needs more info)

Can you please verify if you have database definition problems with the latest dev version? You might need to reinstall the module though.

#5

miglius - March 16, 2009 - 11:12
Status:postponed (maintainer needs more info)» fixed

Closing as database configuration is fixed.

#6

System Message - March 30, 2009 - 11:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.