Roundcube Community Forum

 

Recent posts

#1
General Discussion / Re: Does Roundcube support ssh...
Last post by simonleung - Today at 09:15:26 PM
Quote from: SKaero on Today at 01:14:58 PMIn what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.

I enabled the password hash in the configuration file of Roundcube as follows.

$config['password_algorithm'] = 'ssha512';

$config['password_ldap_encodage'] = 'ssha512';
 
Still, I could not change the password of mailbox on Roundcube webmail and found the error in the log file as follows.


[21-Nov-2025 10:10:39 +0800]: <3tcldptb> PHP Error: HIT ssha (POST /?_task=settings&_action=plugin.password-save)


Do Roundcube and php support ssha512?
#2
General Discussion / Re: Does Roundcube support ssh...
Last post by SKaero - Today at 01:14:58 PM
In what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.
#3
General Discussion / Does Roundcube support ssha512...
Last post by simonleung - Today at 12:18:45 PM
Does Roundcube support ssha512 password hash?
#4
Issues & Bugs / Spam Folder has deleted
Last post by Leofric - Today at 06:12:22 AM
Hi, all our spam folders are showing nothing and there is nothing from spam showing in the deleted folder, which it normal does.

Any ideas?
#5
General Discussion / Re: PHP Error: Bind failed: In...
Last post by SKaero - November 18, 2025, 10:18:37 AM
I'm not an expert with ldap but the error means what it says it can't connect to the server the credentials are invalid. I'd recommend double checking what you have set in the config file and you could try looking at the ldap server logs to see if they give you any other information.
#6
Pending Issues / Re: Login from external site/f...
Last post by ballouhosting - November 18, 2025, 05:36:00 AM
Problem finally solved.
Thank you for your help.
#7
General Discussion / Re: How to solve 'PHP Error: P...
Last post by simonleung - November 18, 2025, 03:34:50 AM
Quote from: SKaero on November 18, 2025, 01:59:45 AMI don't see anything there that should be causing an issue. In the plugins/password/password.php file can you change "Password plugin: Hash method not supported." to "Password plugin: Hash method (". $method .") not supported." and then post the error so we can see what method its trying to use?

Quote from: SKaero on November 18, 2025, 01:59:45 AMI don't see anything there that should be causing an issue. In the plugins/password/password.php file can you change "Password plugin: Hash method not supported." to "Password plugin: Hash method (". $method .") not supported." and then post the error so we can see what method its trying to use?


Thanks for your help. It was my wrong and I have solved that problem. Still, I found another problem in the log file(see https://www.roundcubeforum.net/index.php?topic=31768.0). Could you help me check it?
#8
General Discussion / PHP Error: Bind failed: Invali...
Last post by simonleung - November 18, 2025, 03:31:13 AM
I find the error message in the log file of Roundcube as follows. What is about? How do I solve it?


[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Deprecated:  Return type of Net_LDAP2_Search::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2/Search.php on line 565
[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Deprecated:  Return type of Net_LDAP2_Search::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2/Search.php on line 596
[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Deprecated:  Return type of Net_LDAP2_Search::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2/Search.php on line 581
[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Deprecated:  Return type of Net_LDAP2_Search::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2/Search.php on line 619
[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Deprecated:  Return type of Net_LDAP2_Search::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2/Search.php on line 632
[18-Nov-2025 16:30:04 +0800]: <ro5hei66> PHP Error: Bind failed: Invalid credentials: LDAP_INVALID_CREDENTIALS (POST /?_task=settings&_action=plugin.password-save)
[18-Nov-2025 16:30:04 Asia/Hong_Kong] PHP Fatal error:  Uncaught TypeError: ldap_close(): Argument #1 ($ldap) must be of type LDAP\Connection, false given in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2.php:701
Stack trace:
#0 /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2.php(701): ldap_close()
#1 /var/www/roundcube/vendor/pear/pear-core-minimal/src/PEAR.php(814): Net_LDAP2->_Net_LDAP2()
#2 [internal function]: _PEAR_call_destructors()
#3 {main}
  thrown in /var/www/roundcube/vendor/pear/net_ldap2/Net/LDAP2.php on line 701


#9
General Discussion / Re: How to solve 'PHP Error: P...
Last post by SKaero - November 18, 2025, 01:59:45 AM
I don't see anything there that should be causing an issue. In the plugins/password/password.php file can you change "Password plugin: Hash method not supported." to "Password plugin: Hash method (". $method .") not supported." and then post the error so we can see what method its trying to use?
#10
Pending Issues / Re: Login from external site/f...
Last post by ballouhosting - November 18, 2025, 01:42:50 AM
Would you know if I need to change anything beside my script and the autologin plugin?
Feels strange if I need to change anything in the "index.php".