-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: occ user:delete throws error for LDAP users (path needs to be relative..) but deletes successfully #32251
Comments
The error originates in Can you run the command with option |
I cannot reproduce it at the moment as there is no user on nextcloud that's also in the deactivated group (and I don't have access to AD). I'll try to reproduce it as soon as the prerequisites are met. |
@come-nc here is the trace: [BadMethodCallException] Exception trace: user:delete |
when i debug i checked uid is blank in line 233 and thats why is toughing exception |
Ok, so this comes from What is not clear is how can it call rmdir on |
Should be fixed with #32357 |
Related issue #29582 |
Bug description
occ user:delete throws an error although it is used correctly (and it also deletes the user as requested as can be seen from the audit log)
Steps to reproduce
If I just
user:add
anduser:delete
a test user, this does not happen, so 1-3 seem to be relevant.Expected behavior
Deleting a user should work without errors.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No related info in the logs.
Additional info
No response
The text was updated successfully, but these errors were encountered: