I don't think I could reproduce this bug, so I am mostly submitting this bug to document the problem, but maybe it'll ring some bells.

Basically I was getting this error on every login, it would always say "hans" no matter which user was logging in:

LDAP Bind failure for user hans. Error 34: Invalid DN syntax

This is using Mac OS X 10.4 Server using Open Directory.
base dn: cn=users,dc=idmi,dc=poly,dc=edu
UserName: "uid",
groups dn: cn=groups,dc=idmi,dc=poly,dc=edu
and: memberUid

This was with drupal 4.7.4 and ldap_integration-4.7.x-1.x-dev.tar.gz from 2006-12-09. I upgraded to 4.7.5 but that didn't fix it.

I found the problem, its an odd one. Basically, I had tried in the past setting a bind DN in "DN for non-anonymous search" in "advanced configuration" in ldapauth. For some reason, Camino was not displaying that the bind dn in the ldapauth settings page was indeed set, but when I tried the page in Safari, it was indeed set. I unset it in Safari and it worked.

Under Camino, it was showing up as the two text fields, "DN for non-anonymous search" and "Password for non-anonymous search" that were filled out. I would blank them out and submit, but that didn't work. With Safari, it showed up as set, with a checkbox to unset instead of the password field.

Comments

johnbarclay’s picture

Status: Active » Closed (won't fix)

Closing 4.7 issues to clean out issue queue.