automatically store user attributes of CRM in LDAP

I want to write user attributes stored within CRM to an LDAP.
Is it possible to trigger an automatic update of the LDAP data when the user attributes within CRM change?
Does a tool/program already exist for this purpose?