Nextcloud version (eg, 12.0.2): 12.0.4
Operating system and version (eg, Ubuntu 17.04): 16.04
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1): PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
The issue you are facing:
Ldap can’t connect and load the user
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- update version from 12.0.3 to 12.0.4
- apply the same ldap setting
- Nextcloud can’t load the AD user information.
- Old user still can login to the Nextcloud
- Outlook plugin can’t upload the file to the Nextcloud
The output of your Nextcloud log in Admin > Logging:
Warning user_ldap Configuration Error (prefix s02): login filter does not contain %uid place holder. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): Not a single Base DN given. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): No LDAP Login Filter given! 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): login filter does not contain %uid place holder. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): Not a single Base DN given. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): No LDAP Login Filter given! 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): login filter does not contain %uid place holder. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): Not a single Base DN given. 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): No LDAP Login Filter given! 2018-01-30T16:44:19+0800
Warning user_ldap Configuration Error (prefix s02): login filter does not contain %uid place holder. 2018-01-30T16:44:19+0800
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
I don't know which one is the target file :
root@nextcloud:/# find . -name "config.php"
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.1.5/apps/spreedme/confi g/config.php
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.1.5/apps/files_external /lib/config.php
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.1.5/config/config.php
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.3.3/apps/spreedme/confi g/config.php
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.3.3/apps/files_external /lib/config.php
./var/ncdata/updater-occ0in9kxj9v/backups/nextcloud-12.0.3.3/config/config.php
./var/NCBACKUP/apps/spreedme/config/config.php
./var/NCBACKUP/apps/files_external/lib/config.php
./var/NCBACKUP/config/config.php
./var/www/nextcloud/apps/spreedme/config/config.php
./var/www/nextcloud/apps/files_external/lib/config.php
./var/www/nextcloud/config/config.php
The output of your Apache/nginx/system log in /var/log/____
:
" ============================================================================
" Netrw Directory Listing (netrw v155)
" /var/log/apache2
" Sorted by name
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:special
" ==============================================================================
../
./
access.log
access.log.1
error.log
error.log.1
error.log.10.gz
error.log.11.gz
error.log.12.gz
error.log.13.gz
error.log.14.gz
error.log.2.gz
error.log.3.gz
error.log.4.gz
error.log.5.gz
error.log.6.gz
error.log.7.gz
error.log.8.gz
error.log.9.gz
other_vhosts_access.log
other_vhosts_access.log.1
other_vhosts_access.log.10.gz
other_vhosts_access.log.11.gz
other_vhosts_access.log.12.gz
other_vhosts_access.log.13.gz
other_vhosts_access.log.14.gz
other_vhosts_access.log.2.gz
other_vhosts_access.log.3.gz
other_vhosts_access.log.4.gz
other_vhosts_access.log.5.gz