zhanghai / zhanghai/MaterialFiles
Cannot connect to SMB server
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
I still hope that I did something wrong, but what?!?
Add SMB server
Hostname: studio.home
Port: 445
Path: Either empty, or my username, or /user, or /Users/user
Name: Not filled by me
Authentication: Password
Username: user
Password: My password
With exactly the same data, I can connect with "SambaLite" App!
But it also requires the share name, in this case, just my username (for other shares something like "MEDIA")
So, it is already unexpected that I cannot enter the name of the share - the server offers several!
Anyways, I only get error messages:
java8.nio.file.AccessDeniedException: /user: com.hierynomus.mssmb2.SMBApiException: STATUS_LOGON_FAILURE (0xc000006d): Authentication failed for 'user' using U3.f@ceba84b
I tried all variants I could think of.
My mistake?
A bug?
Another problem?
Great many thanks!
Contributor guide
No contributing guide indexed for this repository
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
Start at the Add SMB server flow and reproduce the failure using the supplied hostname, port, path, share, and credentials. Trace how the share name and authentication data reach the SMB connection, then verify the result against the reported STATUS_LOGON_FAILURE and support for servers offering multiple shares.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- authentication, mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100