Skip to content

Encoding::UndefinedConversionError after upgrading from 0.2.2 to 0.3.1 #30

@MaffooClock

Description

@MaffooClock

I have a model that uses net-ldap for communication to an Active Directory server, and after upgrading the gem from v0.2.2 to v0.3.1, I get a Encoding::UndefinedConversionError exception when binding and performing a query. When I downgrade to 0.2.2, the problem goes away instantly. It looks like it may be due to the recent changes to use UTF-8 string encoding by default.

It seems that my application encounters this only when I am searching AD using a GUID, which would indicate that net-ldap is trying to convert the binary GUID to UTF-8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions