[development] Updating LDAP Users

Klaus Purer klaus.purer at gmail.com
Fri Jul 22 19:55:22 UTC 2011


You can use drush: http://drupal.org/project/drush

drush php-eval yourscript.php

you can make use a fully booted Drupal environment in the script then. I
guess the ldap module reacts on hook_user_login(), so you can just issue
a user_module_invoke('login', $edit, $user);

--klausi

-- 
Klaus Purer
This E-Mail contains a digital signature and can be verified with this
PGP|GPG Public Key: http://web.student.tuwien.ac.at/~e0426223/key/kp.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20110722/a898a2b1/attachment.bin 


More information about the development mailing list