Menu

Synchro Data Source: Deletion rules

Marah Alh
6 days ago
5 days ago
  • Marah Alh

    Marah Alh - 6 days ago

    Hello Dears,
    please your support for below:
    I sync LDAP users to iTop every 24 hours using the following command:

    php -q synchro_import.php --auth_user="admin" --auth_pwd="admin" --data_source_id=1 --csvfile="Persons.csv"
    

    I want to delete each person who is not present in the last sync.
    I tried to use the "Deletion rules", but nothing works. Both the replica and the person remain in iTop.
    Here are the configurations I have tried:
    First attempt:
    Users allowed: Administrators only
    Full load interval: 2min 0s
    Delete Policy: Delete
    Update rules:
    Retention Duration: 0s

    Second attempt:
    Users allowed: Administrators only
    Full load interval: 1min 0s
    Delete Policy: Delete
    Update rules: status:inactive;section:test
    Retention Duration: 1min 0s

    Third attempt:
    Users allowed: Administrators only
    Full load interval: 1min 0s
    Delete Policy: Update then Delete
    Update rules: status:inactive;section:test
    Retention Duration: 1min 0s

    Is it possible to achieve this using "Deletion rules", or do I need to delete them manually?

     

    Last edit: Marah Alh 6 days ago
  • Marah Alh

    Marah Alh - 5 days ago

    Please, any help ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.