nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.18k stars 4.04k forks source link

[Bug]: ldap app does not succed to conect to an openldap server #32058

Closed ewok2 closed 2 years ago

ewok2 commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

I just install a fres nextcloud with lates version 23.0.3 (then update to 23.0.4) on a Ubuntu 20.04 VM. I have a openldap working on another Ubuntu VM and works fine with a Owncloud connected on it.

I have activate the “Integration LDAP / AD” app on nexcloud. But when going to the parameter of this app, everythings seems in “grey” (like tabs user, login attribut, groups, advance, expert) I try to fill the host, port, DN user, password, base but when selecting the button “test DN base” nothing append… No log in “nextcloud/data/nextcloud.log”

the command : ldapsearch -x -b “dc=mydomain,dc=net” -H ldap://ldap.mydomain.net:389 -D “cn=admin,dc=mydomain,dc=net” -W works fine

A owncloud instance (not on the same Ubuntu VM) works fine with the same ldap

I had the feeling when arriving in the conf page that it initialy display a larger page with more menu but only half seconds...

Steps to reproduce

  1. Fresh Ubuntu 20.04 install
  2. nextcloud install
  3. ldap app actctivation

Expected behavior

using detect port works detect DN or test DN works Ldap connexion works

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.2.2
  - circles: 23.1.1
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.1.0
  - contactsinteraction: 1.4.0
  - dashboard: 7.3.0
  - dav: 1.21.0
  - documentserver_community: 0.1.12
  - external: 3.10.2
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - firstrunwizard: 2.12.0
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - mail: 1.11.7
  - nextcloud_announcements: 1.12.0
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - onlyoffice: 7.3.2
  - password_policy: 1.13.0
  - photos: 1.5.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - recommendations: 1.2.0
  - richdocuments: 5.0.3
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - sociallogin: 4.14.0
  - spreed: 13.0.5
  - support: 1.6.0
  - survey_client: 1.11.0
  - systemtags: 1.13.0
  - text: 3.4.1
  - theming: 1.14.0
  - twofactor_backupcodes: 1.12.0
  - unsplash: 1.2.4
  - updatenotification: 1.13.0
  - user_ldap: 1.13.1
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Disabled:
  - admin_audit
  - encryption
  - files_external

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

nothing apear with tail -f data/nextcloud.log
when trying to configure ldap

Additional info

No response

nextcloud-command commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.