I'm currently developing a new site to migrate from classic asp that runs an authentication script and sets lots of custom session variables it pulls from a SQL table depending on who the user is in iis, the script seems to have a windows login but in the
classic script it also connects to LDAP directly and pulls AD variables like email address, first name, last name etc from the AD. I can emulate this in .Net on my local computer easily but when I deploy this on the remote server, the call to LDAP doesn't
work and it cannot authenticate. I have (maybe mistakenly) written the .net app to use "Forms" authentication, and I have a Login.asp page that emulates the windows authentication from the toolbox, this all works fine locally on my pre-authenticated local
instance. My question: do I change it to "Windows" authentication, but then how do I direct my .Net app to run the Login code behind script and still authenticate with IIS?
Maybe some code woul ...
Go to the complete details ...