[development] Updating LDAP Users

Andreas Laesser andreas.laesser at tugraz.at
Mon Jul 25 12:45:31 UTC 2011


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 
=========================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.drupal.org/pipermail/development/attachments/20110725/d5e45988/attachment.bin 


More information about the development mailing list