Adauth provides easy to use Active Directory authentication for Rails. All you need to do is point Adauth at a DC on your domain and away you go!
Adauth is available as a gem and can be installed by adding
to your Gemfile and then running
You then need to run the config generator to create the adauth intializer file. This is done by issuing this command
rails g adauth:config
This creates a config file for example.com with the DC at 127.0.0.1 with some helpful comments for each value. See Configuring for more info on each value.