In this example, the Democorp directory is distributed across several DSAs. This example shows how to count the number of entries in the whole distributed directory.
This is also a subtree search, which means that the filter is applied to the base object and all entries in the tree below the base object.
To count all of the entries in the Democorp DSA
dxsearch -h computer-name -p 19389 -s subtree -b "o=DEMOCORP,c=AU" (objectclass="*") dxTotalEntryCount
In this search, computer-name is the computer that contains the Democorp DSA.
o=DEMOCORP,c=AU dxTotalEntryCount=1380
This search result indicates that there are 1380 entries in the Democorp DSA.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |