Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] cifs.ko kernel module versus smb.conf - which SMB protocol version?

86 views
Skip to first unread message

Karel Lang AFD

unread,
Jul 13, 2015, 5:50:05 AM7/13/15
to

Hello guys,
could someone help me better understand the mechanism of negotiating of
the SMB protocol?

I watch closely samba list and recently there was a talk about the
'smb.conf' parameters like eg. "max protocol =" etc. with regards to
Windows 10 (and other windows clients of diff versions).

I read Jeff_Layton-Linux-CIFS-Client.pdf and

https://wiki.samba.org/index.php/SMB3_kernel_status

My question is:
1. does those parameters values (like 'max protocol') depend on the
'cifs.ko' version and it's supported SMB version? Meaning it's pointless
to set higher SMB value in smb.conf that the 'cifs.ko' support?

2. does samba server use the 'cifs.ko' to access linux (eg. ext4 of xfs
FS) to serve the windows client requests?

Sorry if those questions might seam stupid to someone, i'm just mere
admin trying to get better understanding of this mechanism.

Thank You

--
*Karel Lang*
*Unix/Linux Administration*
la...@afd.cz | +420 731 13 40 40
AUFEER DESIGN, s.r.o. | www.aufeerdesign.cz


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Reindl Harald

unread,
Jul 13, 2015, 6:00:04 AM7/13/15
to

Am 13.07.2015 um 11:20 schrieb Karel Lang AFD:
> 2. does samba server use the 'cifs.ko' to access linux (eg. ext4 of xfs
> FS) to serve the windows client requests?

no - why should it?
the "mount.cifs" command has little to do with samba itself

https://www.kernel.org/doc/readme/Documentation-filesystems-cifs-README

[root@fileserver:~]$ locate cifs.ko
/usr/lib/modules/4.0.6-200.fc21.x86_64/kernel/fs/cifs/cifs.ko.xz
[root@fileserver:~]$ lsmod | grep cifs

signature.asc

Sketch

unread,
Jul 13, 2015, 10:00:03 AM7/13/15
to
On Mon, 13 Jul 2015, Karel Lang AFD wrote:

> My question is:
> 1. does those parameters values (like 'max protocol') depend on the 'cifs.ko'
> version and it's supported SMB version? Meaning it's pointless to set higher
> SMB value in smb.conf that the 'cifs.ko' support?
>
> 2. does samba server use the 'cifs.ko' to access linux (eg. ext4 of xfs FS)
> to serve the windows client requests?

Samba (smbd) is a CIFS server. cifs.ko is a CIFS client. There is no
relation between the two other than that you can use cifs.ko to connect to
a samba server.

Karel Lang AFD

unread,
Jul 13, 2015, 10:20:04 AM7/13/15
to
thank you for kind explanation :]

On 07/13/2015 03:33 PM, Sketch wrote:
> On Mon, 13 Jul 2015, Karel Lang AFD wrote:
>
>> My question is:
>> 1. does those parameters values (like 'max protocol') depend on the
>> 'cifs.ko' version and it's supported SMB version? Meaning it's
>> pointless to set higher SMB value in smb.conf that the 'cifs.ko' support?
>>
>> 2. does samba server use the 'cifs.ko' to access linux (eg. ext4 of
>> xfs FS) to serve the windows client requests?
>
> Samba (smbd) is a CIFS server. cifs.ko is a CIFS client. There is no
> relation between the two other than that you can use cifs.ko to connect
> to a samba server.
>

--
*Karel Lang*
*Unix/Linux Administration*
la...@afd.cz | +420 731 13 40 40
AUFEER DESIGN, s.r.o. | www.aufeerdesign.cz


0 new messages