⚠️ This issue respects the following points: ⚠️
Bug description
After update from 24.0.6 to 24.0.7 : User cannot authenticate with LDAP backend if multiple LDAP servers are configured
It seems that the LDAP authentication proccess continue to check the user login on the next LDAP server even if authentication success. :
- If the user is in the last LDAP server of the list, the authentication is successful
- Authentication for all other LDAP servers fails with : "No user available for the given login name on [host:port]"
Steps to reproduce
- Having multiple LDAP servers configured for user authentication (user A in server 1, user B in server 2)
- Update from 24.0.6 to 24.0.7
- Authentication fails with user A (and all users from server 1) but success with user B (and all users from server 2)
- Add a copy of server 1 as server 3 in the LDAP server list
- Authentication fails with user B (and all users from server 2) but success with user A (and all users from server 3 [copy of 1])
- Desactivate server 3 and user B can authenticate again ... but not user A ...
Expected behavior
Authentication must be successful for users of server #1, #2 or #3
Installation method
No response
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (24.0.6 to 24.0.7)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.7160.be",
"webmail.chapelle-lez-herlaimont.be",
"webmail.7160.be",
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"debug": false,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/cloud.chapelle-lez-herlaimont.be",
"forcessl": true,
"forceSSLforSubdomains": true,
"dbtype": "mysql",
"version": "25.0.1.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"installed": true,
"default_language": "fr",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"maintenance": false,
"loglevel": 0,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"updater.release.channel": "stable",
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"app_install_overwrite": [
"mail",
"external",
"apporder"
],
"mysql.utf8mb4": true,
"mail_sendmailmode": "smtp",
"default_phone_region": "BE",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpsecure": "ssl",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 2.17.0
- admin_audit: 1.15.0
- appointments: 1.14.0
- apporder: 0.15.0
- audioplayer: 3.3.1
- bookmarks: 11.0.4
- bruteforcesettings: 2.5.0
- calendar: 4.1.0
- cloud_federation_api: 1.8.0
- comments: 1.15.0
- contacts: 5.0.1
- contactsinteraction: 1.6.0
- dashboard: 7.5.0
- dav: 1.24.0
- deck: 1.8.1
- event_update_notification: 2.0.0
- external: 5.0.0
- federatedfilesharing: 1.15.0
- federation: 1.15.0
- files: 1.20.1
- files_downloadactivity: 1.15.0
- files_external: 1.17.0
- files_pdfviewer: 2.6.0
- files_rightclick: 1.4.0
- files_sharing: 1.17.0
- files_trashbin: 1.15.0
- files_versions: 1.18.0
- firstrunwizard: 2.14.0
- groupfolders: 13.0.0
- logreader: 2.10.0
- lookup_server_connector: 1.13.0
- nextcloud_announcements: 1.14.0
- notes: 4.6.0
- notifications: 2.13.1
- notify_push: 0.5.0
- oauth2: 1.13.0
- password_policy: 1.15.0
- photos: 2.0.0
- polls: 4.0.0
- previewgenerator: 5.1.0
- privacy: 1.9.0
- provisioning_api: 1.15.0
- quota_warning: 1.15.0
- recommendations: 1.4.0
- related_resources: 1.0.3
- richdocuments: 7.0.1
- serverinfo: 1.15.0
- settings: 1.7.0
- sharebymail: 1.15.0
- spreed: 15.0.1
- support: 1.8.0
- survey_client: 1.13.0
- systemtags: 1.15.0
- tasks: 0.14.5
- text: 3.6.0
- theming: 2.0.1
- twofactor_backupcodes: 1.14.0
- updatenotification: 1.15.0
- user_ldap: 1.15.0
- user_status: 1.5.0
- viewer: 1.9.0
- weather_status: 1.5.0
- workflowengine: 2.7.0
Disabled:
- announcementcenter: 6.3.1
- circles: 0.21.4
- documentserver_community: 0.1.12
- encryption
- extract: 1.3.5
- files_accesscontrol: 1.14.1
- impersonate: 1.11.0
- jitsi: 0.15.0
- mail: 1.11.6
- onlyoffice: 7.3.0
- richdocumentscode: 21.11.103
- socialsharing_email: 2.5.0
- socialsharing_facebook: 2.5.0
- suspicious_login
- twofactor_totp
- workflow_script: 1.8.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
No response
Additional info
No response
Bug description
After update from 24.0.6 to 24.0.7 : User cannot authenticate with LDAP backend if multiple LDAP servers are configured
It seems that the LDAP authentication proccess continue to check the user login on the next LDAP server even if authentication success. :
Steps to reproduce
Expected behavior
Authentication must be successful for users of server #1, #2 or #3
Installation method
No response
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (24.0.6 to 24.0.7)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.7160.be", "webmail.chapelle-lez-herlaimont.be", "webmail.7160.be", ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "debug": false, "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/cloud.chapelle-lez-herlaimont.be", "forcessl": true, "forceSSLforSubdomains": true, "dbtype": "mysql", "version": "25.0.1.1", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "installed": true, "default_language": "fr", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory", "maintenance": false, "loglevel": 0, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "updater.release.channel": "stable", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "app_install_overwrite": [ "mail", "external", "apporder" ], "mysql.utf8mb4": true, "mail_sendmailmode": "smtp", "default_phone_region": "BE", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtpsecure": "ssl", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "theme": "", "updater.secret": "***REMOVED SENSITIVE VALUE***" } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response