use apache to authenticate against a kerberos server which sets the REMOTE_USER variable.
use ldap to loock up the user
try to login to nextcloud
Expected behaviour
the login succedes and the user can use the cloud
Actual behaviour
after authenticating with kerberos nextcloud looks up the user in the ldap database and finds it then it trys a bind for the user and fails as for users it is impossible to bind with ldap as that is handled by kerberos
(all ldap lockups are done anonymous and testing the configuration in the settings or with the occ command return the expected results)
Server configuration detail
Operating system: Linux 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64
Steps to reproduce
Expected behaviour
the login succedes and the user can use the cloud
Actual behaviour
after authenticating with kerberos nextcloud looks up the user in the ldap database and finds it then it trys a bind for the user and fails as for users it is impossible to bind with ldap as that is handled by kerberos
(all ldap lockups are done anonymous and testing the configuration in the settings or with the occ command return the expected results)
Server configuration detail
Operating system: Linux 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64
Webserver: Apache/2.4.48 (Debian) (apache2handler)
Database: pgsql PostgreSQL 13.3 (Debian 13.3-1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
PHP version:
7.4.21
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, json, ldap, luasandbox, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pgsql, apc, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wikidiff2, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 22.2.0 - 22.2.0.2
Updated from an older Nextcloud/ownCloud or fresh install: updated from 18.something in the steps the updater sugests
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/Kerberos
LDAP configuration (delete this par if not used)
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Operating system:
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: