Ldap Deleted Automatic Inactiv Users


This topic has 0 replies, 1 voice, and was last updated 2 years, 4 months ago by claudiutabac.

  • Author
  • #27565


    I have a problem,i try to run this command in bash cl, to deleted users from ldap. I don’t find any information about how to automatic deleted inactive users from ldapOpenam.

    ./dsconfig.bat \
    create-backend-index \
    –hostname localhost \
    –port 4444 \
    –bindDN “cn=Directory Manager” \
    –bindPassword Passw0rd \
    –backend-name userRoot \
    –index-name createTimestamp \
    –set index-type:ordering \
    –set ttl-enabled:true \
    –set ttl-age:30s \
    –trustAll \

    This commdand response :
    The Backend Index could not be created because of the following reason:

    * Unwilling to Perform: The Directory Server is unwilling to add
    configuration entry
    Backends,cn=config because one of the add listeners registered with the
    parent entry cn=Index,ds-cfg-backend-id=userRoot,cn=Backends,cn=config
    rejected this change with the message: The time-to-live (TTL) feature
    can only be enabled for generalized time ordering indexes

    • This topic was modified 2 years, 4 months ago by claudiutabac.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2022 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?