Active Directory auto login to website for domain users
Posted
by
Darkcat Studios
on Pro Webmasters
See other posts from Pro Webmasters
or by Darkcat Studios
Published on 2012-07-09T13:50:05Z
Indexed on
2012/07/09
15:25 UTC
Read the original article
Hit count: 277
I am putting together an Intranet for a company - I have set up authentication to get into the Intranet from a login box linked to AD via LDAP/
However the client wants (if possible) to have users automatically authenticate into the intranet if they are logged into the domain.
AD and IIS7.5 are on separate servers (in the same network). I believe that I need to use WindowsAuthentication to do this - but will that work? as the web server is not part of the domain: do I need to tell IIS where the AD server is?
The next part could be more complex: once the user has authenticated, I need to drag user details from AD about the user, I guess with LDAP, however I will need to know the user's username in order to do this, won't I? as the user hast had to type this in, how do I get that?
The intranet site is in asp.net 4 VB.
© Pro Webmasters or respective owner