Hi! 1) First you configure your apache to read you LDAP server. Look into apache documentation: http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html I'm not sure if you can use .htaccess for this one. Try by "virtualhost" configuration.
2) After you login to site with HTTP authentication your requests should contain user credentials. Debug your seesion to see whats inside "request" object. ... or ... You can avoid apache configuration and you write your own devise adapter that will connect to LDAP. Devise: https://github.com/plataformatec/devise Devise HTTP Authentication: https://github.com/plataformatec/devise/wiki/How-To:-Use-HTTP-Authentication Hope that this helps you :) - Oto On 12 maj, 05:09, Wayne Marquette <[email protected]> wrote: > Can anyone help me set up LDAP using .htaccess method is Ruby on > Rails. I have been looking on line for hours and there are some > examples, but know examples explain where to put things in the rails > directories and what file names to use. I have seen references to > ruby-net-ldap as well, but the examples incomplete. Any help would be > appreciated. > > thanks in advance. > > -Wayne -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

