I need to know the user that is accessing the intranet i created with
Sinatra something like in asp.NET Request.ServerVariables["AUTH_USER"]
I've been taking a look at the object request... it gives a lot of info
but not the network username
I have explored this as well, you'll need to use a web server like
Apache or nginx with mod_kerberos (or similar) and reverse proxy to your
application. I have seen a few gems that do NTLM natively, but I haven't
ever tried them. Another option would be to reverse proxy through IIS,
although I'm not 100% sure if this is possible (or feasible in your
environment).
-Ryan Victory
···
On 7/11/13 4:55 AM, Mario Ruiz wrote:
Yes like... for example in IIS when enabling Windows Authentication