I am trying to configure LDAP in Drupal 6 and IIS7.5 , i have done basic configuration, event tested with ldaphelp module everything is fine, now if i try to access the site , it is not asking login credentials. Means if we configure Basic authentication in IIS we will get popup window, similarly we will get popup window or not ? Please let me how LDAP will works.
Configuration is ok , but i am not sure about how LDAP will works in IIS7.5.
Please clarify me
1.which authentication i need to enable in IIS7.5 either Basic authentication or anonymous authentication.
2. Is any configuration needs be done in web.config file ?
DN for non-anonymous search:
Here also i am getting succeeded i.e getting information "Authentication with the LDAP server succeeded."
Comments
Comment #1
cgmonroe commentedLDAP Authentication works with Drupal's normal login screens. So if you allow anonymous access to your site (the default), you will still see content but will not be an "authenticated user" until you use the login block or link to authenticate.
If you are trying to force people to log in to access ANY of your site's pages, try this module:
http://drupal.org/project/require_login
This is intended to deny all anonymous access to the site and displays the login screen to any access prior to logging on.
Comment #2
Nagella commentedthanks cgmonroe , i got exact information from your end whatever i am looking for. LDAP authentication is working fine. Now one more requirent is that, i have one Group with name "BayOneGroup" , now what happens that ldap authentication allowing all the users from LDAP directory , but i want to allow only who are part of the "BayOneGroup".How to configure Groups in LDAP? Please let me know. One more requirement is i have to give admin rights to some of the users who are the part of the "BayOneGroup".
Is there possibility to do like this.? Please let me know?
Thanks,
Comment #3
cgmonroe commentedThe ldapgroups module will do that.
First, you will need to define the way groups are stored in your LDAP server. Then you can define access rules and map LDAP groups to Drupal roles.
The dev version has a nice "test group settings" tab that will let you check against different users to see if the settings are correct.
Comment #4
Nagella commentedInstalled ldapgroup module and pulled the LDAP groups into drupal roles, everything is fine. But it was fine upto 2 days back, now suddenly i am getting Sorry, unrecognized username or password. Have you forgotten your password?
when i try to loging. I haven't touch anything,previously it was workig fine. Any idea ?
Comment #5
cgmonroe commentedCheck the Drupal watchdog entries (Reports->recent entries) for information.
You might want to get a non-drupal LDAP tool like jxplorer (jxplorer.org). You can use your Drupal settings (e.g. user lookup dn/password) or just a user dn and password to connect and verify that they work or not. This is a nice way to verify that the server, port, id and password are working on LDAP. It also will let you see the LDAP server structure to verify your base dn, etc settings are OK.
Since you marked this with the beta2 version, you might also want to try the latest dev version. It is about to become the next release and is stable. There are a lot of fixes and improvements in this.
Comment #6
gregceni commentedsubscribed