CIFS

From AdminWiki

Jump to: navigation, search

Contents

CIFS vs. SMB

What is SMB

SMB is the Server Message Block protocol, which is understood by various devices and operating systems, including most print servers, Windows, Linux, OS/2 and countless others.

What is CIFS

CIFS is the Common Internet File System, the successor of SMB. Windows 2000 and newer use CIFS in favor of SMB, Samba3 and the Linux kernel support it for a while.

FIXME port usage + netbios

Samba

Samba 3 supports multiple Authorization backends, one of them is LDAP.


Tuning

unconfirmed options:

 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 read prediction = yes

You can "force" Samba to use DNS for its name resolving, which can be quite nice if your DNS is right and you dont want the NetBIOS Lookup traffic:

name resolve order = lmhosts host wins
dns proxy = yes
wins support = yes
Personal tools