Skip to content

Conversation

@jorrizza
Copy link

Every function that modified LDAP attributes broke. This quickly fixes it. Don't know if it's the right way, but it seems to work for me :)

@halostatue
Copy link

The unit tests fail under this change.

 1) Error:
test_modify_ops_add(TestLDAP):
NoMethodError: undefined method `modify_ops' for Net::LDAP::Connection:Class
    ./test/test_ldap_connection.rb:13:in `test_modify_ops_add'

  2) Error:
test_modify_ops_delete(TestLDAP):
NoMethodError: undefined method `modify_ops' for Net::LDAP::Connection:Class
    ./test/test_ldap_connection.rb:6:in `test_modify_ops_delete'

  3) Error:
test_modify_ops_replace(TestLDAP):
NoMethodError: undefined method `modify_ops' for Net::LDAP::Connection:Class
    ./test/test_ldap_connection.rb:20:in `test_modify_ops_replace'

28 tests, 145 assertions, 0 failures, 3 errors
rake aborted!

@halostatue
Copy link

I've fixed this and pushed out 0.2.1.

@halostatue halostatue closed this Mar 24, 2011
astratto pushed a commit to astratto/ruby-net-ldap that referenced this pull request Dec 18, 2015
jch pushed a commit that referenced this pull request Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants