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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to