Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[PROBLEM] SCAN mount using SMB
#20
@Phil323UK

My bad. 

I was thinking of the SMB.conf options of "min protocol=" and "max protocol=' and didn't check what I said. [1]

Turns out setting "vers=1.0" client-side seems to override the automatic negotiation. In the example I cited of moOde mounting a share from my OpenMediaVault server, if I accept moOde's default share parameters, I get a mount at vers=3.1.1 but if I set "vers=1.0" explicitly that's the version used for the mount. Similarly, setting "vers=2.0" forces that protocol version.

Sadly, the Samba documentation is a mixed bag of too much information about some things and too little about others. I tried searching on the phrase "automatic negotiation" and couldn't find a good description of how it proceeds---even though the phrase is used in the description of the min and max protocol settings.

Thanks for keeping me honest! I'll have to go back and edit my post.

Having said all that, I am still perplexed by the reported error message, which seems unrelated to protocol version. I'll have to spin up a test server where I can do some more experiments. Sigh.

Unfortunately, moOde is just the client here. Like my NAS, it's based on the open-source Samba codebase. We don't know what's going on in the various server implementations in Windows and MacOS, or in appliances like the WD MyBook series, various network routers, yada yada yada.

Regards,
Kent

[1] My dad was fond of saying "it's not what you don't know that gets you in trouble, it's what you think you know that ain't so."
Reply


Messages In This Thread
RE: [PROBLEM] SAN mount using SMB - by Tim Curtis - 01-26-2022, 07:17 PM
RE: [PROBLEM] SAN mount using SMB - by Tim Curtis - 01-26-2022, 08:10 PM
RE: [PROBLEM] SAN mount using SMB - by Tim Curtis - 01-27-2022, 02:21 AM
RE: [PROBLEM] SCAN mount using SMB - by Phil323UK - 02-01-2022, 07:13 PM
RE: [PROBLEM] SCAN mount using SMB - by Phil323UK - 02-02-2022, 08:25 PM
RE: [PROBLEM] SCAN mount using SMB - by TheOldPresbyope - 02-02-2022, 09:59 PM

Forum Jump: