Posted By: Austin Ziegler
Date: 2011-03-26 20:19
Summary: net-ldap 0.2.2 Released
Project: Net::LDAP for Ruby

net-ldap version 0.2.2 has been released!

Net::LDAP for Ruby (also called net-ldap) implements client access for the
Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for
accessing distributed directory services. Net::LDAP is written completely in
Ruby with no external dependencies. It supports most LDAP client features and a
subset of server features as well.

Net::LDAP has been tested against modern popular LDAP servers including
OpenLDAP and Active Directory. The current release is mostly compliant with
earlier versions of the IETF LDAP RFCs (2251–2256, 2829–2830, 3377, and 3771).
Our roadmap for Net::LDAP 1.0 is to gain full client compliance with
the most recent LDAP RFCs (4510–4519, plus portions of 4520–4532).

Changes:

### Net::LDAP 0.2.2 / 2011-03-26
* Bug Fixes:
* Fixed the call to Net::LDAP.modify_ops from Net::LDAP#modify.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: net-ldap-0-2-2-releas

Start New Thread Start New Thread

 

By: Krishna Adavi
RE: ApacheDS: ERROR: The length of controls must [ reply ]  
2012-08-01 15:30
ok after digging further, i see few others said downgrading to 0.1.1 worked. I did the same and my search goes thru fine.

If and when you get a chance to fix 0.2.2, please email us, i will use the latest version as its generally a good practice anyway.

thanks
krishna

By: Krishna Adavi
ApacheDS: ERROR: The length of controls must [ reply ]  
2012-08-01 14:38
Hi,
I am using net-ldap for ldap connectivity from our ruby app. just starting to use so i might be doing something wrong. I get this error
ApacheDS: ERROR: The length of controls must not be null

Net::BER::BerError: Unsupported object type: id=139

when i call search function passing just whats required and left out optional
@ldap.search( :base => treebase, :attributes => attrs, :filter => filter)

I saw in earlier versions of this gem, some folks saying they were getting this: controls cannot be empty.

Can you tell me what this error means, am i not passing any other required arguments to search or something else?

thanks
Krishna