You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use user_external with IMAP authentication and no domain in username.
Expected behaviour
No errors.
Actual behaviour
Nextcloud logging the following error on every IMAP password check;
Undefined variable: groups at /var/www/localhost/htdocs/cloud/apps/user_external/lib/imap.php#101
In lib/imap.php for usernames without domains the groups array/variable is not setup at ($this->groupDomain && $pieces[1]) { $groups[] = $pieces[1]; } and hence $this->storeUser($uid, $groups); needs groups previously defined to null or guarded.
Steps to reproduce
Expected behaviour
No errors.
Actual behaviour
Nextcloud logging the following error on every IMAP password check;
In lib/imap.php for usernames without domains the groups array/variable is not setup at
($this->groupDomain && $pieces[1]) { $groups[] = $pieces[1]; }
and hence$this->storeUser($uid, $groups);
needs groups previously defined to null or guarded.Affected Authentication backend
IMAP
Server configuration
User External App version: 0.6.3 plus pull #83
Operating system: Gentoo
Web server: Cherokee
Database: MariaDB
PHP version: 7.1.30
Nextcloud version: 15.0.8
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Source
The text was updated successfully, but these errors were encountered: