[Samba] Can't get Win7 to mount

Peter Milesson miles at atmos.eu
Sat Mar 1 10:33:24 UTC 2025



On 01.03.2025 11:22, Mike Brown via samba wrote:
> On Sat, Mar 01, 2025 at 09:36:24AM +0000, Rowland Penny via samba wrote:
>> On Fri, 28 Feb 2025 16:39:56 -0600
>> Mike Brown via samba<samba at lists.samba.org> wrote:
>>
>>> Fedora 41
>>> Samba 4.21.4
>>>
>>> The smbd under Fedora 27 (yes it is old) has no problem letting Win7
>>> mount stuff.
>>>
>>> Any ideas on getting Win7 to mount from the newer Fedora?
>>>
>> This is all down to the SMB protocols being used. Samba, since 4.11.0,
>> uses a minimum of SMBv2, your Win7 machine uses SMBv1.
>>
>> You probably just need to add 'vers=1.0' to your mount command on
>> fedora, see 'man mount.cifs' for more information.
> I found the following in the man page for smb.conf:
>
> The value of the parameter (a string) is the highest protocol level
>             that will be supported by the client.
>
>             Possible values are :
>
>                    •   CORE: Earliest version. No concept of user names.
>
>                    •   COREPLUS: Slight improvements on CORE for efficiency.
>
>                    •   LANMAN1: First modern version of the protocol. Long
>                        filename support.
>
>                    •   LANMAN2: Updates to Lanman1 protocol.
>
>                    •   NT1: Current up to date version of the protocol. Used by
>                        Windows NT. Known as CIFS.
>
>                    •   SMB2: Re-implementation of the SMB protocol. Used by
>                        Windows Vista and later versions of Windows. SMB2 has sub
>                        protocols available.
>
>                               •   SMB2_02: The earliest SMB2 version.
>
>                               •   SMB2_10: Windows 7 SMB2 version.
>
>                        By default SMB2 selects the SMB2_10 variant.
>
>                    •   SMB3: The same as SMB2. Used by Windows 8. SMB3 has sub
>                        protocols available.
>
>                               •   SMB3_00: Windows 8 SMB3 version.
>
>                               •   SMB3_02: Windows 8.1 SMB3 version.
>
>                               •   SMB3_11: Windows 10 SMB3 version.
>
>                        By default SMB3 selects the SMB3_11 variant.
>
>             Normally this option should not be set as the automatic negotiation
>             phase in the SMB protocol takes care of choosing the appropriate
>             protocol.
>
> Notice the last paragraph.  Supposidly negotiation is supposed to take place,
> meaning that I shouldn't have to do anything.  I added the line in my
> usenet-new section with SMB2, but there was no difference.  Something else
> is wrong?
>
> MB
Hi Mike,

In Windows 7, open a command window, and enter the following:

|sc.exe query mrxsmb20

|STATE should show 4 RUNNING

If it's not running, you need to find out why. SMB 2.10 is the default 
for Windows 7. Windows 7 cannot use any higher protocols.

HTH,

Peter





|
|


More information about the samba mailing list