Hi!
Solaris User wrote:
Marco Geweke,
I tried your method, but it did not work. For one thing, there is no
crypt() function in MySQL. I tried encrypt, and decrypt, but it did not
work.
You asked for a way to encrypt the password in PHP the same way otrs
does in Perl, and that's the way:
$password = crypt($cleartextpassword, $username);
Where do you need a crypt()-function of MySQL for this line?
I don't understand why you call Perl in your solution (see below), when
you can get the same result in PHP directly.
exec("perl -e \"print crypt('$pass_inout', '$user_input')\"", $output);
For more information about the PHP-builtin crypt() see
http://www.php.net/manual/en/function.crypt.php
Greetings
Marco
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/