August 21, 2020 at 8:12 am #28197syzshawnParticipant
wanna simply generate 10000 LDAP entries by using
./makeldif –outputLdif /home/xxx/opendj/ldif/generated.ldif /home/xxx/opendj/config/MakeLDIF/example.template
and import data from the generated.ldif when setup DS-5.5 userstore
But when I check it through Apache Directory Studio it only shows around 1000 entriesAugust 21, 2020 at 5:21 pm #28198Bill NelsonParticipant
1. The default number of users included in the example.template is 10,000. Make sure that that was not modified.
2. Confirm that the generated.ldif file actually contains 10,000 entries (
grep "dn: " generated.ldif | wc -l)
3. How did you import your data? Did you use the import-ldif command? Look at the messages output from that command, it will tell you how many entries were imported or skipped.
4. Confirm that Apache isn’t limiting your view of the number of entries. Use a command line search, instead:
ldapsearch -h host -p port -D "cn=Directory Manager" -w PASSWORD -b dc=example,dc=com -s sub objectclass=inetorgperson
to see all user entries created by MakeLdif or
ldapsearch -h host -p port -D "cn=Directory Manager" -w PASSWORD -b dc=example,dc=com -s sub objectclass=inetorgperson | grep "dn: " | wc -l
to see the count of the number of user entries.August 21, 2020 at 9:41 pm #28199syzshawnParticipant
thank u very much!
solved by change the count limit of Apache
You must be logged in to reply to this topic.