CIFS、SMB、Samba关系

您所在的位置:网站首页 smb协议作用 CIFS、SMB、Samba关系

CIFS、SMB、Samba关系

2023-08-25 23:01| 来源: 网络整理| 查看: 265

初次接触Samba时,这三个名词很容易让我们感到混乱。本文将介绍CIFS、SMB、Samba概念,帮助理解它们之间的关系。

什么是SMB?

Server Message Block - SMB,即服务(器)消息块,是 IBM 公司在 80 年代中期发明的一种文件共享协议。它只是系统之间通信的一种方式(协议),并不是一款特殊的软件。 SMB 协议被设计成为允许计算机通过本地局域网(LAN)在远程主机上读写文件。远程主机上通过 SMB 协议开放访问的目录称为 共享文件夹。

什么是CIFS?

Common Internet File System - CIFS,即通用因特网文件系统。CIFS 由美国微软公司开发。

什么是Samba?

Samba 是一组不同功能程序组成的应用集合,它能让 Linux 服务器实现文件服务器、身份授权和认证、名称解析和打印服务等功能。

与 CIFS 类似,Samba 也是 SMB 协议的实现,它允许 Windows 客户访问 Linux 系统上的目录、打印机和文件(就像访问 Windows 服务器时一样)。

重要的是,Samba 可以将 Linux 服务器构建成一个域控制器。这样一来,就可以直接使用 Windows 域中的用户凭据,免去手动在 Linux 服务器上重新创建的麻烦。

以下为手册介绍

samba - Server to provide AD and SMB/CIFS services to clients This program is part of the samba(7) suite. samba is the server daemon that provides Active Directory, filesharing and printing services to clients. The server provides filespace and directory services to clients using the SMB (or CIFS) protocol and other related protocols such as DCE/RPC, LDAP and Kerberos. Clients supported include MSCLIENT 3.0 for DOS, Windows for Workgroups, Windows 95/98/ME, Windows NT, Windows 2000/XP/2003, OS/2, DAVE for Macintosh, and cifsfs for Linux. An extensive description of the services that the server can provide is given in the man page for the configuration file controlling the attributes of those services (see smb.conf(5). This man page will not describe the services, but will concentrate on the administrative aspects of running the server. Please note that there are significant security implications to running this server, and the smb.conf(5) manual page should be regarded as mandatory reading before proceeding with installation.总结- SMB/CIFS是协议,目前可认为是等价的,习惯上称为SMB协议; - Samba是Linux/Unix下的一组工具,用于实现AD、SMB/CIFS服务; 参考资料> [1]. https://www.samba.org/cifs/docs/what-is-smb.html > [2]. https://www.samba.org/samba/docs/ > [3]. https://wiki.samba.org/index.php/Main_Page


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3