LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 21st, 2009, 02:37 AM
Igor533 Igor533 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 4 Igor533 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 10 sec
Reputation Power: 0
Problem with view children in tree

I use Sun One Directory server 5.2 on the Windows 2003 platform.
I have object “country” with exclamation mark and when I try open it in server console, I receive error message:
“The selected object has 6453 children.
Only the first 5000 will be displayed.”

At the same time my perfomance configured to "Unlimited"
Can anybody any ideas?

Reply With Quote
  #2  
Old January 17th, 2010, 02:11 PM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 18 m
Reputation Power: 8
Your using an account other than the "cn=Directory Manager" so the return limit keeps you from returning more than 5000 entries. You have two options; one, is the increase the default return limit ns-slapdreturnlimit which can be done through the admin console or two, set the nsReturnLimit on the user account with which your performing the search

Reply With Quote
  #3  
Old January 18th, 2010, 01:22 AM
Igor533 Igor533 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 4 Igor533 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 10 sec
Reputation Power: 0
Quote:
Originally Posted by ldapswandog
Your using an account other than the "cn=Directory Manager" so the return limit keeps you from returning more than 5000 entries. You have two options; one, is the increase the default return limit ns-slapdreturnlimit which can be done through the admin console or two, set the nsReturnLimit on the user account with which your performing the search

I use account=admin and account=CN=Directory Manager, and I have similar problem for two accounts.
In additional, in
admin_console/configuration/perfomence/client control LDAP settings I have all limit in Unlimited.
Where are parametrs your said:
ns-slapdreturnlimit and nsReturnLimit.

Reply With Quote
  #4  
Old January 18th, 2010, 06:25 AM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 18 m
Reputation Power: 8
If you are using "cn=Directory Manager" then there is no search or return limit. the values you see in the console only affect non-admin accounts. So my next guess would be the lap browser and/or client your using has return limits. nsslapd-returnlimit is located in the dse.ldif file and nsReturnLimit is an attribute that you can set on a non-admin account so that the account can override the default settings. Again if your using the DM account then the return limits set on the Directory are not your problem, it must be in the client configuration.

Reply With Quote
  #5  
Old January 18th, 2010, 06:42 AM
Igor533 Igor533 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 4 Igor533 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 10 sec
Reputation Power: 0
Quote:
Originally Posted by ldapswandog
If you are using "cn=Directory Manager" then there is no search or return limit. the values you see in the console only affect non-admin accounts. So my next guess would be the lap browser and/or client your using has return limits. nsslapd-returnlimit is located in the dse.ldif file and nsReturnLimit is an attribute that you can set on a non-admin account so that the account can override the default settings. Again if your using the DM account then the return limits set on the Directory are not your problem, it must be in the client configuration.

I have error about limit of entries in SunOne Server Admin Console. If I use other LDAP Browsers and Administrators (e.g. java browser or Softera LDAP Admin) I have not error.
I have not nsslapd-returnlimit in my dse.ldif fail.
I use cn=Directory Manager user
.

Reply With Quote
  #6  
Old January 18th, 2010, 11:50 AM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 18 m
Reputation Power: 8
my mistake, it is nsslapd-sizelimit and there can be one defined for each DB in the Directory instance. Again these values will not change the behavior of the admin console. For performance reasons, the Console for Directory Server displays only 5000 results, even when you have configured the Directory Server to return more than 5000 results.

Reply With Quote
  #7  
Old January 19th, 2010, 12:38 AM
Igor533 Igor533 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 4 Igor533 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 10 sec
Reputation Power: 0
Red face

Quote:
Originally Posted by ldapswandog
my mistake, it is nsslapd-sizelimit and there can be one defined for each DB in the Directory instance. Again these values will not change the behavior of the admin console. For performance reasons, the Console for Directory Server displays only 5000 results, even when you have configured the Directory Server to return more than 5000 results.

ldapswandog

Thank you very march.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Problem with view children in tree

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap