How to Set Up the LDAP Synchronization Cronjob
To synchronize the user directory changes automatically you will need to add a cron job on your server. We recommend to execute the job once a day, but you can choose as per your preference.
Debian/Ubuntu
0 0 * * * su -c "/usr/share/php/passbolt/bin/cake directory_sync all --persist" -s /bin/bash www-data >> /var/log/cron.log 2>&1
RPM
0 0 * * * su -c "/usr/share/php/passbolt/bin/cake directory_sync all --persist" -s /bin/bash nginx >> /var/log/cron.log 2>&1
Docker
You will have to uncomment line 36 and 37 on the docker-compose-pro.yaml
file.