Hello Friends,
I am using a 'ldapsearch' command from Ubuntu machine to fetch entries from SunOne directory server hosted on Windows machine.
I am able to retrieve the records but not all. At one stage it aborts abruptly and throws following error -
ldap_search: LDAP Adminstration Limit Error
Any pointers on what this error is all about and how can I get rid of it?
Cheers, Parag
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote:
Hello Friends, I am using a 'ldapsearch' command from Ubuntu machine to fetch entries from SunOne directory server hosted on Windows machine. I am able to retrieve the records but not all. At one stage it aborts abruptly and throws following error - ldap_search: LDAP Adminstration Limit Error Any pointers on what this error is all about and how can I get rid of it?
The number of results exceed the configured limit for a request. (?)
Write a script in Python, or something like it, with LDAP support so you can page the request.
Maybe ldapsearch can page for you? I don't recall.
Unfortunately, I don't have that option. I can use only 'ldapsearch'
I want to know the configuration setting to be put in place on Server which would remove the limit.
Cheers, Parag
On Fri, Oct 16, 2009 at 1:03 AM, Adam Tauno Williams < awilliam@opengroupware.us> wrote:
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote:
Hello Friends, I am using a 'ldapsearch' command from Ubuntu machine to fetch entries from SunOne directory server hosted on Windows machine. I am able to retrieve the records but not all. At one stage it aborts abruptly and throws following error - ldap_search: LDAP Adminstration Limit Error Any pointers on what this error is all about and how can I get rid of it?
The number of results exceed the configured limit for a request. (?)
Write a script in Python, or something like it, with LDAP support so you can page the request.
Maybe ldapsearch can page for you? I don't recall.
Parag Kalra wrote:
Unfortunately, I don't have that option. I can use only 'ldapsearch'
I want to know the configuration setting to be put in place on Server which would remove the limit.
Then you should ask the SunOne technical support folks. That's not anything OpenLDAP can answer for you.
Cheers, Parag
On Fri, Oct 16, 2009 at 1:03 AM, Adam Tauno Williams <awilliam@opengroupware.us mailto:awilliam@opengroupware.us> wrote:
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote: > Hello Friends, > I am using a 'ldapsearch' command from Ubuntu machine to fetch entries > from SunOne directory server hosted on Windows machine. > I am able to retrieve the records but not all. At one stage it aborts > abruptly and throws following error - > ldap_search: LDAP Adminstration Limit Error > Any pointers on what this error is all about and how can I get rid of > it? The number of results exceed the configured limit for a request. (?) Write a script in Python, or something like it, with LDAP support so you can page the request. Maybe ldapsearch can page for you? I don't recall.
Parag Kalra wrote:
Unfortunately, I don't have that option. I can use only 'ldapsearch'
I want to know the configuration setting to be put in place on Server which would remove the limit.
Cheers, Parag
This should help, but this is not the place ;-)
http://docs.sun.com/app/docs/doc/820-2495/nsslapd-sizelimit-5dsconf?a=view
Cheers, O.
On Fri, Oct 16, 2009 at 1:03 AM, Adam Tauno Williams <awilliam@opengroupware.us mailto:awilliam@opengroupware.us> wrote:
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote: > Hello Friends, > I am using a 'ldapsearch' command from Ubuntu machine to fetch entries > from SunOne directory server hosted on Windows machine. > I am able to retrieve the records but not all. At one stage it aborts > abruptly and throws following error - > ldap_search: LDAP Adminstration Limit Error > Any pointers on what this error is all about and how can I get rid of > it? The number of results exceed the configured limit for a request. (?) Write a script in Python, or something like it, with LDAP support so you can page the request. Maybe ldapsearch can page for you? I don't recall.
Before posting here I had already tried that..... :) But the settings were not working...Before making the changes in the file I even stopped the service, made the changes and then restarted the service...still setting was not working....
Yesterday I found a path to set the same setting through GUI...Made the required setting and restarted the service and it worked like a breeze...PFA screenshot....
So it could be a bug that settings if made through file 'dse.ldif' don't work as expected...and you are left with only option to use GUI
Cheers, Parag
On Fri, Oct 16, 2009 at 2:19 AM, Olivier Rademakers < rademakers@channelopen.org> wrote:
Parag Kalra wrote:
Unfortunately, I don't have that option. I can use only 'ldapsearch'
I want to know the configuration setting to be put in place on Server which would remove the limit.
Cheers, Parag
This should help, but this is not the place ;-)
http://docs.sun.com/app/docs/doc/820-2495/nsslapd-sizelimit-5dsconf?a=view
Cheers, O.
On Fri, Oct 16, 2009 at 1:03 AM, Adam Tauno Williams <awilliam@opengroupware.us mailto:awilliam@opengroupware.us> wrote:
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote: > Hello Friends, > I am using a 'ldapsearch' command from Ubuntu machine to fetch entries > from SunOne directory server hosted on Windows machine. > I am able to retrieve the records but not all. At one stage it aborts > abruptly and throws following error - > ldap_search: LDAP Adminstration Limit Error > Any pointers on what this error is all about and how can I get rid of > it? The number of results exceed the configured limit for a request. (?) Write a script in Python, or something like it, with LDAP support so you can page the request. Maybe ldapsearch can page for you? I don't recall.
Adam Tauno Williams wrote:
On Fri, 2009-10-16 at 00:31 +0530, Parag Kalra wrote:
Hello Friends, I am using a 'ldapsearch' command from Ubuntu machine to fetch entries from SunOne directory server hosted on Windows machine. I am able to retrieve the records but not all. At one stage it aborts abruptly and throws following error - ldap_search: LDAP Adminstration Limit Error Any pointers on what this error is all about and how can I get rid of it?
The number of results exceed the configured limit for a request. (?)
Write a script in Python, or something like it, with LDAP support so you can page the request.
Maybe ldapsearch can page for you? I don't recall.
Yes, see the ldapsearch(1) manpage.
Hello Friends,
I am using a 'ldapsearch' command from Ubuntu machine to fetch entries from SunOne directory server hosted on Windows machine.
I am able to retrieve the records but not all. At one stage it aborts abruptly and throws following error -
ldap_search: LDAP Adminstration Limit Error
Any pointers on what this error is all about and how can I get rid of it?
Assuming the ldapsearch you're using is OpenLDAP's, the client presents the user as much as it gets from the server. That error message is pretty generic. You should definitely look at the server's logs to understand what happened. Since the server is not OpenLDAP's, I'm afraid there's little OpenLDAP can do for you. You should definitely look at the server logs and, in case you still have no clue, rather ask on a SunONE specific forum.
p.
openldap-technical@openldap.org