Re: [389-users] Deleting entries that are not modified recently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

Thanks for your answer.

I know about those timestamps, but I don't know if I can compare
timestamps with ldapsearch.

So, is it possible to compare or search entries older that defined
timestamp, for example:

ldapsearch "(objectClass=*)" * modifyTimestamp>20090801000000Z

or how I could do this?

Regards,
Kimmo


2009/9/25 Juan Asensio Sánchez <okelet@xxxxxxxxx>:
> Hi
>
> All entries in the directory have some operational attributes called
> createTimestamp, modifiTimestamp, creatorsName and modifiersName. With
> them, you can check when an entry has been created or modified, and
> who did it. I think this is what you are looking for.
>
> Those attributes, thar are operational, are not returned when you ask
> for all attributes, you must specify their names manually:
>
> ldapsearch ...... "(objectClass=*)" * createTimestamp
>
> Regards
>
> 2009/9/25 Kimmo Koivisto <koippa@xxxxxxxxx>:
>> Hello
>>
>> I'm using fedora-ds-1.0.4-1.RHEL4 and I have an application that
>> creates and modifies entries located in FDS.
>> Application does not remote old entries, and I cannot change how
>> application works.
>>
>> I would like to delete entries that are not modified recently with
>> either plain ldapsearch+ldapdelete or using some FDS tools, perl scipt
>> etc.
>>
>> So, my question is, what is the easiest way to delete entries, for
>> example older that 3 months?
>>
>> Regards,
>> Kimmo
>>
>> --
>> 389 users mailing list
>> 389-users@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>

--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux