LDP not displaying all schema objects

David Zemdegs 1,561 Reputation points
2021-03-24T00:23:34.977+00:00

Greetings,

When I run ldp.exe and view the Schema Tree, not all of the objects are displayed by default when the tree root is expanded.
I cant find which option allows you to see all Schema objects.

Thanks
David Z

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,843 questions
0 comments No comments
{count} votes

4 additional answers

Sort by: Most helpful
  1. Fan Fan 15,291 Reputation points Microsoft Vendor
    2021-03-24T06:29:55.427+00:00

    Hi,

    LDP can't return all the objects ,there is a limit by LDAP policy in Active Directory.(2003 or higher)
    MaxPageSize - This value controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is.
    Default value: 1,000
    MaxValRange - This value controls the number of values that are returned for an attribute of an object, independent of how many attributes that object has, or of how many objects were in the search result.
    Default value: 1500
    The value can be changed to:
    MaxPageSize 20000
    MaxValRange 5000

    For more information you can refer to:
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/view-set-ldap-policy-using-ntdsutil
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/domain-controller-returns-500-values-ldap-response

    Best Regards,

    0 comments No comments

  2. David Zemdegs 1,561 Reputation points
    2021-03-24T20:36:00.477+00:00

    Thanks.
    If I run the mmc schema snap-in tool I can see all classes and attributes. So one tool shows them all and another doesnt it seems.

    0 comments No comments

  3. Gary Nebbett 5,721 Reputation points
    2021-03-24T20:56:06.133+00:00

    Hello @David Zemdegs ,

    As @Fan Fan mentioned, the LDAP (Lightweight Directory Access Protocol) protocol/implementation limits the number of results returned in a single query, but provides mechanisms to view the complete result set. The two tools that you mention conceal/surface the steps necessary to view the complete result set to differing degrees. Both tools can view the complete set; one just needs to set the appropriate options and perform the appropriate steps.

    Gary

    0 comments No comments

  4. David Zemdegs 1,561 Reputation points
    2021-03-24T21:04:24.897+00:00

    I looked at the options in LDP and it is not obvious which one would allow retrieval of all schema classes and attributes when expanding the schema container in the left pane.

    0 comments No comments