YunoHost-Apps / friendica_ynh

Friendica package for YunoHost
http://friendi.ca/
Other
11 stars 12 forks source link

"ERROR: Empty password disallowed" on ldapauth_authenticate #128

Open csolisr opened 5 months ago

csolisr commented 5 months ago

Describe the bug

The Friendica logs currently report a constant error regarding the LDAP authentication.

Context

Steps to reproduce

  1. Install Friendica
  2. Configure the log to point towards a file that Friendica has access to (in my case I created a new folder to point towards /var/www/friendica/logs/friendica.log)
  3. Wait a few minutes
  4. See the following error, or a similar one, spammed around once a minute:
ERROR | Empty password disallowed
ldapauth.php | ldapauth_authenticate

Expected behavior

There should be no errors notified on the Friendica log related to the authentication. For some reason, the authentication is constantly sending an empty password to some point of the workflow instead of using the stored credentials.

Logs

Date | Level | Context | Message
2024-02-17T06:07:37Z | ERROR | app | Empty password disallowed

File | Line | Function | UID | Process ID
ldapauth.php | 78 | ldapauth_authenticate | cc4433 | 3373298