This topic has 2 replies, 2 voices, and was last updated 6 months, 1 week ago by syzshawn.
-
AuthorPosts
-
August 21, 2020 at 8:12 am #28197
syzshawn
ParticipantVersion: DS-5.5.0
wanna simply generate 10000 LDAP entries by using
./makeldif –outputLdif /home/xxx/opendj/ldif/generated.ldif /home/xxx/opendj/config/MakeLDIF/example.templateand 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 entries
August 21, 2020 at 5:21 pm #28198Bill Nelson
Participant1. 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 #28199syzshawn
Participantthank u very much!
solved by change the count limit of Apache -
AuthorPosts
You must be logged in to reply to this topic.