Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samba Authentication Error: "Call to undefined function OCA\\UserExternal\\exec()" #259

Open
CGessinger opened this issue Sep 13, 2024 · 0 comments
Labels
0. Needs triage bug Something isn't working

Comments

@CGessinger
Copy link

Steps to reproduce

  1. Install Nextcloud Alpine (I used TTeck script in Proxmox)
  2. Configure Samba Client in config.php
  3. Try to login with any user

Expected behaviour

Authenticate using smbclient

Actual behaviour

Internel Server Error. Error see below.

Affected Authentication backend

SMB

Server configuration

User External App version: 3.4.0

Operating system: Alpine Linux LXC Container on Proxmox

Web server: Nginx

Database: MySql

PHP version: 8.3

Nextcloud version: Nextcloud Hub 8 (29.0.6)

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: https://tteck.github.io/Proxmox/#nextcloud-lxc

Signing status:
not relevant

List of activated apps:
not relevant

Nextcloud configuration:
not relevant

Logs

Web server error log

not relevant

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"e8M6vGD4blmAsp5VNF8j","level":3,"time":"September 13, 2024 17:29:35","remoteAddr":"XXX","user":"--","app":"index","method":"POST","url":"/index.php/login","message":"Call to undefined function OCA\\UserExternal\\exec() in file '/var/lib/nextcloud/apps/user_external/lib/SMB.php' line 44","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0","version":"29.0.6.1","exception":{"Exception":"Exception","Message":"Call to undefined function OCA\\UserExternal\\exec() in file '/var/lib/nextcloud/apps/user_external/lib/SMB.php' line 44","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/share/webapps/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/share/webapps/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to undefined function OCA\\UserExternal\\exec()","Code":0,"Trace":[{"file":"/var/lib/nextcloud/apps/user_external/lib/SMB.php","line":80,"function":"tryAuthentication","class":"OCA\\UserExternal\\SMB","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/User/Manager.php","line":266,"function":"checkPassword","class":"OCA\\UserExternal\\SMB","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php","line":46,"function":"checkPasswordNoLogging","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":57,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php","line":52,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Authentication/Login/Chain.php","line":107,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->"},{"file":"/usr/share/webapps/nextcloud/core/Controller/LoginController.php","line":352,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/share/webapps/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/share/webapps/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/lib/nextcloud/apps/user_external/lib/SMB.php","Line":44},"message":"Call to undefined function OCA\\UserExternal\\exec() in file '/var/lib/nextcloud/apps/user_external/lib/SMB.php' line 44","exception":{},"CustomMessage":"Call to undefined function OCA\\UserExternal\\exec() in file '/var/lib/nextcloud/apps/user_external/lib/SMB.php' line 44"}}

Browser log

not relevant

@CGessinger CGessinger added 0. Needs triage bug Something isn't working labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant