Skip to content

Net::LDAP is not missing constant AsnSyntax! in rename and modify_rdn function #45

@hugola33

Description

@hugola33

Hello,

I'm trying to use the rename fonction of this library, and I have this error :
Net::LDAP is not missing constant AsnSyntax!

Here is the code I use :
Net::LDAP.open(@@ldap_options) do |ldap|
ldap.modify_rdn :olddn => dn, :newrdn => new_uid
end

And the options :
@@ldap_options = {
:host => ldap_config["host"],
:port => ldap_config["port"],
:auth => {
:method => :simple,
:username => ldap_config["admin_user"],
:password => ldap_config["admin_password"]
}}

Do you know what could be the problem ?

Thank you

Best regards

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