[Ltb-users] email token never gets sent

Christian Unger c.unger at uq.edu.au
Tue May 10 04:21:36 CEST 2011

Hello again

Finally got to play with this some more and found after enabling debug
that php52-mcrypt wasn't installed. Once that was done I got the email BUT
the token keeps being deemed invalid:

[Tue May 10 12:17:24 2011] [error] [client] PHP Warning:  Wrong
parameter count for strstr() in
/usr/share/self-service-password/functions.inc.php on line 301
[Tue May 10 12:17:24 2011] [error] [client] PHP Notice:  Undefined
variable: keyphrase in /usr/share/self-service-password/functions.inc.php
on line 314
[Tue May 10 12:17:24 2011] [error] [client] PHP Warning:
mcrypt_generic_init() [<a
href='function.mcrypt-generic-init'>function.mcrypt-generic-init</a>]: Iv
size incorrect; supplied length: 0, needed: 32 in
/usr/share/self-service-password/functions.inc.php on line 317
[Tue May 10 12:17:24 2011] [error] [client] PHP Notice:  Undefined
index:  login in /usr/share/self-service-password/pages/resetbytoken.php
on line 66
[Tue May 10 12:17:24 2011] [error] [client] Unable to open session

Any further thoughts?


On 5/05/11 17:30 , "Clément OUDOT" <clem.oudot at gmail.com> wrote:

>2011/5/5 Christian Unger <c.unger at uq.edu.au>:
>> Hello there
>Hi Christian,
>> I'm running a RHEL 5.6 system with 0.5 of ssp, and when I click the
>> to send an email token ... I never get an email. My maillog doesn't
>> indicate that anything is received by the on host sendmail. I don't get
>> any messages or errors in my access_log or error_log, except that it
>> appears to indicate all is well:
>> - - [05/May/2011:11:18:55 +1000] "GET
>> /ssp/index.php?action=sendtoken HTTP/1.1" 200 1318
>> - - [05/May/2011:11:19:02 +1000] "POST
>> /ssp/index.php?action=sendtoken HTTP/1.1" 500 777
>The POST request gets an internal server error (500) so there is a
>problem here. You can try to set $debug to true and see why it
>> Changing passwords (when knowing the password) works, and the LDAP log
>> indicates that it is getting my email address to confirm the validity of
>> my request, but ... Yeah nothing ever appears to be sent.
>> One thing I did have to change was disable the VirtualHost, because
>> incompatible with our current setup, aside from that it's all pretty
>> standard.
>The first thing to check is the error 500 returned by the server.

More information about the ltb-users mailing list