Needs review
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Aug 2009 at 15:23 UTC
Updated:
29 Oct 2009 at 15:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
lambic commentedComment #2
miglius commentedIn order to authenticate with the LDAP, a user DN in LDAP should be known. User authenticates with the LDAP not with his drupal username, but with his full LDAP DN. Therefore a search in LDAP is made to find out user's DN based on his drupal username. The search can be anonymous or with the credentials saved in the module configuration. The user's username and password cannot be used as the full user's DN in not yet known (the search finds it).
Comment #3
miglius commentedComment #4
lambic commentedIt works for us, it's also the way the WordPress LDAP plugin works. It will attempt an anonymous search, and if that fails it will use the bind username/password if it was given, otherwise it will attempt to use the credentials provided by the user. The third option, and the one that works for us, is apparently peculiar to Microsoft AD.
Comment #5
lambic commentedComment #6
lambic commentedAny chance of getting this committed?
Comment #7
lambic commentedI've rerolled this patch against the latest version, I hope we can get this committed sometime.