Question about generating sample user data

This topic has 2 replies, 2 voices, and was last updated 1 year, 1 month ago by syzshawn.

  • Author
  • #28197

    Version: 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.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 entries

     Bill Nelson

    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.


    thank u very much!
    solved by change the count limit of Apache

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?