New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create new user or change passwd #422
Comments
Hi - thanks for the bug report. What password backend are you using? Are there any relevant messages in PHP's error log (perhaps Apache's error log?) |
Hi David, I am using mysql_encrypt/SHA as backend. I tried to look for errors, but i found nothing. Also, if you need I can arrange shell access to this server, by team viewer. PHP 7.4.14 Thanks |
Hm, OK ... this is a regression from 5151b86 I changed it from giving a fairly weak password (sha1) due to :
to using blowfish or whatever
From testing that, it looks like RANDOM_BYTES() isn't supported by all MySQL variants, so that statement will fail and possibly cause a blank page? I see this in my server's error log :
See 910490e which should fix it. If you can confirm that'd be great.... |
Hi again, Tried both possible solutions but still get the same issue. Blank page :( btw, sql is: Once more, if you need to get in, please let me know |
Hmm, just to make sure, does SQL like work when you're logged into mysql ?
work ? I'm kind of surprised you're not seeing any errors logged anywhere. Does the virtual host you're using for Postfixadmin contain an ErrorLog definition? |
@nunix2 if you're still not seeing any error logged anywhere, try putting something like If you're using systemd, I have a feeling you might need to do |
Hi, Tried all. About troubleshooting: Vhost config as the line to write errors: ErrorLog /www/.../logs/error.postfixadmin.nunix-it.pt.log . Also no errors regarding this issue. On functions.inc.php did the configs above. Tried several (some are commented, but tried them): Also, at config.local.php change the $CONF['authlib_default_flavor'] = 'SHA'; to 'crypt' Moved back do 3.2.4 again. |
Just to confirm - stick I'm wondering if you're editing the wrong code? Failing that - can you message me on irc (GingerDog) and I'll try and help some other way. |
Welcome to the MariaDB monitor. Commands end with ; or \g. Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> |
In the above, the die(...) needed to be just before the other db_query_one() call ..... it would only have been triggered for existing users. You need it to be in the other half of the 'if' statement (somewhere around the stackexchange comment). IRC - sorry - I can see we just "missed" each other. If you want, you can email me (david-at-codepoets.co.uk) or twitter (@theGingerdog). I'm mostly available during UK work hours ..... |
Good morning, Regarding: "See 910490e which should fix it." Thanks |
I think this is now fixed. The underlying problem was that the MySQL server needed 'mysql_upgrade' running - to fix an error with the 'proc' table (error was viewable in the FPM error log). |
Hi
I just updated postfixadmin from 3.2.4 to 3.3.3. Ran upgrade.php to update sql db.
After login, i can see all domains, users, etc.
I tried to change a user (mailbox) passwd and got a blank page. Password is not changed.
I have deleted one mailbox account and it deletes OK.
I tried to create a new mailbox account and also got a blank page. I have checked the database, and this last process only creates an entry on table ALIAS. Nothing is created on MAILBOX table.
Rolled back to 3.2.4, and all back to normal.
Thanks
The text was updated successfully, but these errors were encountered: