nextcloud / nextcloud/server

Use `$user` as Share Name with SMB External Storage

Open
#16,314 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: external storage
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Is your feature request related to a problem? Please describe.

Our HomeDirectory is accessed via \myFileServer\myLogin ! The share name is directly your login. External Storage does not handle $user in ShareName but only in SubFolder configuration input.

Describe the solution you'd like

Since $user can be used in SubFolder configuration input, please make it possible to use it in ShareName.

Thanks ;)
GS.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the SMB External Storage implementation and trace how ShareName and SubFolder configuration values are processed. Compare the existing $user handling for SubFolder with ShareName, then find or add relevant tests; done means a user-specific ShareName is expanded correctly for SMB connections.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.