apache - PHP LDAP Auto Auth -
So I have a nifty script (thanks to the help of some respondents for the last question), which one can enter Allows their username and amp; Win ED's password using LDAP
While taking one step further, I would like to see if the person has already authenticated his session on the PC and used that information instead of registering new things. Someone has referred to the SSPI, which has written a small script to give me the user's name ... this is exactly what I want.
The problem with the SSPI (which I can see, please correct me) is that if the person does not have a certified AD session then the browser asks for one of those traditional pop-up boxes The user who is forced to type their DOMAIN \ before the user is also. I want to go to their login form, do not use the browser pop-up.
I hope for your thoughts.
After answering my previous question, I thought that you would come to this point. Unfortunately, there is no transparent solution for this. I know that since I tried the exact same thing a few weeks ago and did a lot, you can do the best about it that you ask Apache only for SSPI authentication when a user uses your login page (And only there, to avoid the browser's ATH interface where you do not want to know when and when it opens) and a valid user / pass combination required Awareness is not.
Therefore, if the user is logged into the domain, then the browser (if enabled / configured) will automatically pass his ad username and if not - then the username and password. And this is a difficult part - if he fails to provide a perfect combination, because a successful login is not required, it will be remembered for the session and you can come back to your custom login form, where you can use PHP LDAP can use functions to give them the ability to retry
Comments
Post a Comment