[Samba] server max protocol appropriate values

Tim lists at kiuni.de
Fri Mar 6 11:14:53 MST 2015


I will check testparm -v, but samba-tool testparm -v gives the result you wrote.

With max = SMB3 and min = SMB2 for both, server and client, samba-tool time doesn't work anymore (see related thread).

Am 6. März 2015 19:01:05 MEZ, schrieb Rowland Penny <rowlandpenny at googlemail.com>:
>On 06/03/15 17:35, Tim wrote:
>> I have to add noise: Provisioning a DC with sernet 4.1.x called NT1
>as max default with me.
>>
>>
>>
>> Am 6. März 2015 18:28:55 MEZ, schrieb James <lingpanda101 at gmail.com>:
>>> OK. Now I'm really confused. I was not aware of two 'testparm'
>>> commands.
>>> Running 'testparm -v' shows correct default values.  So whats the
>>> difference?
>>>
>>>
>>> On 3/6/2015 12:20 PM, Rowland Penny wrote:
>>>> On 06/03/15 17:05, Marc Muehlfeld wrote:
>>>>> Am 06.03.2015 um 14:56 schrieb Rowland Penny:
>>>>>>>   From 'samba-tool testparm -v' :
>>>>>>>
>>>>>>> server max protocol = NT1
>>>>>>>
>>>>>>> BUT 'man smb.conf' says this :
>>>>>>>
>>>>>>> Default: server max protocol = SMB3
>>>>>>>
>>>>>>> OK, one of these is wrong, but which ???
>>>>> If you run 4.1 or later, then SMB3 is the default.
>>>>>
>>>>>
>>>>>
>>>>> Am 06.03.2015 um 16:30 schrieb James:
>>>>>> Using Wireshark I see the protocol used as SMB2.  Using a Windows
>>>>>> workstation I tested by navigating to files and folders on my
>>> member
>>>>>> server or to my sysvol folder on a DC.
>>>>> Win7 doesn't speak SMB3.
>>>>>
>>>>> SMB 2.0 was introduced by Vista/2008
>>>>> SMB 2.1 by Win7/2008R2
>>>>> SMB 2.2 aka 3.0 by Win8/2012
>>>>> SMB 3.02 by 8.1/2012R2
>>>>>
>>>>>
>>>>> Regards,
>>>>> Marc
>>>> OK, so I sorted my problem, it was the old 'testparm -v' and
>>>> 'samba-tool testparm -v' giving different results problem, the man
>>>> page is correct.
>>>>
>>>> Sorry for the noise :-)
>>>>
>>>> Rowland
>>> -- 
>>> -James
>>>
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>
>No, as Marc says 'SMB3' is the default, if you run 'samba-tool testparm
>
>-v' you will find this: 'server max protocol = NT1', but if you run 
>'testparm -v' you will find this: 'server max protocol = SMB3'
>
>I understand that from 4.2, the two commands should return the same
>results.
>
>Rowland
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list