Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got Drupal 6 setup within a XAMPP test area. I have LDAP authentication, groups and data working against Active Directory.

What I want... is since I'm on an intranet where users are logged in via user-names... is for automatic authentication, without the need to login via the website.

If it's more difficult than its worth, it's no major hassle, but I'd like to know if it's possible that when my users visit our intranet they auto-magically authenticate with their already logged in Windows session.

Ultimately, I may switch to IIS, but I do like having a portable, easy to backup/copy/test setup so for now I'm going to see if I can get this working in XAMPP.

share|improve this question
Did you get an appropriate answer to your question or do you need something more? – Christopher Feb 14 '11 at 19:14
Well in the 6 months since I posted the question, Drupal 7 has come out and LDAP API for it has been updated to something workable (ldap_integration works for drupal 6) – WernerCD Feb 14 '11 at 19:21

Microsoft has provided a means for automatically passing authentication info if you're hosting with IIS - the LDAP automatically login thread at Drupal.org may be of interest.

share|improve this answer
Lemme add that, as of right now atleast, I'm working inside XAMPP - Apache, MySQL, PHP. Editing post. – WernerCD Nov 4 '10 at 16:44

Take a look here: http://drupal.org/node/64230

(please note I didn't write that, it just came up in Google)

share|improve this answer
up vote 0 down vote accepted

http://drupal.org/project/ldap for Drupal 7 http://drupal.org/project/ldap_integration for Drupal 6

Both have done what I wanted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.