The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Databases
> LDAP Programming
|
Problem with view children in tree
Discuss Problem with view children in tree in the LDAP Programming forum on Dev Shed. Problem with view children in tree LDAP Programming forum discussing Lightweight Directory Access Protocol information and techniques. LDAP is used to allow applications to access directory information from a server.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 21st, 2009, 02:37 AM
|
|
Registered User
|
|
Join Date: Dec 2009
Posts: 4
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?
|

January 17th, 2010, 02:11 PM
|
|
Contributing User
|
|
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111
  
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
|

January 18th, 2010, 01:22 AM
|
|
Registered User
|
|
Join Date: Dec 2009
Posts: 4
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.
|

January 18th, 2010, 06:25 AM
|
|
Contributing User
|
|
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111
  
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.
|

January 18th, 2010, 06:42 AM
|
|
Registered User
|
|
Join Date: Dec 2009
Posts: 4
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.
|

January 18th, 2010, 11:50 AM
|
|
Contributing User
|
|
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111
  
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.
|

January 19th, 2010, 12:38 AM
|
|
Registered User
|
|
Join Date: Dec 2009
Posts: 4
Time spent in forums: 52 m 10 sec
Reputation Power: 0
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|