Nextcloud 31 support
Is your feature request related to a problem? Please describe. Since Nextcloud 31 will be released next month it would be nice to have this app compatible with that version as well.
Describe the solution you'd like A new version of this app compatible with Nextcloud 31.
Describe alternatives you've considered Maybe this app should be forked or should we move to the integrated LDAP app instead?
Additional context Unfortunately there isn't support for Nextcloud 30 yet either.
Need the update, too.
You can always force install the App via the occ command.
Has anyone tested NC31 with this App yet?
I just installed it, with IMAP backend, no issue so far.
https://apps.nextcloud.com/apps/user_external Is still missing v30/v31… whats wrong?
I can confirm the app is working without problems with IMAP backend on Nextcloud v31.0.2
I can confirm the app is working without problems with IMAP backend on Nextcloud v31.0.2
May not be the right forum, but how did you manage that? I fail to auth against IMAP using the exact configuration:
'user_backends' => array( array( 'class' => '\OCA\UserExternal\IMAP', 'arguments' => array( '127.0.0.1', 993, 'tls', 'MYDOMAIN, true, false ), ), ),
I tried both tls and SSL btw.
Get error messages "Call to undefined method OC\Server" in nextcloud.log and not connect in /var/log/maillog at all ... ?!?
Any input is appreciated
I can confirm the app is working without problems with IMAP backend on Nextcloud v31.0.2
May not be the right forum, but how did you manage that? I fail to auth against IMAP using the exact configuration:
'user_backends' => array( array( 'class' => '\OCA\UserExternal\IMAP', 'arguments' => array( '127.0.0.1', 993, 'tls', 'MYDOMAIN, true, false ), ), ),
I tried both tls and SSL btw.
Get error messages "Call to undefined method OC\Server" in nextcloud.log and not connect in /var/log/maillog at all ... ?!?
Any input is appreciated
My exact configuration, working in production on Nextcloud v31.0.2 (double dashes may or may not be required, try both with and without them):
'user_backends' =>
array (
0 =>
array (
'class' => '\\OCA\\UserExternal\\IMAP',
'arguments' =>
array (
0 => 'mx.my-domain.com',
1 => 143,
2 => 'tls',
3 => 'my-domain.com',
4 => false,
5 => false,
),
),
),
I'd love to hear if it helped ;]
I my case I use:
'user_backends' =>
array (
0 =>
array (
'class' => '\\OCA\\UserExternal\\IMAP',
'arguments' =>
array (
0 => 'hostname.mydomain.tld',
1 => 993,
2 => 'ssl',
3 => '',
4 => true,
5 => false,
),
),
),
I just updated my production server to 31.0.2 and it works.
IT'S WORKING!!!
Using your syntax with my config made ot happen! Thanks a lot!
So my question would be: why ist the documentation obviously wrong? Cause the syntax I used is taken from the README here: https://github.com/nextcloud/user_external
But I understand @ervee is willing to take over the app ... so it will become alive again!
Thanks for your support, Boas
That is a good question. @mrd83 and I probably found this config style somewhere in an old issue or something.
But you are right, it should be corrected in the README. Everyone can create a Pull Request to fix that! :)
That is a good question. @mrd83 and I probably found this config style somewhere in an old issue or something.
But you are right, it should be corrected in the README. Everyone can create a Pull Request to fix that! :)
Obviously I can't: "Pull request creation failed. Validation failed: must be a collaborator "
at least I tried .. ;)
Boas
IT'S WORKING!!!
Using your syntax with my config made ot happen! Thanks a lot!
You're welcome ;]
I wonder though where the problem lies, two obvious differences are double dashes \\ and array syntax with keys set explicitly 0 => , 1 => etc. - would you be so kind and check both options?
That is a good question. @mrd83 and I probably found this config style somewhere in an old issue or something.
Much, MUCH easier to explain. I simply started with Owncloud years ago (YEARS before they even thought about forking to Nextcloud), migrated to an early Nextcloud more than 5 or 6 years ago (or maybe I configured it from scratch back then, relying heavily on the old config? - can't remember) - and my current production is ACTUALLY an old, old Nextcloud - one of the first versions after the fork - upgraded (quite regularly and often though) to the current, latest and greatest v31 ;]
BTW - I never thought about it before - but the Nextcloud code quality I now consider one of the best (not knowing the actual code in-depth ) - just because if the software is tested well enough - that it allows you to simply upgrade it FOR YEARS (in production) - without major/breaking changes (non-breaking issues occur from time to time if I recall correctly) - IMO it can be considered "quite solid"*.
* by which I mean: SOLID AS A FUCKING ROCK ;]
I'd love to find time to know it better and contribute, maybe I will some day.
I would be all for inclduing NC31 support. I use the app for years now and it works great. Though I admit I install an own auth module within user_external and use that for authentication. Of course a problem is shown in security scan. But still it is working very reliably. Thanks for the app!!
Are the maintainers ative? No release for any supported NextCloud version... :-(
Are the maintainers ative? No release for any supported NextCloud version... :-(
@violoncelloCH seems alive as he pushes code on other repro’s still quite often recently so I think he just choose to ignore this app
Hello everyone, I am using Nextcloud Hub 10 (31.0.7) with External user authentication Version 3.4.0 and have the following in the config ‘htaccess.RewriteBase’ => ‘/’, ‘user_backends’ => array ( 0 => array ( ‘class’ => ‘\OCA\UserExternal\IMAP’, ‘arguments’ => array ( 0 => ‘mydomain.com’, 1 => 993, 2 => ‘ssl’, 3 => ‘’, 4 => true, 5 => false, ), ), ), );.
When I log in with a normal user, it works, but when I use an IMAP user (which used to be just the part before the @), I get Internal server error The server could not complete the request.
If this happens again, please send the following technical details to your server administration.
Further details can be found in the server log.
Technical details Remote address: 80.153.91.253 Request ID: aJy0OM6QXiXXMxSL-T7PXAABRDw
I also tried it with the complete email address.
Log Entry
ExceptionCall to undefined method OC\Server::getLogger() in file '/homepages/u12345/meinedomain/apps/user_external/lib/IMAP.php' line 114
@mfeske --- have you tried reading all the answers in this issue? HINT: my own reply - focus on --->>> double dashes may or may not be required <<<--- [I know I sound like an asshole, but please...]
--- Nextcloud Hub 10 -Version 31.0.7 --- External user authentication - Version 3.4.0
Call to undefined method OC\Server::getLogger() is unrelated for sure - I also see it in my logs, with external IMAP auth (still) working correctly.
For NC32 we need to fix this: https://github.com/nextcloud/user_external/issues/266
Just as feedback: deployed the current code from master to a NC-31.0.9 docker installation, works fine so far in combo with a dovecot IMAP server. Thanks all!
It's working with NC 31.0.8 but it needs to be tagged as compatible. Nexcloud administration says: Apps missing compatible version: External user authentication.