Samba AD SSL Authetication

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

Nextcloud version (6.0.3):
Operating system and version (Ubuntu 16.04):
Apache or nginx version (Nginx 1.10.3-0ubuntu0.16.04.3):
PHP version (7.1):

The issue you are facing:

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

I tried configure Authentication with this method

The output of your Nextcloud log in Admin > Logging:

{"reqId":"aMdepBiAH2L0INessi3Z","level":2,"time":"2019-08-01T14:51:49+00:00","remoteAddr":"","user":"ncadmin","app":"user_ldap","method":"GET","url":"\/nextcloud\/apps\/serverinfo\/update","message":"Configuration Error (prefix s01): login filter does not contain %uid place holder.","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/70.0.3538.77 Safari\/537.36","version":""}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'XXXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXX',
  'secret' => 'XXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'HOST:81',
    1 => 'HOST',
  'datadirectory' => 'DATA',
  'overwrite.cli.url' => 'http://HOST:81/nextcloud',
  'overwritehost' => 'HOST',
  'overwriteprotocol' => 'https',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'DB',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'USER',
  'dbpassword' => 'XXXXXXX',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '',
    'port' => 6379,
    'timeout' => 0.0,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'trashbin_retention_obligation' => 'auto, 30',
  'mysql.utf8mb4' => true,
  'maintenance' => false,

If I use this command, work:

 ldapsearch -v -x -H ldaps://HOST -b DC=DOMAIN,DC=LAN -D CN=Administrator,CN=Users,DC=DOMAIN,DC=lan -w XXXXXXX

Could you help me, Please ?

Best Regards