Closed (fixed)
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2009 at 07:38 UTC
Updated:
11 Mar 2009 at 21:44 UTC
I have installed Drupal 5 and Drupal 6 on the same windows machine running on IIS 6.0 (Different Web Sites) connection to a MySQL on the same server.
I have installed LDAP Integration module on version 5 and it authenticates everyone fine.
I have tried the dev and alpha builds of for version 6 and using the same details to set up authentication it does not work.
The test button only provides:-
Authentication with the LDAP server for the dn CN=DrupalAccount,OU=Special Accounts,OU=Domain Accounts,DC=zone,DC=company,DC=com and saved password failed.
Platform: Windows 2003, IIS6.0, MySQL 5.0.67, PHP 5.2.8
Comments
Comment #1
segaboys commentedI forgot to mention that I am trying to authenticate against Active Directory
Comment #2
segaboys commentedApologies, the account was locked out. For some reason the account still allows other users to authenticate when locked but would not allow it to bind itself in the new installation.
Comment #3
ashpatel commentedI just updated from cvs and am making progress. The TEST button really helps. I can bind:
Authentication with the LDAP server for the dn 'name@domain.com' and saved password succeeded.
But even with this success, use auth still fails. I'm running on Linux, and trying to authenticate using AD. I also found that ldap_bind failed when using any combination of cn=name,dc=domain,etc. The only thing that worked was name@domain.com
Comment #4
ashpatel commentedScratch what I said before - the module (latest dev from yesterday) works fine. It was a PEBKAC :)
Anyway - here's my final configuration
DN for non-anonymous search:
CN=name,CN=Users,DC=domain,DC=com
name is i.e. "John Doe" - > NOT the sAMAccountName (jdoe)
Base DNs:
CN=Users,DC=domain,DC=com
I realized that much of this was due to my lack of knowledge of LDAP - so I did decide to educate myself a bit on this. LDAP Browser is a great FREE tool for making LDAP visually simple:
http://www.ldapbrowser.com/download.htm
Hope this helps someone and to all the drupal developers -> Thanks for your efforts!!
Comment #5
miglius commented