[Bug]: external Storage SMB/CIFS
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
After adding global Login credentials und add/select a new SMB/CIFS Connection then the connection cannot be established. However, if you enter the same login data as the user name/password, access will work.
Furthermore, the folders are displayed to the user, but when you want to open them, you do not get to the corresponding folder, but back to the folder overview.
Steps to reproduce
1.set global credentials 2. create a new SMB/CIFS Connection 3. try it
Expected behavior
a connection
Installation method
Community VM appliance
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- [X] Default user-backend (database)
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Can you provide the relevant Nextcloud Server log entries from the time period when you see this behavior?
Also:
- What NC version specifically?
I'm experiencing the same issue with NC 28.0.2. I have configured several external storages using SMB. It works when I use the "Username and password" login method, but it doesn't when I set the global credentials. It seems like the credentials are not being written to the database. I have checked the database table "oc_storages_credentials", and it remains empty.
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.