Open gtmtech opened 9 years ago
Last time I checked rails 4 was working with master. Have you tried master on a new empty rails app?
Isn't it time to update the version tag for devise_ldap_authenticatable? In the master the version 0.8.3 is working. But the version tags is down at 0.6.01?
For anyone asking this question in 2016:
I can say for sure that devise 3.5.3 and devise_ldap_authenticatable 0.8.5 work remarkably well with rails 4.2.5.
I've added a few notes to the wiki article https://github.com/cschiewek/devise_ldap_authenticatable/wiki that may help others who are getting authentication errors.
@jfgrissom Going to try devise_ldap_authenticatable with the beta for Rails 5.
Can confirm it works with Rails 5.0.0.1
Hey @cschiewek! It's been a little while since a new version was published, and there looks to have been a handful of valuable commits since. Would it be reasonable to cut a new release at this time?
The company I'm working for has a strong preference for pinned dependancies, so I figured it couldn't hurt to ask 😊
Hi,
I am particularly interested in this as a way of getting LDAP authentication working in devise on rails4. I am using rails 4.1.8, net-ldap 0.5.1, devise 3.4.1, and devise_ldap_authenticatable 0.8.1
On a brand new (empty) rails app, I followed the guide for setting up devise_ldap_authenticatable, and devise, however nothing seems to work that great - so I was just wondering whether you consider this to be a fairly stable release, and supported within rails 4.1.8 ?
For example, I notice that 0.8.1 was published in 2013, but there have been several unpublished github changes since - should I be using latest and greatest instead of the published version from last year?
For what its worth, I can't get sign-ins to work at all, everything seems to fail on: resource = where(auth_key => auth_key_value) in devise_ldap_authenticatable/model.rb
It always returns null. Furthermore, it seems to look for entries in the database, as opposed to looking up things from LDAP.
Sign-ups seem to work, except that when using a different password to that inside my openldap server, it still works, and creates the user in the local database.
Sign-outs fail with an error, and the devise plugin attempts to do a query for filter(cn=), (or equivalent), i.e. a null user.
I wondered whether it is worth pursuing, i.e. is this in a development phase, or would you expect everything to work really well, in which case, could I ask for exact versions of rails and devise you are using against 0.8.1, and I will try those instead.
Thanks for your help