No Base DN whil configuration of LDAP / AD Integration
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: 21.0.0
Operating system and version: ? running on QNAP in ContainerStation as Docker container
Apache or nginx version (eg, Apache 2.4.25): ? sry, no info as well
PHP version (eg, 7.4): ?
The issue you are facing:
I’m trying to configure LDAP / AD Integration. But unfortunately I stuck on the frist dialog, 'cause I can’t get the Base DN to be recognized nor a sucessful test of Base DN if i fill it by hand.
Is this the first time you’ve seen this error? (Y/N):
Yes. It’s the first time i try using this.
The output of your Nextcloud log in Admin > Logging:
{"reqId":"cBmc6ZQYJkWvnXzrvMgH","level":2,"time":"2021-03-23T20:42:07+00:00","remoteAddr":"192.168.1.208","user":"nc-admin","app":"user_ldap","method":"POST","url":"/apps/user_ldap/ajax/wizard.php","message":"Configuration Error (prefix s01): login filter does not contain %uid place holder.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.0.18","id":"605a556de7988"}
{"reqId":"cBmc6ZQYJkWvnXzrvMgH","level":2,"time":"2021-03-23T20:42:07+00:00","remoteAddr":"192.168.1.208","user":"nc-admin","app":"user_ldap","method":"POST","url":"/apps/user_ldap/ajax/wizard.php","message":"Configuration Error (prefix s01): No LDAP Login Filter given!","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.0.18","id":"605a556de799a"}
{"reqId":"WblUZO9MeOGlvUGuhodj","level":2,"time":"2021-03-23T20:29:22+00:00","remoteAddr":"192.168.1.208","user":"nc-admin","app":"user_ldap","method":"POST","url":"/apps/user_ldap/ajax/wizard.php","message":"Bind failed: 8: Strong(er) authentication required","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.0.18","id":"605a556de79cf"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'ocdk4vy77s4v',
'passwordsalt' => ********
'secret' => ********
'trusted_domains' =>
array (
0 => '192.168.1.128:49162',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '21.0.0.18',
'overwrite.cli.url' => 'http://192.168.1.128:49162',
'dbname' => 'NextCloudDB',
'dbhost' => '192.168.1.128:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nc-admin',
'dbpassword' => '******',
'installed' => true,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);
The output of your Apache/nginx/system log in /var/log/____
:
Sorry again, I don't find it on my system.
I hope I’ve provided all necessary information.
Best Regards
Michael