-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `delete' for Net::LDAP::Filter #4
Comments
I rolled back this commit and a problems disappeared. commit 423e786 I am not sure wihat this commit is trying to achieve in => (args[1].nil?) ? '' : ( args[1][:in] || '' ) wouldnt it be better just to have in: '' |
I can confirm that this problem exists in 1.6.1 and reverting to 1.6.0 fixes the issue. |
this is still present in v1.6.1 |
The sad thing is that this breaks the basic example from the docs (because find(:all) without providing any filter raises the exception), thereby greatly diminishing the usefulness of the active_directory gem. |
Comment out line 269 in ~/.rvm/gems/ruby-2.4.1/gems/active_directory-1.6.1.1/lib/active_directory/base.rb 267 :in => (args[1].nil?) ? '' : ( args[1][:in] || '' ) |
This line
(https://github.com/Mazwak/active_directory/blob/master/lib/active_directory/base.rb#L269)
causes
undefined method 'delete' for Net::LDAP::Filter
if I delete this.. it seems to work (not sure what it was trying to do in the first place)I cant find any method called delete on Net::LDAP::Filter
This is issue was introduced from 1.6.0 -> 1.6.1
The text was updated successfully, but these errors were encountered: