Support intro
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 (eg, 20.0.5): 20.0.10
Operating system and version (eg, Ubuntu 20.04): 11.1.0
Apache or nginx version (eg, Apache 2.4.25): apache 2.4.41-4
PHP version (eg, 7.4): 7.4.3
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- LDAP integration > Login Attributes
The output of your Nextcloud log in Admin > Logging:
nextcloud log empty.
Audit.log:
{"reqId":"7q8XJ3X4jgpMOJ8qZh8J","level":1,"time":"2021-06-04T13:15:46+02:00","remoteAddr":"192.168.41.2","user":"--","app":"admin_audit","method":"POST","url":"/index.php/login","message":"Login attempt: \"nextcloud\"","userAgent":"Mozil
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '**xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx**',
'secret' => '**xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx**',
'trusted_domains' =>.
array (
0 => '**xxxxxxxxxx**',
1 => '192.168.37.2',
2 => 'nextcloud',
3 => 'nextcloud',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '20.0.10.1',
'overwrite.cli.url' => 'https://nextcloud/',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'ncadmin',
'dbpassword' => '**xxxxxxxx**',
'installed' => true,
'instanceid' => 'och7z8f5qeof',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => '4',
'log.condition' =>.
array (
'apps' =>.
array (
0 => 'admin_audit',
),
),
'mail_smtpmode' => 'smtp',
'logtimezone' => 'Europe/Warsaw',
'maintenance' => false,
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => '**xxxxxxxxxxxxxxxxxxx**',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '**xxxxxxxxxxxxxxxxxxxxx**',
'mail_smtpport' => '465',
'mail_smtpname' => '**xxxxxxxxxxxxxxxxx**',
'mail_smtppassword' => '**xxxxxxxxxxxxxxxxxxx**',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'app_install_overwrite' =>.
array (
0 => 'ldaporg',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
nextcloud.xxxxxxxxxx.eu:443 192.168.10.4 - - [04/Jun/2021:13:17:28 +0200] "PUT /index.php/apps/user_status/heartbeat HTTP/2.0" 204 475 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0"
nextcloud.xxxxxxxxx.eu:443 192.168.10.4 - - [04/Jun/2021:13:17:28 +0200] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/2.0" 200 218 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0"
nextcloud.xxxxxxxxxx.eu:443 192.168.10.4 - - [04/Jun/2021:13:17:28 +0200] "GET /apps/user_status/img/user-status-away.svg HTTP/2.0" 200 526 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0"
Hello, I want to AD integration with nextcloud. Configuration is fine, I see users, groups, but on Login Attributes two checkbox are greyed out and I canot change them.
I Edit LDAP query manually to
(&(|(|(memberof=CN=Domain Users,CN=Users,DC=domain,DC=eu)
(primaryGroupID=513)))(samaccountname=%uid))
And verify settings is working, it found user.
- I can’t login via LDAP, I get error with wrong credentials.
- I want to enable mail address in login attributes
Where is the problem ?