[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 1.2.3.4] 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 1.2.3.4] 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 1.2.3.4] 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 1.2.3.4] 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 1.2.3.4] Unable to open session
:x\xfaQ{\xf5\x10\\\x18\x8c\xafl\xf1m\xc4\v\x8c*z\x1e\xe2?&ul_-\xc8\x18\xe2\
xd6e\x18:\x9el\xc7\x82\xf4\xdf\xfdrh.-K\x9d\x80t\x8f.\xb5\x1cEIG\xa7u


Any further thoughts?

Cheers
Christian

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
>>button
>> 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:
>>
>> 1.2.3.4 - - [05/May/2011:11:18:55 +1000] "GET
>> /ssp/index.php?action=sendtoken HTTP/1.1" 200 1318
>> 1.2.3.4 - - [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
>happens.
>
>>
>> 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
>>that's
>> incompatible with our current setup, aside from that it's all pretty
>>much
>> standard.
>
>The first thing to check is the error 500 returned by the server.
>
>Clément.



More information about the ltb-users mailing list