Closed (fixed)
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2009 at 05:08 UTC
Updated:
6 Apr 2009 at 12:30 UTC
String comparison fails when the dn_attribute specified in the admin UI differs from that which the LDAP directory uses. For example, in our Active Directory, it's "OU". Propose the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| ldapgroups_module.patch | 214 bytes | kassissieh |
Comments
Comment #1
johnbarclay commentedMy feeling is that all the strings in ldap integration should be case insensitive. I believe some of the ldap functions in php are case insensitive so it would help with consistency.
You should use drupal_strtolower rather than strtolower. I believe this convention is for internationalization or unicode issues, but can't remember why the convention is used.
the standard format for drupal patches is
cvs diff -up > example.patch
and the details are at:
http://drupal.org/patch/create
Comment #2
miglius commentedCommitted, thanks.