On Friday 22 July 2011 21:55:22 Klaus Purer wrote:
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
Thanks a lot, I'll try and report if I succeeded. ;-) Andreas -- ========================================================================= _____________ / ___________/ Andreas Laesser / //_// /____/ Signal Proc.& Speech Communication Lab. __/ /___/ / __ Graz University of Technology /___//____//__ Inffeldgasse 12 | A-8010 Graz | Austria http://www.spsc.tugraz.at Tel: +43 (0)316 873 -4443 Fax: DW 104439 =========================================================================