Hi,
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 \
–no-prompt
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
ds-cfg-attribute=createTimestamp,cn=Index,ds-cfg-backend-id=userRoot,cn=
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 11 months, 3 weeks ago by
claudiutabac.