Karel Lang AFD
2015-Jul-13 09:20 UTC
[Samba] cifs.ko kernel module versus smb.conf - which SMB protocol version?
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* lang at afd.cz | +420 731 13 40 40 AUFEER DESIGN, s.r.o. | www.aufeerdesign.cz
Reindl Harald
2015-Jul-13 09:49 UTC
[Samba] cifs.ko kernel module versus smb.conf - which SMB protocol version?
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 at fileserver:~]$ locate cifs.ko /usr/lib/modules/4.0.6-200.fc21.x86_64/kernel/fs/cifs/cifs.ko.xz [root at fileserver:~]$ lsmod | grep cifs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150713/b7fe59da/signature.sig>
Sketch
2015-Jul-13 13:33 UTC
[Samba] cifs.ko kernel module versus smb.conf - which SMB protocol version?
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
2015-Jul-13 14:15 UTC
[Samba] cifs.ko kernel module versus smb.conf - which SMB protocol version?
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* lang at afd.cz | +420 731 13 40 40 AUFEER DESIGN, s.r.o. | www.aufeerdesign.cz
Possibly Parallel Threads
- FEDORA 28 + SAMBA 4.8.5 --must-change-at-next-login don't work
- sssd config doesn't ask for password
- FEDORA 28 + SAMBA 4.8.5 --must-change-at-next-login don't work
- sssd config doesn't ask for password
- FEDORA 28 + SAMBA 4.8.5 --must-change-at-next-login don't work