I'm working on a Sinatra app to add voting the an webpage (loaded via
an iframe into the intranet). Everyone is logged into the network, but
I want to automatically authenticate them via ActiveDirectory to
ensure people only vote once.
Does anyone know of any examples using ActiveDirectory or how I get
user's network usernames?
Thanks,
Max
>
> It'd be the latter. They've got to be logged in to get to the page,
> but all I need to do is snag a username.
>
> Looks like Mongrel can be configured to do NTLM and get the
> REMOTE_USER (http://github.com/secobarbital/mongrel-ntlm/tree/master).
>
> The examples shown are for Rails though
> (http://mentalpagingspace.blogspot.com/2008/12/rails-to-windows-integration-single.html
> )
> and not Mongrel.
Looking through the code on github, I think you can pretty much ignore
the code in the blog post, which just appears to make the NTLM Mongrel
handler play nice with an existing Accounts controller in Rails.
g, Markus
--
You received this message because you are subscribed to the Google Groups "sinatrarb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sinatrarb+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.