Is it possible to make the ldap_integration module to run a simple external/stand-alone perl script (or any other shell script for that matter) right after the user succesfully update their profile (those that map to LDAP attribute). For example, my user can change their email address via Drupal and the 'mail' attribute will be changed as well. Now, everytime a user do this, I want it to run a script that basically read the LDAP content and do an update to another database which is not related to Drupal at all.
If it's possible, can you show me where to change? A sample code will really helps ;)
Thanks in advance.
Rgds,
Hendra
Comments
Comment #1
pablobm commentedEr... maybe you should write a Drupal module implementing the
_userhook.But probably you will just do with a quick&dirty solution, so just edit this function on the code accordingly:
The exact location for your code is within the
if ($writeout) { (...) }statement.Comment #2
pablobm commentedComment #3
kreaper commentedComment #4
kreaper commentedThis should be a feature request
Comment #5
kreaper commented