nextcloud / user_external

👥 External user authentication methods like IMAP, SMB and FTP
https://apps.nextcloud.com/apps/user_external
107 stars 64 forks source link

[Bug]: Nextcloud 25.0.1 user_external not ported, no way to authenticate Linux users #213

Closed 4nanook closed 1 year ago

4nanook commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

I upgraded to 25.0.1 today, like Most Nextcloud updates this proved to be a mistake as authentication no longer works. Checking my apps user_external, the app that did that, is gone. Going to the app store, no version available for newer than 24.0, am I just screwed now?

Steps to reproduce

  1. Configure a 24.x or earlier server with user_external to authenticate Linux system users.
  2. Upgrade to 25.0.1
  3. Try to authenticate - no go.
  4. check for app, gone.
  5. check app store no version for 25.x available.

Expected behavior

Something as critical as authentication should have been ported before the release was available.

Installation method

No response

Operating system

No response

PHP engine version

No response

Web server

No response

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

No response

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.eskimo.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.1.1",
        "overwrite.cli.url": "https:\/\/nextcloud.eskimo.com\/",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "user_backends": [
            {
                "class": "\\OCA\\UserExternal\\IMAP",
                "arguments": [
                    "204.122.16.222",
                    143,
                    "none",
                    "",
                    false,
                    false
                ]
            }
        ],
        "data-fingerprint": "15c5e08aba95f4a9f58603c46b0bedc9",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "theme": "",
        "log_type": "file",
        "logfile": "\/misc\/nextcloud\/nextcloud.log",
        "loglevel": 0,
        "logdateformat": "F d, Y H:i:s",
        "updater.release.channel": "stable",
        "has_rebuilt_cache": true,
        "app_install_overwrite": [
            "auto_mail_accounts",
            "caniupdate",
            "whiteboard",
            "ojsxc",
            "user_ispconfig"
        ],
        "ldapIgnoreNamingRules": false,
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": true,
        "default_phone_region": "ISO 3166-2:US",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - announcementcenter: 6.4.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.1.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dav: 1.24.0
  - deck: 1.8.2
  - encryption: 2.13.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_downloadactivity: 1.15.0
  - files_external: 1.17.0
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.1.1
  - maps: 0.2.1
  - news: 19.0.0
  - nextcloud_announcements: 1.14.0
  - notes: 4.6.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_oidc: 1.2.1
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - afterlogic: 2.0.5
  - analytics: 4.5.1
  - appointments: 1.14.3
  - approval: 1.0.10
  - audioplayer: 3.3.1
  - bookmarks: 11.0.4
  - camerarawpreviews: 0.8.0
  - cfg_share_links: 3.0.0
  - checksum: 1.1.5
  - cms_pico: 1.0.21
  - cookbook: 0.10.1
  - cospend: 1.5.4
  - cpanelmailsync: 0.1.7
  - csp_editor: 1.1.0
  - dashboard: 7.4.0
  - drawio: 1.0.5
  - drop_account: 2.1.0
  - eidlogin: 1.0.11
  - event_update_notification: 2.0.0
  - files_accesscontrol: 1.15.0
  - files_automatedtagging: 1.15.0
  - files_downloadlimit: 1.0.1
  - files_inotify: 0.1.13
  - files_linkeditor: 1.1.12
  - files_lock: 24.0.1
  - files_mindmap: 0.0.27
  - files_photospheres: 1.25.2
  - files_retention: 1.14.0
  - files_snapshots: 1.0.5
  - files_versions_s3: 0.1.9
  - files_zip: 1.1.2
  - fileslibreofficeedit: 1.1.0
  - forms: 3.0.1
  - geoblocker: 0.5.7
  - gestion: 2.2.2
  - gpoddersync: 3.7.1
  - gpxpod: 5.0.4
  - grauphel: 1.0.18
  - group_everyone: 0.1.11
  - groupfolders: 13.0.0
  - groupquota: 0.1.9
  - guests: 2.3.0
  - integration_discourse: 1.0.4
  - integration_dropbox: 1.0.5
  - integration_github: 1.0.12
  - integration_gitlab: 1.0.10
  - integration_google: 1.0.8
  - integration_jira: 1.0.4
  - integration_mastodon: 1.0.3
  - integration_moodle: 1.0.2
  - integration_onedrive: 1.1.4
  - integration_openproject: 2.1.0
  - integration_reddit: 1.0.5
  - integration_suitecrm: 1.0.3
  - integration_twitter: 1.0.3
  - integration_zammad: 2.0.1
  - mediadc: 0.2.0
  - metadata: 0.17.0
  - music: 1.7.0
  - ncdownloader: 1.0.2
  - notify_push: 0.5.0
  - oidc: 0.2.6
  - onlyoffice: 7.6.8
  - ownpad: 0.7.1
  - passman: 2.4.2
  - passwords: 2022.11.21
  - pax_fax: 1.0.8
  - phonetrack: 0.7.2
  - polls: 4.0.0
  - previewgenerator: 5.1.1
  - qownnotesapi: 22.10.0
  - quicknotes: 0.8.5
  - quota_warning: 1.15.0
  - rainloop: 7.2.6
  - ransomware_protection: 1.14.0
  - recognize: 3.2.2
  - registration: 2.0.0
  - richdocuments: 7.0.1
  - richdocumentscode: 22.5.802
  - root_cache_cleaner: 0.1.3
  - sendent: 1.3.1
  - shareimporter: 1.0.6
  - sharepoint: 1.12.0
  - sharerenamer: 3.1.0
  - sharingpath: 0.4.4
  - sip_trip_phone: 1.0.8
  - smb_test: 0.3.5
  - sms_relentless: 1.1.2
  - sociallogin: 5.1.3
  - socialsharing_diaspora: 2.5.0
  - socialsharing_email: 2.5.0
  - socialsharing_facebook: 2.5.0
  - socialsharing_telegram: 2.5.0
  - socialsharing_twitter: 2.5.0
  - solid: 0.7.1
  - spgverein: 0.12.0
  - spreed: 15.0.1
  - tables: 0.2.1
  - talked: 0.4.0
  - timemanager: 0.3.4
  - timetracker: 0.0.77
  - transfer: 0.6.0
  - twofactor_email: 2.7.1
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_webauthn: 1.0.0
  - unsplash: 2.1.1
  - uppush: 1.1.2
  - user_ldap: 1.15.0
  - user_migration: 2.0.1
  - user_retention: 1.8.1
  - user_usage_report: 1.9.0
  - video_converter: 1.0.5
  - webapppassword: 22.10.0
  - webhooks: 0.4.0
  - welcome: 1.0.2
  - whiteboard: 0.0.3
  - workflow_ocr: 1.25.1

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

This is prohibitive without an upload method.

Additional info

The issue plain and simple is user_external NOT ported to 25, no advanced warning.

violoncelloCH commented 1 year ago

hey, thanks, please note that you can always try to force enable an app - this should have helped in this case...

but anyways, I've just released a new version of the app, compatible to NC 25, to the store...

4nanook commented 1 year ago

What I did was to go in an edit the xml file with the version info. That allowed enabling without forcing but Nextcloud still bitched about the file in the check. Thanks for the correct fix.