zhanghai / zhanghai/MaterialFiles

Can't see shared folder with smb

Open
#1,153 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

When I enable the following smb option in smb.conf, Material Files makes me connect, but doesn't show any file, nor allows me to create any.

server smb encrypt = required

Here the screen of what I see when the when enabled:

Screenshot_20240312-182911_Material Files

Here the screen of what I see when the when I remove that line and restart the server:
Screenshot_20240312-182958_Material Files
And of course lets me to read and write files.

I think the issue is with Material Files, because I tried to access from Dolphin (debian) with success, but any other android applications didn't work.

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the connection in Material Files with server smb encrypt = required, then compare it with the same share when encryption is disabled and with the reported working desktop client. Trace the SMB connection and shared-folder listing behavior to identify why an encrypted share appears empty. Done means encrypted shares can be browsed and support the same read/write operations as unencrypted shares.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.