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

[Bug]: MacOS Vfs uses wrong uid when using LDAP Accounts #7480

Closed
5 of 8 tasks
paddif opened this issue Nov 8, 2024 · 1 comment
Closed
5 of 8 tasks

[Bug]: MacOS Vfs uses wrong uid when using LDAP Accounts #7480

paddif opened this issue Nov 8, 2024 · 1 comment

Comments

@paddif
Copy link

paddif commented Nov 8, 2024

⚠️ Before submitting, please verify the following: ⚠️

Bug description

When using vfs on MacOS with a Cloud Configured with LDAP login, it uses the LDAP Login instead of the UID within Nextcloud, wich results in a 404 error

Steps to reproduce

  1. Setup Nextcloud with LDAP
  2. Configure Virtual File Sync
  3. Try open VFS in MacOS

Expected behavior

VFS in MacOS should use the Users UID instead of the LDAP login name e.g.
patrick.frey(LDAP) 2ED8C975-5A77-4157-829C-D86F1068EA84 (NEXTCLOUD)

Which files are affected by this bug

Operating system

macOS

Which version of the operating system you are running.

15.1

Package

Official macOS 12+ universal pkg

Nextcloud Server version

30.0.1

Nextcloud Desktop Client version

3.14.3

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

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Set up enumerator for user: patrick.frey https://cloud.***.de
with serverUrl: https://cloud.***.de/remote.php/dav/files/patrick.frey
Sending extension account ID 2ED8C975-5A77-4157-829C-D86F1068EA84@cloud.***.de
1 depth read of url https://cloud.***.de/remote.php/dav/files/patrick.frey
did not complete successfully, error: 
		Der Server konnte die Anfrage nicht fertig stellen.		Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator.		Weitere Details können im Server-Protokoll gefunden werden.
"Finishing enumeration for user: patrick.frey https://cloud.***.de
with serverUrl: https://cloud.***.de/remote.php/dav/files/patrick.frey 
with error 
		Der Server konnte die Anfrage nicht fertig stellen.		Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator.		Weitere Details können im Server-Protokoll gefunden werden.
Sending extension account ID 2ED8C975-5A77-4157-829C-D86F1068EA84@cloud.***.de
Set up enumerator for user: patrick.frey https://cloud.***.de
with serverUrl: https://cloud.***.de/remote.php/dav/files/patrick.frey
Sending extension account ID 2ED8C975-5A77-4157-829C-D86F1068EA84@cloud.***.de
1 depth read of url https://cloud.***.de/remote.php/dav/files/patrick.frey
did not complete successfully, error: 
		Der Server konnte die Anfrage nicht fertig stellen.		Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator.		Weitere Details können im Server-Protokoll gefunden werden.
"Finishing enumeration for user: patrick.frey https://cloud.***.de
with serverUrl: https://cloud.***.de/remote.php/dav/files/patrick.frey 
with error 
		Der Server konnte die Anfrage nicht fertig stellen.		Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator.		Weitere Details können im Server-Protokoll gefunden werden.
Sending extension account ID 2ED8C975-5A77-4157-829C-D86F1068EA84@cloud.***.de

Additional info

Image

@claucambra
Copy link
Collaborator

Hi, this has now been fixed in the core library for macOS vfs: claucambra/NextcloudFileProviderKit#24

This fix will be included in the next bugfix release of the desktop client

Thank you for opening the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants