Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jakobdo on
Hello,
i have installed the ldap module, which makes it possible to sync a user with active directory, when a user is created or updated.
When creating a user through the user administration, the sync is performed perfectly. But i'm trying to create a script, which can fetch all users from ldap and create them afterwards. But when created, the "sync" with ldap is not done. Are hooks not triggered, when using: drush script ?