Hi, Does anyone has experienced or know something about RoR running under IIS with Active Directory authentication? Thanks Ricardo Acras ricardo-aCitM6d48h9fJ/NunPodnw@public.gmane.org Acras Sistemas +55+41-3232-6404 www.acras.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Wed, Jul 30, 2008 at 9:11 PM, Ricardo Acras <ricardo.acras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Does anyone has experienced or know something about RoR running under IIS > with Active Directory authentication?Yes, it works. But it is two different problems. If you want your rails app to authenticate via AD, then you are best to use the LDAP active directory interface through the ruby net/ldap library. This works well with only a few gotchas, the biggest one is that you have to reformat the password into a quoted unicode value. There are writeups on how to authenticate with AD through ruby''s net/ldap, so I won'' go into it here. On the IIS integration, do a google and find the IIS Rails write ups,. I followed that to get it working. But believe me, you will have more joy with Apache and Mongrel''s on Windows. I found it a lot easier and on the one place where I had to use IIS, ended up getting agreement to switch to mongrels and apache and get rid of IIS. Regards Mikel -- http://lindsaar.net/ Rails, RSpec and Life blog.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
IIS and Rails is discussed in the book "Deploying Rails Applications". Don''t bother. Instead, use Apache + Mongrels. You can then proxy requests through ISA server or through IIS using ISAPI_Rewrite. On Wed, Jul 30, 2008 at 6:17 AM, Mikel Lindsaar <raasdnil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Wed, Jul 30, 2008 at 9:11 PM, Ricardo Acras <ricardo.acras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > Does anyone has experienced or know something about RoR running under > IIS > > with Active Directory authentication? > > Yes, it works. > > But it is two different problems. > > If you want your rails app to authenticate via AD, then you are best > to use the LDAP active directory interface through the ruby net/ldap > library. This works well with only a few gotchas, the biggest one is > that you have to reformat the password into a quoted unicode value. > There are writeups on how to authenticate with AD through ruby''s > net/ldap, so I won'' go into it here. > > On the IIS integration, do a google and find the IIS Rails write ups,. > I followed that to get it working. But believe me, you will have > more joy with Apache and Mongrel''s on Windows. I found it a lot > easier and on the one place where I had to use IIS, ended up getting > agreement to switch to mongrels and apache and get rid of IIS. > > Regards > > Mikel > > > -- > http://lindsaar.net/ > Rails, RSpec and Life blog.... > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---