⚠️ This issue respects the following points: ⚠️
Bug description
Setup LDAP, Test Base DN, Shows error: Base DN appears to be wrong, An error occurred. Please check the Base DN, as well as connection settings and credentials.
Steps to reproduce
- Activate LDAP User
- Add LDAP Server openldap.kube-ldap.svc.cluster.local
- Port 1389
- Setup Admin DN CN=admin,dc=muellerpublic,dc=de
- Setup Password
- Set Base DN
dc=muellerpublic,dc=de
- Click Test Base Dn
- Error Configuration incorrect and Base DN appears to be wrong
EDIT: Forget step set base DN
Expected behavior
Base DN is verified
Installation method
Official Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
PostgreSQL
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 Enabled
What user-backends are you using?
Configuration report
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "6379",
"password": "***REMOVED SENSITIVE VALUE***"
},
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpsecure": "tls",
"mail_smtpauth": true,
"mail_smtpauthtype": "LOGIN",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.muellerpublic-de-cloud.svc.cluster.local",
"nextcloud",
"10.0.0.0\/8",
"cloud.muellerpublic.de"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "22.2.3.0",
"overwrite.cli.url": "https:\/\/cloud.muellerpublic.de",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"log_type": "file",
"loglevel": 0,
"overwritehost": "cloud.muellerpublic.de",
"overwriteprotocol": "https",
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"check_data_directory_permissions": false
}
}
List of activated Apps
- accessibility: 1.8.0
- activity: 2.15.0
- circles: 22.1.1
- cloud_federation_api: 1.5.0
- comments: 1.12.0
- contactsinteraction: 1.3.0
- dashboard: 7.2.0
- dav: 1.19.0
- encryption: 2.10.0
- federatedfilesharing: 1.12.0
- federation: 1.12.0
- files: 1.17.0
- files_pdfviewer: 2.3.1
- files_rightclick: 1.1.0
- files_sharing: 1.14.0
- files_trashbin: 1.12.0
- files_versions: 1.15.0
- files_videoplayer: 1.11.0
- firstrunwizard: 2.11.0
- logreader: 2.7.0
- lookup_server_connector: 1.10.0
- nextcloud_announcements: 1.11.0
- notifications: 2.10.1
- oauth2: 1.10.0
- password_policy: 1.12.0
- photos: 1.4.0
- privacy: 1.6.0
- provisioning_api: 1.12.0
- recommendations: 1.1.0
- serverinfo: 1.12.0
- settings: 1.4.0
- sharebymail: 1.12.0
- support: 1.5.0
- survey_client: 1.10.0
- systemtags: 1.12.0
- theming: 1.13.0
- twofactor_backupcodes: 1.11.0
- updatenotification: 1.12.0
- user_ldap: 1.12.1
- user_status: 1.2.0
- viewer: 1.6.0
- weather_status: 1.2.0
- workflowengine: 2.4.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:01+00:00
Debug files_sharing /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:01+00:00
Debug cron Run OCA\DAV\BackgroundJob\CalendarRetentionJob job with ID 22 2022-01-27T15:46:01+00:00
Debug cron Finished OCA\DAV\BackgroundJob\CalendarRetentionJob job with ID 22 in 0 seconds 2022-01-27T15:46:01+00:00
Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:01+00:00
Debug files_sharing /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:01+00:00
Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:31+00:00
Debug files_sharing /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:31+00:00
Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:45+00:00
Debug files_sharing /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-01-27T15:46:45+00:00
Additional info
There is really no log entry at all that are relevant.
My config works with other apps like Gitea and Grafana.
Nextcloud and OpenLDAP run on a Kubernetes cluster. I don’t even know if the LDAP App is doing anything. There are no logs and no access is made to the OpenLDAP server.
Bug description
Setup LDAP, Test Base DN, Shows error: Base DN appears to be wrong, An error occurred. Please check the Base DN, as well as connection settings and credentials.
Steps to reproduce
dc=muellerpublic,dc=deEDIT: Forget step set base DN
Expected behavior
Base DN is verified
Installation method
Official Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
PostgreSQL
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 Enabled
What user-backends are you using?
Configuration report
{ "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": "6379", "password": "***REMOVED SENSITIVE VALUE***" }, "mail_smtpmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpsecure": "tls", "mail_smtpauth": true, "mail_smtpauthtype": "LOGIN", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud.muellerpublic-de-cloud.svc.cluster.local", "nextcloud", "10.0.0.0\/8", "cloud.muellerpublic.de" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "22.2.3.0", "overwrite.cli.url": "https:\/\/cloud.muellerpublic.de", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "log_type": "file", "loglevel": 0, "overwritehost": "cloud.muellerpublic.de", "overwriteprotocol": "https", "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "check_data_directory_permissions": false } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
There is really no log entry at all that are relevant.
My config works with other apps like Gitea and Grafana.
Nextcloud and OpenLDAP run on a Kubernetes cluster. I don’t even know if the LDAP App is doing anything. There are no logs and no access is made to the OpenLDAP server.