TeamAmaze / TeamAmaze/AmazeFileManager
SAMBA 3 support missing
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
Hello! Congrats for the amaz-ing work done on this project!
Before opening this issue I have searched and I find out #1225 -> #670 -> #1633 but seems that only Samba v2 has been implemented.
I'm updating my personal SAMBA instance and during regression test, I have find out that Amaze is not able to connect at SAMBA v3+, only till v2
To Reproduce
- Use whatever SAMBA config you want
- In [global] set log level at 3 (maybe lower, but higher than 2):
log level = 3andlogging = systemd@3to be able to runsudo journalctl -u smbd -fin terminal and see logs - In [global] go for the higher protocol v2 ( it is SMB2_10 based on documentation ) :
server min protocol = SMB2_10 - Amaze connects to Samba
- upgrade to the first available v3:
server min protocol = SMB3_00 - Amaze will not connect to Samba
- From
sudo journalctl -u smbd -fit appears:
Selected protocol SMB 2.???
source3/smbd/smb2_server.c:4074(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_SUPPORTED] || at source3/smbd/smb2_negprot.c:288
Expected behavior
Amaze gets connected to SAMBA with setup at v2 or v3; other applications on same phone does it (just to be sure it is allowed from the system/age of the system)
Smartphone (please complete the following information):
- Device: Moto G62
- OS: Android 13
- Rooted: No
- Version: 3.11.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the connection using the reported SMB2_10 and SMB3_00 configurations, then trace the Android app's SMB connection and protocol-negotiation entry point using the Samba journal output. Done means Amaze connects to both Samba v2 and v3+ configurations on the reported device and Android version.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100