Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
LDAP gems: paged search with net-ldap
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
adam321  
View profile  
 More options Sep 28 2012, 4:08 am
From: adam321 <adam1.musterm...@campus.lmu.de>
Date: Fri, 28 Sep 2012 01:08:41 -0700 (PDT)
Local: Fri, Sep 28 2012 4:08 am
Subject: LDAP gems: paged search with net-ldap

Hi,

client: Ruby Gem net-ldap
Server: eDirectory v8.8.6

Net-ldap uses paged search and here are the eDirectory messages:
 iterCountEntries: ispositionable returned FALSE
 and
 after the 126th entry (MaxPageSize=126 harcoded in net-ldap) the
 search is aborted:
 invalid paged result control syntax.
 Net-ldap displays the error message: protocol error.

If paged search is disable in net-ldap, it works just fine, all search
entries are delivered.

I use net-ldap because it was downloaded on most.
Any idea why this happen? Is net-ldap gem still maintained?
If not, is there other better maintained ldap gems?
Or maybe LDAP gems just don't need maintenance or people just don't use
ldap anymore? Thanks in advance for any clarification.

-Adam-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Lewis  
View profile  
 More options Oct 1 2012, 1:45 pm
From: Jeff Lewis <jeff.bu...@gmail.com>
Date: Mon, 1 Oct 2012 10:45:38 -0700 (PDT)
Local: Mon, Oct 1 2012 1:45 pm
Subject: Re: LDAP gems: paged search with net-ldap

Hi Adam,

I haven't used net-ldap gem (I've always just used ruby-net-ldap gem for
past several yrs for various projects), but ... Here's a link to the
specific note in the current src regarding that setting:

https://github.com/RoryO/ruby-net-ldap/blob/master/lib/net/ldap.rb#L1337

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
adam321  
View profile  
 More options Oct 4 2012, 4:07 am
From: adam321 <adam1.musterm...@campus.lmu.de>
Date: Thu, 4 Oct 2012 01:07:45 -0700 (PDT)
Local: Thurs, Oct 4 2012 4:07 am
Subject: Re: LDAP gems: paged search with net-ldap

Thanks.
I knew it, thats why I disabled the paged search in the code of net-ldap,
but still don't understand why paged search in the code failed. What cause
the problem.

-Adam-

Am Montag, 1. Oktober 2012 19:45:38 UTC+2 schrieb Jeff Lewis:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »