Hi,

In an inhouse Windows / Apache server I have a Intranet site set up with Drupal.

Typically, users logs to their computers with their domain username and password.

Now, when they open up their web browsers and navigate to that Intranet site...

is it possible for Drupal to fetch for example a username (or just First name and Last name) from that LDAP AD?

Thinking that, maybe I can simply print the domain username under users comments on the intranet.

I would not want to force them to log in AGAIN for intranet since they are already logged in to heir computer.

Thanks,

Comments

mchohan’s picture

Hi,
I've recently found a way round this. I've posted an article on my website, however this is currently down.

I'll get back to you once I've fixed my site, that should help you. If i've not got back to you over the next few days, send me a message.

Are you running your Intranet on Apache in Windows? Ofcourse you are, yep, same as me.
Thanks.

mchohan’s picture

Hi,

Take a look at this:

http://www.toastbox.co.uk/content/authenticating-windows-login-php-runni...

That should get you the username for the login.

To get the users to auto login, you can use the webserver_auth module.

hope that helps.
thanks.

chales’s picture

Hi @mchohan, I went to take a look at your post but it's down.


DrupalVoodoo