cschiewek / devise_ldap_authenticatable

Devise Module for LDAP
MIT License
593 stars 359 forks source link

Version of net-ldap not working with ladle gem #128

Closed andrewzielinski closed 11 years ago

andrewzielinski commented 11 years ago

Hi,

Could you update the net-ldap dependency from version 0.2.2 to 0.3.1 or alternatively change it from '~>' to '>='.

I'm using ladle in my test suite and 0.2.2 is incompatible with this gem. It uses ApacheDS (ldap server) under the hood.

There ruby error that I get is:

The error that I get is:

Unsupported object type: id=139

And part of the ApacheDS error is:

ApacheDS: ERROR: The length of controls must not be null
ApacheDS: WARN: [/0:0:0:0:0:0:0:1%0:52183] Unexpected exception forcing session to close: sending disconnect notice to client.
ApacheDS: org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.directory.shared.ldap.message.MessageException: decoder failture: The length of controls must not be null (Hexdump: empty)

Upgrading to the latest version fixing this issue.

Regards,

Andrew

jcoyne commented 11 years ago

I think this issue ought to be closed since #129 was merged in.