Closed martinhaase closed 4 years ago
I can confirm this with NC 18.0.1 and user_saml 3.0.1
However this is only on my productive instance with 30.000 users in oc_user_saml_users. My test instance with only one SAML user works just fine.
Maybe this has something to do with the size and some caching? Background jobs are running fine.
Operating system: Linux 4.15.0-70-generic nextcloud/user_saml#79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64
Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)
Database: mysql 10.4.8
PHP version: 7.2.24-0ubuntu0.18.04.3
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
Nextcloud version: 18.0.1 - 18.0.1.3
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
External storages: yes
Encryption: no
User-backends:
OC\User\Database
OCA\Guests\UserBackend
OCA\User_SAML\UserBackend
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
This actually seems to be unrelated to saml but to the userid containing an @
symbol and therefore matching the regex for federated user ids.
https://github.com/nextcloud/server/blob/f8a36630e7289864425603b57576cf05118ad18c/apps/files_sharing/src/share.js#L352
Moving to the server repo.
This is an addendum to https://github.com/nextcloud/user_saml/issues/144, which is not implemented fully yet.
Steps to reproduce
Expected behaviour
When hovering over the Sharing link of this document, I expect "Shared by User B"
Actual behaviour
When hovering over the Sharing link of this document, "Shared by ABCDEFGHIJK@insititution.org" is displayed.
Server configuration
Operating system: Centos 7
Web server: ngingx
Database: MariaDB10.3
PHP version: 7.2
Nextcloud version: (see Nextcloud admin page) 15.05
Where did you install Nextcloud from: official nextcloud site, .ZIP
List of activated apps: SAML authenticaton, Collabora Online,