{
"system": {
"instanceid": "",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"",
""
],
"datadirectory": "\/data",
"overwrite.cli.url": "",
"dbtype": "mysql",
"version": "11.0.1.2",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "",
"installed": true,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"ldapusercleanupinterval": 15,
"loglevel": 2,
"cron_log": true,
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"log_rotate_size": 104857600,
"mail_from_address": "",
"mail_smtpmode": "smtp",
"mail_domain": "",
"mail_smtphost": "",
"mail_smtpport": "25",
"mail_smtpsecure": "tls",
"memcache.local": "\\OC\\Memcache\\APCu",
"auth.bruteforce.protection.enabled": true,
"remember_login_cookie_lifetime": 86400,
"session_lifetime": 28800,
"session_keepalive": true,
"updater.release.channel": "production",
"maintenance": false,
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}
Steps to reproduce
How it works (but without a password!!!):
Expected behaviour
Sharing per mail shouldn't work without a password.
Beside that fact may an error message should appear with the message "the download isn't possible without a password".
Actual behaviour
User which visit the link and click on download receive:
"Can't read file
Can not read this file, probably this is a shared file. Please ask the file owner to reshare the file with you."
or with shared link and mail:
User can download the file without a password.
Server configuration
Operating system:
CentOS 7.2
Web server:
Apache
Database:
mariadb
PHP version:
PHP 7.0.16
Nextcloud version: (see Nextcloud admin page)
11.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
10.0.0
Where did you install Nextcloud from:
official page
Signing status:
Signing status
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
SAN
Are you using encryption: yes/no
YES
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
AD
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Chrome
Operating system:
Windows 7
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
nextcloud log