0.0
No commit activity in last 3 years
No release in over 3 years
The simplest that LDAP authentication can get while still being useful
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

#Minnie-LDAP

minnie-ldap is an authentication strategy for the minnie gem.

###Install

Add minnie-ldap to your Gemfile

 gem 'minnie-ldap'

Now follow the instructions for the minnie gem to run the generator. Here's a hint:

 bundle exec rails generate minnie:install

Now get rid of the generated lines in the user model so that your model looks like this:

 class User < ActiveRecord::Base
   include Minnie::User::Ldap
 end

You'll also need to add a username to the migration. Try this on the command line:

 bundle exec rails g migration AddUsernameToUsers username:string

You're all done! Now try to sign in to your app at /signin. Make sure you use a valid LDAP user.

###Issues

There isn't much code here so try resolving issues on your own. If you get some issues fixed, send me a pull request!

If you're not making any headway, just create an issue and I'll try to look at it.