[horde] passwd myscript

edwardspl at ita.org.mo edwardspl at ita.org.mo
Wed Sep 3 15:55:11 UTC 2008


Dear Jorge,

Please try this :
http://www.horde.org/passwd/

It is good for working with imp 4.1.x

If you need more help, you may send me email directly...

Thanks !

Edward.

Jorge Hernandez wrote:

>
>
> I know this is more a PHP question that a horde question, but I have a
> script for changing passwords on my server, but I try to call it using
> myscript in backends.php as follows, it gives me an error, I think is
> because PHP doesn't allow func_get_args() to be a function parameter
> and the script is not taking the args from horde.
>
> If somebody has an idea of how to get PHP to read the args passed by
> horde, please let me know, here is how I'm calling it from passwd
> backends.php
>
> $backends['myscript'] = array(
> 'name' => 'myscript',
> 'preferred' => '',
> 'password policy' => array(),
> 'driver' => 'procopen',
> 'params' => array(
> 'program' => '/usr/bin/php /var/www/htdocs/change_password.php
> $_POST[userid] $_POST[newpassword1]'
> )
> );
>
> ==========================
> Jorge Hernandez
> CEO
> FSB Computers
>
>
>
> __________ NOD32 3411 (20080903) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com.hk
>
>
>
> I have a script for changing passwords on my server, but I try to call
> it using myscript in backends.php as follows, it gives me an error
>
> $backends['myscript'] = array(
> 'name' => 'GNSS script',
> 'preferred' => '',
> 'password policy' => array(),
> 'driver' => 'procopen',
> 'params' => array(
> 'program' => '/usr/bin/php /var/www/htdocs/change_password.php
> $_POST[userid] $_POST[newpassword1]'
> )
> );
>
> ==========================
> Jorge Hernandez
> CEO
> FSB Computers
>
>
>
> __________ NOD32 3411 (20080903) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com.hk
>
>------------------------------------------------------------------------
>
>--
>Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
>__________ NOD32 3411 (20080903) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.nod32.com.hk
>  
>



More information about the horde mailing list