EliasKotlyar / Xiaomi-Dafang-Hacks

4.16k stars 1k forks source link

smbclient outdated cannot connect with SMB2 protocol #1877

Open gluca opened 9 months ago

gluca commented 9 months ago

This is an issue tracking system only. If you have general questions or are a newbie, please ask for help in our chat channel.

To make sure your issue can be resolved as quickly as possible please state your

Description

I'm trying to connect to a samba server offering SBM2 and SMB3 protocols only. The smbclient version included with the hack (2.2.7a) doesn't support it. Should be updated to a newser version (current stable version is 4.17) Describe what you were trying to achieve. Tell us what happened and what you expected to happen.

What did you do to debug the issue

Tell us what you did to remedy/debug the issue yourself and what you think causes the issue.

Evidence

Please add snippets from the logfiles in:

Contribute Back

If your issue was resolved, please consider contributing back to the project by creating a pull request to improve the code or documentation in order to avoid that this issue arises again for other people.

numericOverflow commented 1 month ago

Not sure if you've figured this out or not, but try reading issue #1613 as there's a newer smb binary compiled that works on SMB3

Specifically this post: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1613#issuecomment-798992058

Then to install store on your SD Card and replace original binary with symlink to SDCard's newer binary: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1613#issuecomment-956273248